Skip to content

Commit

Permalink
fixing docs searching and pretty printing results
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrkarr committed Feb 11, 2019
1 parent 8bc5750 commit cae9315
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
'sphinxcontrib.bibtex',
'sphinxcontrib.googleanalytics',
'sphinxcontrib.spelling',
'sphinxprettysearchresults',
]

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -392,5 +393,5 @@ def linkcode_resolve(domain, info):

# -- if RTD, redirect to https://docs.karrlab.org ------------------------

addmetahtml_content = '<meta http-equiv="refresh" content="0; url=https://docs.karrlab.org/wc_utils" />'
addmetahtml_content = '<meta http-equiv="refresh" content="0; url=https://docs.karrlab.org/wc_cli" />'
addmetahtml_enabled = os.getenv('READTHEDOCS', '') == 'True'
5 changes: 3 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
sphinx >= 1.8
sphinx_rtd_theme
sphinx_rtd_theme >= 0.4.2
sphinxcontrib_addmetahtml >= 0.1.1
sphinxcontrib_bibtex
git+https://github.com/KarrLab/sphinxcontrib-googleanalytics.git#egg=sphinxcontrib_googleanalytics-0.1.1 >= 0.1.1
sphinxcontrib_spelling
sphinxcontrib.spelling
sphinxprettysearchresults

0 comments on commit cae9315

Please sign in to comment.