aboutsummaryrefslogtreecommitdiffstats
path: root/tests/blogc/check_source_parser.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: upgrade deprecated cmocka test runnerRafael G. Martins2020-11-051-31/+31
|
* blogc: generate table of contents treeRafael G. Martins2020-09-111-28/+210
| | | | | | | | | | | | | this commit allows users to use the `{{ TOCTREE }}` variable in their templates, to get automatically generated table of contents for entries. The variable is binded to each entry, so it can be used in any block that runs in entry context, like `{% block entry %}`. There's a small performance penalty for this, because the table of contents is rendered for any entry, despite being used or not, and not generated on-demand. still missing documentation. tests are good enough.
* *: update copyrightRafael G. Martins2019-01-151-1/+1
|
* *: update copyrightRafael G. Martins2018-10-141-1/+1
|
* allow source config keys without valueRafael G. Martins2017-06-281-7/+4
|
* *: updated copyrightRafael G. Martins2017-02-251-1/+1
|
* content-parser: source-parser: rename TITLE to FIRST_HEADERRafael G. Martins2017-02-151-9/+9
|
* content-parser: source-parser: extract TITLE from content headerRafael G. Martins2017-02-141-5/+45
| | | | | | | | | | | this patch implements support to using the first header found in source file as the TITLE variable. please note that if the TITLE variable is defined on the source file's variable section it takes precedence. this patch changes the old behaviour and can break some users' websites. if you have some '{% ifdef TITLE %}' blocks in your template, they will evaluate to true if you don't defined TITLE manually, but have a header in your content.
* *: centralize error handlingRafael G. Martins2016-09-091-1/+0
|
* *: moved error handling to src/common/Rafael G. Martins2016-09-031-45/+46
|
* *: s/sb_/bc_/gRafael G. Martins2016-09-031-83/+83
|
* *: big code reorganization.Rafael G. Martins2016-09-031-0/+542
- source and tests are now splitted by target - utils lib is now called common still pending move error.c from blogc to common