Skip to content

termilion/dev.dbpedia.org

 
 

Repository files navigation

dev.dbpedia.org

Developer Documentation at http://dev.dbpedia.org

Requirements

jekyll curl crontab

Installation

git clone https://github.com/dbpedia/dev.dbpedia.org.git
cd dev.dbpedia.org && ./generate-markdown.sh

# -H 0.0.0.0 for external access 
jekyll serve -H 0.0.0.0 -P 4444

It is also possible to serve only the generated _site/ folder as html.

Content

For own content edit or add files in the content folder or expand the readme-list.tsv with external markdown files.

To generate a new page, the readme-list.csv contains the headlines and the links to the external markdown files separated by a tabulator.

Sidebar

Configured in _includes/sidebar.html. Sorted alphabetically with the following code

...
{% assign pages_list = site.pages | sort:"title" %}
...

Automatic Update

To update external markdown every hour, add following entry to your crontab.

crontab -l > tmpcron
# skip first line if crontab is empty
echo "* 0 * * * path/to/generate-markdown.sh" >> tmpcron
crontab tmpcron && rm tmpcron

About

Developer Documentation at http://dev.dbpedia.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 79.4%
  • HTML 16.3%
  • Shell 2.5%
  • Dockerfile 1.8%