Skip to content

Commit

Permalink
Another dummy config file, this time a module
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus0824 committed Jul 14, 2017
1 parent 95195a0 commit b22293b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.insert(0, os.path.abspath('.'))
#sys.path.insert(0, os.path.abspath('..'))

# -- General configuration ------------------------------------------------

Expand Down Expand Up @@ -297,10 +297,10 @@

autoclass_content = 'both'

import biothings

with open('sphinx_config.py', 'w') as sphinx_file:
# emulate a dummy config file for now
sphinx_file.write('logging = ''\nHIPCHAT_CONFIG=''\nLOG_FOLDER=''')
sphinx_file.write('logging = ""\nHIPCHAT_CONFIG=""\nLOG_FOLDER=""')

import biothings, sphinx_config

biothings.config_for_app('sphinx_config')
biothings.config_for_app(sphinx_config)

0 comments on commit b22293b

Please sign in to comment.