Created
October 18, 2013 17:58
-
-
Save ajsharp/7045468 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/overview/conf.py b/overview/conf.py | |
| index dedd5d5..0fffc9b 100644 | |
| --- a/overview/conf.py | |
| +++ b/overview/conf.py | |
| @@ -235,7 +235,10 @@ htmlhelp_basename = 'Balanceddoc' | |
| # How to display URL addresses: 'footnote', 'no', or 'inline'. | |
| #texinfo_show_urls = 'footnote' | |
| +import pygments.lexers.jvm | |
| import pygments.lexers.web | |
| +import pygments.lexers.compiled | |
| + | |
| from customizations import ( | |
| html_page_context, IconBoxWidget, Span, Clear, Gist, patch_admonition | |
| ) | |
| @@ -277,6 +280,9 @@ def setup(app): | |
| app.add_directive(Gist.name, Gist) | |
| app.add_lexer('node', pygments.lexers.web.JavascriptLexer()) | |
| + app.add_lexer('java', pygments.lexers.jvm.JavaLexer()) | |
| + app.add_lexer('objective-c', pygments.lexers.compiled.ObjectiveCLexer()) | |
| + | |
| app.connect('html-page-context', html_page_context) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment