Commit Graph

66 Commits

Author SHA1 Message Date
Nick Greenfield
fb93cee95d Improved nimdoc styling.
This updates the inlined CSS in nimdoc.cfg, adds several helper classes
(and a few divs) to the generated HTML (some in nimdoc.cfg, one in
rstgen.nim), and tweaks the anchor linking scheme for headers in
rstgen.nim.
2014-12-19 21:08:11 -05:00
Araq
85cc5a6a1f destuctors are experimental; 'func' is now a keyword 2014-12-10 01:57:08 +01:00
Araq
5979d35ab2 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-12-08 22:35:21 +01:00
Dominik Picheta
898501d9d1 Moved smiliey format to config hash table. 2014-12-04 18:47:01 +00:00
Araq
e27ab36731 implements 'defer' 2014-12-04 10:12:32 +01:00
Araq
80b8361187 smileys configurable; safer image attribute handling 2014-11-29 13:55:30 +01:00
Araq
8349cee613 fixes #1055 2014-11-16 20:32:05 +01:00
Grzegorz Adam Hankiewicz
a7aa2de166 Merge branch 'pr_adds_code_directive_to_rst' into pr_bigbreak_adds_code_directive_to_rst
Conflicts:
	doc/tut2.txt
	lib/packages/docutils/rstgen.nim
	lib/system.nim
2014-11-03 15:50:05 +01:00
Grzegorz Adam Hankiewicz
2df195c8e2 Fixes line numbering. 2014-10-02 00:59:07 +02:00
Araq
0c25f7e202 support nimrod as an alias for nim for compatibility (nimforum!) 2014-09-17 02:37:05 +02:00
Araq
5946747970 updated the compiler to use the new symbol names 2014-08-28 23:48:42 +02:00
Araq
d05df2173b Nimrod renamed to Nim 2014-08-28 09:50:51 +02:00
Araq
2f43fdb837 renamefest 2014-08-23 01:43:49 +02:00
Araq
dbf9117c56 the big renamefest: first steps 2014-08-22 23:54:26 +02:00
Araq
057b53e139 'lambda' is no keyword anymore 2014-08-08 02:24:19 +02:00
Grzegorz Adam Hankiewicz
69949c07b7 Escapes properly code blocks without highlite support. 2014-07-28 23:22:39 +02:00
Grzegorz Adam Hankiewicz
b287f13d4a Handles :file: option for code blocks to avoid warnings. 2014-07-26 14:39:01 +02:00
Grzegorz Adam Hankiewicz
0dbec5a278 Adds support for the `.. code::` rst directive.
This modifies the existing ``.. code-block::`` to be treated as spec
extension with a specific default language syntax. Also implements line
numbering.
2014-07-19 13:56:42 +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