Commit Graph
49 Commits
Author SHA1 Message Date
Grzegorz Adam Hankiewicz 69949c07b7 Escapes properly code blocks without highlite support. 2014-07-28 23:22:39 +02:00
Grzegorz Adam Hankiewicz 489d7e526d Computes TIndexEntry hash without temporary strings. 2014-05-24 11:52:56 +02:00
Grzegorz Adam Hankiewicz 7f090983e9 Adds colon to symbols in the index.
The colon makes it easier to get a unique match searching for symbols
using words which may also appear as substrings or elsewhere.
2014-04-21 23:37:12 +02:00
Grzegorz Adam Hankiewicz 51949fd373 Inserts the title index term at the beginning of the buffer. 2014-04-21 23:27:26 +02:00
Grzegorz Adam Hankiewicz bd29e007be Removes text TOCs from the symbol index. 2014-04-21 21:07:26 +02:00
Grzegorz Adam Hankiewicz 8b1430811a Assigns default title to module documentation. 2014-04-21 21:07:26 +02:00
Grzegorz Adam Hankiewicz d31638a103 Reduces length of lines to remove compilation warnings. 2014-04-21 21:07:26 +02:00
Grzegorz Adam Hankiewicz ed713a8f5e Fixes title and subtitle not setting the current section. 2014-04-21 21:07:25 +02:00
Grzegorz Adam Hankiewicz 831e12d8f8 Fixes repeated index terms leading to same HTML anchor.
Instead of a hash for the rst node tree (which will always be the same)
a simple counter table is used.
2014-04-21 21:07:25 +02:00
Grzegorz Adam Hankiewicz 7808ad97a5 Indexes tocs of documents even if they don't show any. 2014-04-21 21:05:39 +02:00
Grzegorz Adam Hankiewicz fdf4bf2cfd Generates quick jump list to modules. 2014-04-21 21:05:39 +02:00
Grzegorz Adam Hankiewicz 130a46df7d Generates quick jump list to documentation files. 2014-04-21 21:05:39 +02:00
Grzegorz Adam Hankiewicz 69fb40bd84 Refactors adhoc table of sequences into TIndexedDocs type. 2014-04-21 21:05:38 +02:00
Grzegorz Adam Hankiewicz b1f26ae542 Picks the correct symbol text for theindex embedded tocs. 2014-04-21 21:05:38 +02:00
Grzegorz Adam Hankiewicz 5962119feb Moves TOC index entry generation to rstgen module.
We want it there so that index entries appear in the same order as they
are found in the input text.
2014-04-21 21:05:38 +02:00
Grzegorz Adam Hankiewicz 400dd20858 Splits index into documents and APIs. 2014-04-21 21:05:38 +02:00
Grzegorz Adam Hankiewicz 1d0175ed27 Adds explicit titles to documentation index. 2014-04-21 21:05:37 +02:00
Araq 3b69a8d27a New concurrency model: next steps 2014-04-19 22:24:43 +02:00
Araq b961e47bfe new concurrency model: first steps; shared is not a keyword anymore 2014-04-14 08:45:43 +02:00
Araq 3e25d5f247 merged better html links #850 2014-04-08 01:19:15 +02:00
flaviut 99ebcaec3a Modify renderRstToJson to use the json library 2014-04-05 23:53:19 -04:00
flaviut 335de0c49a Add renderRstToJson in docutils 2014-04-05 15:58:16 -04:00
Andreas Rumpf bc8ec5b6b4 Merge pull request #969 from gradha/pr_avoids_crash_on_unknown_rst_directive
Avoids crash parsing unknown rst raw directive. Fixes #761.
2014-03-03 00:30:35 +01:00
Araq dfeb0e8432 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-03-02 23:46:32 +01:00
Grzegorz Adam Hankiewicz d8793dcf56 Avoids crash parsing unknown rst raw directive. Fixes #761. 2014-03-02 23:15:30 +01:00
Araq c55f5b34ee better handling of packages, still incomplete 2014-03-02 15:41:53 +01:00
Charlie Barto a79579da6f added an overload for highlight.initGeneralTokenizer that accepts a cstring.
I use this when calling the highlighter from C#.
2014-02-26 22:25:02 -05:00
EXetoC 446ffb5481 Punctation -> punctuation. 2014-01-29 02:29:25 +01:00
Araq 73c6efdf66 'nil' as a statement is deprecated, use an empty 'discard' instead 2014-01-19 16:54:59 +01:00
Araq 36afdca87f resolved conflicts with master 2014-01-18 01:16:45 +01:00
Grzegorz Adam Hankiewicz 077b8327ec Documents rstgen index related procs. 2014-01-15 22:23:22 +01:00
Araq 438703f59e case consistency: next steps 2013-12-29 01:13:51 +01:00
Araq 92b8fac94a case consistency part 4 2013-12-27 23:10:36 +01:00
Araq 2df9b442c6 case consistency part 1 2013-12-27 15:48:53 +01:00
Grzegorz Adam Hankiewicz f33f15afe8 Adds docstring to rstgen.defaultConfig. 2013-12-23 19:25:53 +01:00
Araq b76729df1c Merge branch 'master' of https://github.com/Araq/Nimrod into vm2
Conflicts:
	web/news.txt
2013-12-23 01:23:16 +01:00
Grzegorz Adam Hankiewicz e0d6a1cec1 Adds some docstrings to rstgen. 2013-12-18 21:22:22 +01:00
Grzegorz Adam Hankiewicz 543d6b3209 Replaces PDoc with var TRstGenerator for documentation.
The PDoc type is a convenience internal alias. Where procs are exported
only documented types should be used to avoid confusing users.
2013-12-18 21:22:10 +01:00
Araq c0a3d44060 bugfix: keywords are sorted 2013-12-05 10:45:36 +01:00
Araq 80377c20f9 fixes #678 2013-11-19 14:35:03 +01:00
Araq 5f943cf4bc docgen: more newlines in the output to support primitive postprocessors 2013-08-29 23:18:02 +02:00
Grzegorz Adam Hankiewicz 579d0f6f41 Adds highlite to tests suite. 2013-06-18 22:18:44 +02:00
Grzegorz Adam Hankiewicz 4c7607e074 Adds previous slurping as runnable testcase. 2013-06-18 21:42:53 +02:00
Grzegorz Adam Hankiewicz 5b1caed806 Replaces relative file slurping with hardcoded array. 2013-06-18 21:01:12 +02:00
Grzegorz Adam Hankiewicz 05c2d9bd73 Adds docutils modules to lib index, fixes :idx: markers. 2013-06-09 16:10:41 +02:00
Araq 18fbaab216 fixes #310 2013-04-13 01:09:15 +02:00
Dominik Picheta 1beaca29bb Fixed issue with rst parser failing to parse a specific character. 2013-03-27 23:46:58 +00:00
Grzegorz Adam Hankiewicz 72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Dominik Picheta c5d2e421ce Moved packages to lib directory. 2013-02-25 18:51:20 +00:00