Commit Graph

9 Commits

Author SHA1 Message Date
str4d
d4a964ecb4 Only read spec headers when rendering index 2015-11-25 01:45:01 +00:00
str4d
e85e0effd8 propagate from branch 'i2p.www' (head 046364f77d72c10ee7ffcf74e7aaa08eb644ed96)
to branch 'i2p.www.str4d' (head 28335acea75ecad4a4edfeb19993dbe80dd95ca8)
2015-11-25 01:28:15 +00:00
str4d
2cdf66c034 Get ctag URLs directly 2015-11-15 03:38:27 +00:00
str4d
abb969b6cf Updated spectags
* ctags are case-sensitive, and the dataspecs use CamelCase.
* HTML anchor tags are case-sensitive. The old specs used CamelCase to match the
  ctags, and the existing documentation references them extensively.
* reStructuredText links are case-insensitive, and the HTML anchor tags that it
  generates are lower case.

Therefore, the links in the .rst files are given in CamelCase, and the dataspec
formatters convert this to lower case for links. In direct HTML references (in
specs or other areas of documentation), lower case must be used (to be fixed).

Command to generate the file:
cd i2p2www/spec && ctags -f spectags --langdef=rst --langmap=rst:.rst --regex-rst=/_type-\([a-zA-Z0-9]+\)/\\1/t,type/ --regex-rst=/_struct-\([a-zA-Z0-9]+\)/\\1/s,struct/ --regex-rst=/_msg-\([a-zA-Z]+\)/\\1/m,msg/ -R -n *.rst
2015-11-14 22:25:17 +00:00
str4d
ced12f991a Another textspec formatting tweak 2015-11-14 20:41:05 +00:00
str4d
fb3836384e Migrated specs to new format
Content is reStructuredText with Jinja2 markup.

Translation tags have been removed.
2015-11-14 20:40:26 +00:00
str4d
1ad3c76cc3 Add extra space in place of stripped underscores to preserve layouts 2015-11-14 00:07:25 +00:00
str4d
9ea49ff045 Sort specs in list 2015-11-12 09:48:55 +00:00
str4d
3816f2f6be First pass at spec viewing system 2015-11-10 08:15:11 +00:00