[TIMOB-2575] APIDoc: Introduce language type for <code> sections in docgen.py
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:59:29.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.1 M01 |
Components | iOS |
Labels | apidoc, defect, syntax |
Reporter | Marshall Culpepper |
Assignee | Marshall Culpepper |
Created | 2011-04-15T03:23:11.000+0000 |
Updated | 2011-04-17T01:59:29.000+0000 |
Description
The guess_lexer() function in pygments doesn't seem to guess the right language in all situations. It might be best to explicitly set each code section with a "type" attribute and just pass along to pygments.lexers.get_lexer_by_name
(from [3bc0878ebc05c0fb427eda2b157d130f20569a98]) always use the javascript lexer for now, guess_lexer seems to get it wrong most of the time. let markdown escape XML in Service doc [#2575 state:resolved]
https://github.com/appcelerator/titanium_mobile/commit/3bc0878ebc05c0fb427eda2b157d130f20569a98"> https://github.com/appcelerator/titanium_mobile/commit/3bc0878ebc05...