Add message types to spectags

Command to generate spectags file:
cd i2p2www/pages/site && ctags -f spectags --regex-html=/\"type_\([a-zA-Z0-9]+\)\"/\\1/t,type/ --regex-html=/\"struct_\([a-zA-Z0-9]+\)\"/\\1/s,struct/ --regex-html=/\"msg_\([a-zA-Z]+\)\"/\\1/m,msg/ -R -n docs/spec/*.html
This commit is contained in:
str4d
2015-06-27 15:16:33 +00:00
parent 822d5f778d
commit 3a527f5535
3 changed files with 42 additions and 6 deletions

View File

@@ -37,6 +37,7 @@ _escape_html_table = {
kinds = {
't': 'type',
's': 'struct',
'm': 'msg',
}
def escape_html(text, table=_escape_html_table):