This is an automated email from the ASF dual-hosted git repository. jsime pushed a commit to branch 5.3.x in repository https://git-dual.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/5.3.x by this push: new aebaa53 docs: backporting rtd theme workaround aebaa53 is described below commit aebaa5362811485b8ac471f16b367eb8e398f951 Author: Jon Sime <js...@apache.org> AuthorDate: Thu Apr 21 14:51:45 2016 +0000 docs: backporting rtd theme workaround --- doc/conf.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/conf.py b/doc/conf.py index 5317273..e9241b7 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -112,6 +112,15 @@ if os.environ.get('READTHEDOCS') == 'True': po = polib.pofile(po_file) po.save_as_mofile(fpath=mo_file) print "done" +else: + # Backporting theme workaround for non-RTD environments to use the + # sphinx_rtd_theme instead of whatever local default theme is set. + try: + import sphinx_rtd_theme + html_theme = 'sphinx_rtd_theme' + html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] + except: + pass ## End of HACK # There are two options for replacing |today|: either, you set today to some -- To stop receiving notification emails like this one, please contact ['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].