Skip to content

Commit

Permalink
Merge branch 'fix-docs-theme'
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Aug 27, 2024
2 parents d8f8075 + 847dd4c commit 8a00a2b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
1 change: 1 addition & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ python:
install:
- method: pip
path: .
- requirements: doc-requirements.txt
6 changes: 1 addition & 5 deletions doc-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
-e git+https://github.com/ckan/ckan#egg=ckan
-r https://raw.githubusercontent.com/ckan/ckan/master/requirements.txt
-r requirements.txt
sphinx==5.1.1
sphinx-rtd-theme==1.0.0
sphinx-rtd-theme==2.0.0
8 changes: 2 additions & 6 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,7 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if not on_rtd:
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_theme = 'sphinx_rtd_theme'

#html_theme = 'default'

Expand Down Expand Up @@ -264,4 +260,4 @@


# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'http://docs.python.org/': None}
#intersphinx_mapping = {'http://docs.python.org/': None}

0 comments on commit 8a00a2b

Please sign in to comment.