Repository: arrow Updated Branches: refs/heads/master fc3f8c2a0 -> 5de6eb5ff
ARROW-978: [Python] - Change python documentation sphinx theme to bootstrap This sets the default HTML theme to the sphinx-bootstrap-theme. There were vestiges of the (improperly configured and thus unused) sphinx-rtd-theme which I removed. Author: Jeff Knupp <jeff.kn...@enigma.com> Closes #784 from jeffknupp/master and squashes the following commits: f4a1cb64 [Jeff Knupp] ARROW-978: Python - Change sphinx theme to bootstrap Project: http://git-wip-us.apache.org/repos/asf/arrow/repo Commit: http://git-wip-us.apache.org/repos/asf/arrow/commit/5de6eb5f Tree: http://git-wip-us.apache.org/repos/asf/arrow/tree/5de6eb5f Diff: http://git-wip-us.apache.org/repos/asf/arrow/diff/5de6eb5f Branch: refs/heads/master Commit: 5de6eb5ffed91d1d06dca27ee6613636c7f87e41 Parents: fc3f8c2 Author: Jeff Knupp <jeff.kn...@enigma.com> Authored: Mon Jun 26 09:52:29 2017 -0400 Committer: Wes McKinney <wes.mckin...@twosigma.com> Committed: Mon Jun 26 09:52:29 2017 -0400 ---------------------------------------------------------------------- python/doc/requirements.txt | 2 +- python/doc/source/conf.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/arrow/blob/5de6eb5f/python/doc/requirements.txt ---------------------------------------------------------------------- diff --git a/python/doc/requirements.txt b/python/doc/requirements.txt index f3c3414..ee9a4d8 100644 --- a/python/doc/requirements.txt +++ b/python/doc/requirements.txt @@ -2,4 +2,4 @@ ipython matplotlib numpydoc sphinx -sphinx_rtd_theme +sphinx_bootstrap_theme http://git-wip-us.apache.org/repos/asf/arrow/blob/5de6eb5f/python/doc/source/conf.py ---------------------------------------------------------------------- diff --git a/python/doc/source/conf.py b/python/doc/source/conf.py index 7f98979..4a72fd0 100644 --- a/python/doc/source/conf.py +++ b/python/doc/source/conf.py @@ -28,7 +28,7 @@ import os import sys -import sphinx_rtd_theme +import sphinx_bootstrap_theme sys.path.extend([ os.path.join(os.path.dirname(__file__), @@ -150,7 +150,7 @@ todo_include_todos = False # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = 'sphinxdoc' +html_theme = 'bootstrap' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the @@ -159,7 +159,7 @@ html_theme = 'sphinxdoc' # html_theme_options = {} # Add any paths that contain custom themes here, relative to this directory. -html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] +html_theme_path = sphinx_bootstrap_theme.get_html_theme_path() # The name for this set of Sphinx documents. # "<project> v<release> documentation" by default.