{{item.title}}
25 |{{item.abstract}}
26 | {% endfor %} 27 |├── doc ├── .nojekyll ├── _build │ ├── .nojekyll │ ├── CNAME │ ├── img │ │ ├── urubu.jpg │ │ └── urubu_cover.png │ ├── tipuesearch │ │ └── img │ │ │ └── search.png │ └── css │ │ └── site.css ├── CNAME ├── faq │ ├── index.md │ ├── formulas.md │ ├── link2section.md │ ├── media-files.md │ ├── baseurl-preview.md │ ├── licensing-requirements.md │ ├── sitemap.md │ └── tags.md ├── img │ ├── urubu.jpg │ └── urubu_cover.png ├── _python │ ├── __init__.py │ ├── filters.py │ └── hooks.py ├── news │ ├── index.md │ ├── 2024-12-30.md │ ├── 2014-02-15.md │ ├── 2014-03-18.md │ ├── 2014-01-22.md │ ├── 2016-02-12.md │ ├── 2018-08-15.md │ ├── 2014-02-27.md │ ├── 2015-12-15.md │ ├── 2014-09-08.md │ ├── 2014-01-12.md │ ├── 2015-01-28.md │ ├── 2016-01-10.md │ ├── 2014-05-25.md │ ├── 2016-11-14.md │ ├── 2015-03-07.md │ ├── 2016-01-01.md │ └── 2015-11-22.md ├── tipuesearch │ └── img │ │ ├── .DS_Store │ │ └── search.png ├── search.md ├── _layouts │ ├── simple_page.html │ ├── footer.html │ ├── analytics.html │ ├── util.html │ ├── search.html │ ├── newsfeed.html │ ├── index.html │ ├── home.html │ ├── sharing.html │ └── page.html ├── more │ ├── index.md │ ├── about.md │ └── sites.md ├── Makefile ├── manual │ ├── index.md │ ├── install.md │ ├── building.md │ ├── alt_layouts.md │ ├── pagination.md │ ├── extensions.md │ └── authoring.md ├── css │ └── site.css └── index.md ├── urubu ├── tests │ ├── no_yamlfm │ │ ├── page.md │ │ ├── index.md │ │ ├── _layouts │ │ │ └── page.html │ │ ├── _build │ │ │ └── index.html │ │ └── _site.yml │ ├── undef_layout │ │ ├── page.md │ │ ├── index.md │ │ ├── _layouts │ │ │ └── page.html │ │ └── _build │ │ │ ├── index.html │ │ │ └── page.html │ ├── ambig_ref │ │ ├── page.md │ │ ├── github.md │ │ ├── index.md │ │ ├── _layouts │ │ │ └── page.html │ │ ├── _build │ │ │ ├── index.html │ │ │ ├── github.html │ │ │ └── page.html │ │ └── _site.yml │ ├── ambig_refid │ │ ├── page.md │ │ ├── index.md │ │ ├── page │ │ │ └── index.md │ │ ├── _layouts │ │ │ └── page.html │ │ ├── _build │ │ │ ├── index.html │ │ │ └── page.html │ │ └── _site.yml │ ├── ignore_patterns │ │ ├── page.md │ │ ├── README.md │ │ ├── index.md │ │ ├── _layouts │ │ │ └── page.html │ │ └── _build │ │ │ ├── page.html │ │ │ └── index.html │ ├── no_index │ │ ├── page.md │ │ ├── folder │ │ │ └── page.md │ │ ├── index.md │ │ ├── _layouts │ │ │ └── page.html │ │ ├── _build │ │ │ ├── index.html │ │ │ └── page.html │ │ └── _site.yml │ ├── undef_content │ │ ├── index.md │ │ ├── page.md │ │ ├── _layouts │ │ │ └── page.html │ │ ├── _build │ │ │ ├── index.html │ │ │ └── page.html │ │ └── _site.yml │ ├── undef_key │ │ ├── page.md │ │ ├── folder │ │ │ ├── item.md │ │ │ └── index.md │ │ ├── _build │ │ │ ├── folder │ │ │ │ ├── item.d │ │ │ │ └── index.html │ │ │ ├── index.html │ │ │ └── page.html │ │ ├── index.md │ │ ├── _layouts │ │ │ └── page.html │ │ └── _site.yml │ ├── undef_ref │ │ ├── page.md │ │ ├── index.md │ │ ├── _layouts │ │ │ └── page.html │ │ ├── _build │ │ │ ├── index.html │ │ │ └── page.html │ │ └── _site.yml │ ├── undef_ref_md │ │ ├── page.md │ │ ├── index.md │ │ ├── page2.md │ │ ├── _layouts │ │ │ └── page.html │ │ └── _build │ │ │ ├── index.html │ │ │ ├── page.html │ │ │ └── page2.html │ ├── ambig_ref_md │ │ ├── github.md │ │ ├── index.md │ │ ├── page.md │ │ ├── _layouts │ │ │ └── page.html │ │ └── _site.yml │ ├── undef_reflink_url │ │ ├── page.md │ │ ├── index.md │ │ ├── _layouts │ │ │ └── page.html │ │ ├── _build │ │ │ ├── index.html │ │ │ └── page.html │ │ └── _site.yml │ ├── undef_reflink_title │ │ ├── page.md │ │ ├── index.md │ │ ├── _layouts │ │ │ └── page.html │ │ ├── _build │ │ │ ├── index.html │ │ │ └── page.html │ │ └── _site.yml │ ├── undef_anchor │ │ ├── index.md │ │ ├── page.md │ │ ├── page2.md │ │ ├── _layouts │ │ │ └── page.html │ │ ├── _build │ │ │ ├── index.html │ │ │ ├── page.html │ │ │ └── page2.html │ │ └── _site.yml │ ├── undef_tag_layout │ │ ├── page.md │ │ ├── index.md │ │ ├── _layouts │ │ │ └── page.html │ │ └── _build │ │ │ ├── index.html │ │ │ └── page.html │ ├── date_format │ │ ├── index.md │ │ ├── page.md │ │ ├── _layouts │ │ │ └── page.html │ │ ├── _build │ │ │ ├── index.html │ │ │ └── page.html │ │ └── _site.yml │ ├── test_doc.py │ ├── __init__.py │ ├── test_warnings.py │ └── test_errors.py ├── __main__.py ├── config.py ├── _compat.py ├── readers.py ├── httphandler.py ├── __init__.py └── main.py ├── MANIFEST.in ├── README.md ├── tox.ini ├── .gitignore └── setup.py /doc/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /doc/_build/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /doc/CNAME: -------------------------------------------------------------------------------- 1 | urubu.jandecaluwe.com 2 | -------------------------------------------------------------------------------- /urubu/tests/no_yamlfm/page.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /doc/_build/CNAME: -------------------------------------------------------------------------------- 1 | urubu.jandecaluwe.com 2 | -------------------------------------------------------------------------------- /doc/faq/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: FAQ 3 | order: date 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /urubu/tests/undef_layout/page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page 3 | --- 4 | 5 | -------------------------------------------------------------------------------- /doc/img/urubu.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jandecaluwe/urubu/HEAD/doc/img/urubu.jpg -------------------------------------------------------------------------------- /urubu/tests/ambig_ref/page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page 3 | layout: page 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /urubu/tests/ambig_refid/page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page 3 | layout: page 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /urubu/tests/ignore_patterns/page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page 3 | layout: page 4 | --- 5 | -------------------------------------------------------------------------------- /urubu/tests/no_index/page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page 3 | layout: page 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /urubu/tests/undef_content/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: test 3 | layout: page 4 | --- 5 | -------------------------------------------------------------------------------- /urubu/tests/undef_key/page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page 3 | layout: page 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /urubu/tests/undef_ref/page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page 3 | layout: page 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /urubu/tests/undef_ref_md/page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page 3 | layout: page 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /doc/_python/__init__.py: -------------------------------------------------------------------------------- 1 | from .filters import filters 2 | from .hooks import process_info 3 | -------------------------------------------------------------------------------- /urubu/tests/ambig_ref/github.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: github 3 | layout: page 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /urubu/tests/ambig_ref_md/github.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: github 3 | layout: page 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /urubu/tests/ignore_patterns/README.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: README 3 | layout: page 4 | --- 5 | -------------------------------------------------------------------------------- /urubu/tests/no_index/folder/page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page 3 | layout: page 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /urubu/tests/undef_content/page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page 3 | layout: page 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /urubu/tests/undef_key/folder/item.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page 3 | layout: page 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /urubu/tests/undef_reflink_url/page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page 3 | layout: page 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /urubu/tests/no_yamlfm/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: test 3 | layout: page 4 | content: [] 5 | --- 6 | -------------------------------------------------------------------------------- /urubu/tests/undef_key/_build/folder/item.d: -------------------------------------------------------------------------------- 1 | --- 2 | title: page 3 | layout: page 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /urubu/tests/undef_reflink_title/page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page 3 | layout: page 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /doc/_build/img/urubu.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jandecaluwe/urubu/HEAD/doc/_build/img/urubu.jpg -------------------------------------------------------------------------------- /doc/img/urubu_cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jandecaluwe/urubu/HEAD/doc/img/urubu_cover.png -------------------------------------------------------------------------------- /urubu/tests/ambig_refid/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: test 3 | layout: page 4 | content: [] 5 | --- 6 | -------------------------------------------------------------------------------- /urubu/tests/ignore_patterns/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: test 3 | layout: page 4 | content: [] 5 | --- 6 | -------------------------------------------------------------------------------- /urubu/tests/undef_anchor/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: test 3 | layout: page 4 | content: [] 5 | --- 6 | -------------------------------------------------------------------------------- /urubu/tests/undef_key/folder/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: test 3 | layout: page 4 | order: nr 5 | --- 6 | -------------------------------------------------------------------------------- /urubu/tests/undef_ref_md/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: test 3 | layout: page 4 | content: [] 5 | --- 6 | -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include *.txt 2 | include *.md 3 | graft doc 4 | prune doc/_build 5 | global-exclude *.pyc 6 | -------------------------------------------------------------------------------- /urubu/tests/ambig_refid/page/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: pagedir 3 | layout: page 4 | content: [] 5 | --- 6 | -------------------------------------------------------------------------------- /urubu/tests/no_index/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: test 3 | layout: page 4 | content: 5 | - page 6 | --- 7 | -------------------------------------------------------------------------------- /urubu/tests/undef_tag_layout/page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page 3 | layout: page 4 | tags: tag 5 | --- 6 | 7 | -------------------------------------------------------------------------------- /doc/_build/img/urubu_cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jandecaluwe/urubu/HEAD/doc/_build/img/urubu_cover.png -------------------------------------------------------------------------------- /doc/news/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Newsfeed 3 | layout: newsfeed 4 | order: date 5 | reverse: true 6 | --- 7 | -------------------------------------------------------------------------------- /doc/tipuesearch/img/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jandecaluwe/urubu/HEAD/doc/tipuesearch/img/.DS_Store -------------------------------------------------------------------------------- /doc/tipuesearch/img/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jandecaluwe/urubu/HEAD/doc/tipuesearch/img/search.png -------------------------------------------------------------------------------- /urubu/tests/ambig_ref_md/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: test 3 | layout: page 4 | content: 5 | - page 6 | --- 7 | -------------------------------------------------------------------------------- /urubu/tests/date_format/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: test 3 | layout: page 4 | content: 5 | - page 6 | --- 7 | -------------------------------------------------------------------------------- /urubu/tests/date_format/page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page 3 | layout: page 4 | date: Sept 12, 1999 5 | --- 6 | 7 | -------------------------------------------------------------------------------- /urubu/tests/undef_key/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: test 3 | layout: page 4 | content: 5 | - folder 6 | --- 7 | -------------------------------------------------------------------------------- /urubu/tests/undef_layout/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: test 3 | layout: page 4 | content: 5 | - page 6 | --- 7 | -------------------------------------------------------------------------------- /urubu/tests/undef_reflink_url/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: test 3 | layout: page 4 | content: 5 | - page 6 | --- 7 | -------------------------------------------------------------------------------- /urubu/tests/undef_tag_layout/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: test 3 | layout: page 4 | content: 5 | - page 6 | --- 7 | -------------------------------------------------------------------------------- /doc/search.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Search results 3 | layout: search 4 | --- 5 | 6 |
7 | -------------------------------------------------------------------------------- /urubu/tests/undef_reflink_title/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: test 3 | layout: page 4 | content: 5 | - page 6 | --- 7 | -------------------------------------------------------------------------------- /doc/_build/tipuesearch/img/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jandecaluwe/urubu/HEAD/doc/_build/tipuesearch/img/search.png -------------------------------------------------------------------------------- /doc/_layouts/simple_page.html: -------------------------------------------------------------------------------- 1 | {% extends "page.html" %} 2 | 3 | {% block sidebar %} 4 | {% endblock %} 5 | 6 | 7 | -------------------------------------------------------------------------------- /urubu/tests/ambig_ref/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: test 3 | layout: page 4 | content: 5 | - github 6 | - page 7 | --- 8 | -------------------------------------------------------------------------------- /urubu/tests/ambig_ref_md/page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page 3 | layout: page 4 | --- 5 | 6 | Ambiguous reference: [github]. 7 | 8 | -------------------------------------------------------------------------------- /doc/news/2024-12-30.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Urubu 1.4.0 released" 3 | layout: page 4 | date: 2024-12-30 5 | --- 6 | 7 | Python3 only. 8 | -------------------------------------------------------------------------------- /urubu/tests/undef_anchor/page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page 3 | layout: page 4 | --- 5 | 6 | Define an anchor. 7 | {: #an-anchor} 8 | 9 | -------------------------------------------------------------------------------- /urubu/tests/undef_ref/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: test 3 | layout: page 4 | content: 5 | - undefined_page 6 | - page 7 | --- 8 | -------------------------------------------------------------------------------- /doc/news/2014-02-15.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Urubu 0.2.1 released 3 | layout: page 4 | date: 2014-02-15 5 | --- 6 | This is a bug fix release. 7 | -------------------------------------------------------------------------------- /urubu/tests/undef_ref_md/page2.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page 3 | layout: page 4 | --- 5 | 6 | 7 | Reference an undefined page: [undefined_page]. 8 | -------------------------------------------------------------------------------- /doc/news/2014-03-18.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Urubu 0.3.1 released 3 | layout: page 4 | date: 2014-03-18 5 | --- 6 | 7 | This is a bug-fix release. 8 | 9 | -------------------------------------------------------------------------------- /doc/_python/filters.py: -------------------------------------------------------------------------------- 1 | def dateformat(value, format="%d-%b-%Y"): 2 | return value.strftime(format) 3 | 4 | filters = {} 5 | filters['dateformat'] = dateformat 6 | -------------------------------------------------------------------------------- /doc/news/2014-01-22.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Urubu 0.2 released 3 | layout: page 4 | date: 2014-01-22 5 | --- 6 | This release adds support for github-style task lists. 7 | -------------------------------------------------------------------------------- /doc/more/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: More 3 | layout: index 4 | dropdown: true 5 | content: 6 | - ref: urubu-repo 7 | title: GitHub repository 8 | - sites 9 | - about 10 | --- 11 | 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Urubu 1.4.0 2 | =========== 3 | 4 | Urubu is a micro CMS for static websites, with a focus on good navigation 5 | practices. 6 | 7 | All info can be found on the website: https://urubu.jandecaluwe.com 8 | -------------------------------------------------------------------------------- /doc/news/2016-02-12.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Urubu 1.2.0 released" 3 | layout: page 4 | date: 2016-02-12 5 | --- 6 | 7 | The highlight of this release is support for [/manual/templating-in-pages]. 8 | 9 | 10 | -------------------------------------------------------------------------------- /doc/news/2018-08-15.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Urubu 1.3.1 released" 3 | layout: page 4 | date: 2018-08-15 5 | --- 6 | 7 | Maintenance release: bug fixes and small enhancements to existing features. 8 | See the git log and the manual. 9 | -------------------------------------------------------------------------------- /urubu/tests/undef_anchor/page2.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page 3 | layout: page 4 | --- 5 | 6 | Reference to an anchor in a [page]: [page#an anchor]. 7 | 8 | 9 | Reference an undefined anchor: [page#an undefined anchor]. 10 | -------------------------------------------------------------------------------- /doc/_python/hooks.py: -------------------------------------------------------------------------------- 1 | def process_info(info, site): 2 | if 'layout' not in info: 3 | if info['components'][-1] == 'index': 4 | info['layout'] = 'index' 5 | else: 6 | info['layout'] = 'page' 7 | -------------------------------------------------------------------------------- /doc/faq/formulas.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Is there a way to render formulas? 3 | date: 2015-08-08 4 | --- 5 | 6 | Yes: you can easily use MathJax with Urubu. Read more about it 7 | [here](http://www.jandecaluwe.com/blog/urubu-formulas.html). 8 | 9 | -------------------------------------------------------------------------------- /doc/news/2014-02-27.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Urubu 0.3 released 3 | layout: page 4 | date: 2014-02-27 5 | --- 6 | 7 | This release adds markdown support for front-matter attributes. 8 | [Read more »](/manual/structure.html#markdown-in-attributes) 9 | -------------------------------------------------------------------------------- /doc/Makefile: -------------------------------------------------------------------------------- 1 | GH-PAGES = ${HOME}/dev/urubu-gh-pages/ 2 | 3 | all: build 4 | 5 | build: 6 | python3 -m urubu build 7 | 8 | serve: 9 | python3 -m urubu serve 10 | 11 | publish: 12 | cd ..; git subtree push --prefix doc/_build origin gh-pages 13 | -------------------------------------------------------------------------------- /doc/faq/link2section.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Can I specify a link to a section in a page? 3 | layout: page 4 | date: 2015-08-07 5 | --- 6 | 7 | Yes, Urubu support links to page sections. 8 | Read [this blog post](http://www.jandecaluwe.com/blog/urubu-0-6.html) 9 | to learn how. 10 | -------------------------------------------------------------------------------- /doc/news/2015-12-15.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Urubu 0.9.0 released" 3 | layout: page 4 | date: 2015-12-15 5 | --- 6 | 7 | This release adds support for Tipue Search, an open source search solution 8 | based on Javascript in the browser. 9 | 10 | Read more in the chapter [/manual/search] in the manual. 11 | -------------------------------------------------------------------------------- /doc/news/2014-09-08.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Urubu 0.5 released 3 | layout: page 4 | date: 2014-09-08 5 | --- 6 | 7 | Urubu 0.5 introduces tag support. 8 | 9 | Read [my blog post][post] for an introduction. 10 | 11 | [post]: http://www.jandecaluwe.com/blog/tag_support_urubu.html 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /doc/news/2014-01-12.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Urubu 0.1 released 3 | layout: page 4 | date: 2014-01-12 5 | --- 6 | 7 | Introducing Urubu, a Python-based micro CMS for static websites. 8 | Read about [the rationale behind it][rationale]. 9 | 10 | [rationale]: http://www.jandecaluwe.com/blog/i-dont-like-blogs.html 11 | -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- 1 | [tox] 2 | envlist = py310 3 | [testenv] 4 | changedir=urubu/tests 5 | deps= 6 | markdown < 3.0 7 | pytest 8 | sh 9 | beautifulsoup4 10 | pygments 11 | commands= 12 | py.test --basetemp={envtmpdir} {posargs} --ignore=test_doc.py 13 | py.test --basetemp={envtmpdir} {posargs} test_doc.py 14 | -------------------------------------------------------------------------------- /doc/news/2015-01-28.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Urubu 0.6 released 3 | layout: page 4 | date: 2015-01-28 5 | --- 6 | 7 | Urubu 0.6 improves on wiki links: now you can link to a location within a page. 8 | 9 | Read [my blog post][post] for more info. 10 | 11 | [post]: http://www.jandecaluwe.com/blog/urubu-0-6.html 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /doc/manual/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Manual 3 | layout: index 4 | content: 5 | - intro 6 | - install 7 | - structure 8 | - authoring 9 | - building 10 | - templates 11 | - templating-in-pages 12 | - hooks 13 | - extensions 14 | - search 15 | - pagination 16 | - alt_layouts 17 | --- 18 | 19 | -------------------------------------------------------------------------------- /doc/news/2016-01-10.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Urubu 1.1.0 released" 3 | layout: page 4 | date: 2016-01-10 5 | --- 6 | 7 | This release adds experimental support for the ` tag. 8 | 9 | Read more in the manual: [/manual/extensions#Support for the mark tag] 10 | and in [this blog post][post]. 11 | 12 | [post]: http://www.jandecaluwe.com/blog/mark-tag-support.html 13 | 14 | -------------------------------------------------------------------------------- /doc/news/2014-05-25.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Urubu 0.4 and Urubu Quickstart released 3 | layout: page 4 | date: 2014-05-25 5 | --- 6 | 7 | Release features: 8 | 9 | - Run `urubu serve` from the top-level project directory. 10 | - [Programmable file extensions][/manual/structure] for site pages 11 | - Introducing [urubu-quickstart]: a quick way to set up a new Urubu project. 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /doc/_layouts/footer.html: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /doc/faq/media-files.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: How to add media files? 3 | layout: page 4 | date: 2014-09-11 5 | --- 6 | 7 | The source structure of a project is preserved in the built website, and all 8 | non-markdown content files are copied verbatim. See [/manual/structure]. 9 | 10 | Therefore, you can put media files at any convenient place in the source, and 11 | refer to them using Markdown image syntax, with a relative or root-relative 12 | path to the source file. 13 | -------------------------------------------------------------------------------- /doc/_layouts/analytics.html: -------------------------------------------------------------------------------- 1 | 11 | 12 | -------------------------------------------------------------------------------- /urubu/tests/test_doc.py: -------------------------------------------------------------------------------- 1 | import os, sys 2 | 3 | from sh import git, touch 4 | from urubu import project, UrubuError 5 | 6 | from urubu.tests import cd 7 | 8 | def test_doc(): 9 | with cd('../../doc'): 10 | sys.path.insert(0, os.getcwd()) 11 | project.build() 12 | touch('_build/.nojekyll') 13 | d = git('--no-pager', 'diff', '-w', '--', '_build') 14 | if d: 15 | print(d) 16 | raise ValueError('Diffs in website') 17 | _python = None 18 | 19 | test_doc() 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /doc/news/2016-11-14.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Urubu 1.3.0 released" 3 | layout: page 4 | date: 2016-11-14 5 | --- 6 | 7 | Highlights: 8 | 9 | * Add posibility to override output filename. (#51). See the `saveas` attribute 10 | in the [manual][/manual/structure#Content Files]. 11 | An example usage, see [/faq/sitemap]. 12 | 13 | * The `urubu serve` command is more secure. This is transparent to the user 14 | (#49). 15 | 16 | * Added option for jinja2 to fail on undefined vars (#47). 17 | See the `strict_undefined` attribute in the [manual][/manual/structure#_siteyml]. 18 | 19 | -------------------------------------------------------------------------------- /doc/news/2015-03-07.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Urubu 0.7: Python 3 support, baseurl option" 3 | layout: page 4 | date: 2015-03-07 5 | --- 6 | 7 | Urubu 0.7 adds features that make it more flexible to use. 8 | 9 | First, the release adds Python 3 support, from a single codebase. 10 | You can use Python 2.7 or Python 3.4. 11 | 12 | Second, there is now a `baseurl` option to add a prefix to generated local 13 | URLs. [More info »][/manual/structure#_siteyml]. 14 | 15 | On the other hand, the checklist extension has been removed as it caused issues 16 | with reference id resolution. 17 | 18 | 19 | -------------------------------------------------------------------------------- /doc/_layouts/util.html: -------------------------------------------------------------------------------- 1 | {# task list icons #} 2 | {% set open = '' %} 3 | {% set done = '' %} 4 | 5 | {# general font awesome icon interface #} 6 | {% macro fa(name, class='') %} 7 | 8 | {% endmacro %} 9 | 10 | {# figure support #} 11 | {% macro figure(fn, caption='') %} 12 |{{this.abstract}}
12 |{{item.abstract}}
26 | {% endfor %} 27 |{{news.date|dateformat}}: {{news.title}}
23 | {{this.body}} 24 |Define an anchor.
58 |Reference an undefined page: [undefined_page].
58 |