Skip to content

Commit

Permalink
Add notes to add-to-conf.py to make clear these bits should replace e…
Browse files Browse the repository at this point in the history
…xisting bits and not be put at the end

(We haven't done #5 yet but we can at least document it better!)
  • Loading branch information
odscjames committed Apr 27, 2018
1 parent 008cf55 commit 771ee71
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions add-to-conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@

###################################################### Use Custom Theme
#
# There is an existing html_theme bit - search for it and replace it with this.
#

import os
html_theme = 'oods'
Expand All @@ -9,6 +12,9 @@

###################################################### Pygments Style
# https://stackoverflow.com/questions/48615629/how-to-include-pygments-styles-in-a-sphinx-project
#
# There is an existing pygments_style bit - search for it and replace it with this.
#

from pygments.style import Style
from pygments.token import Keyword, Name, Comment, String, Error, \
Expand Down Expand Up @@ -40,6 +46,9 @@ def pygments_monkeypatch_style(mod_name, cls):

###################################################### Extensions
# Remove sphinxcontrib.opendataservices - don't think it's actually used.
#
# There is an existing extensions bit - search for it and replace it with this.
#

extensions = ['sphinxcontrib.jsonschema']

0 comments on commit 771ee71

Please sign in to comment.