Skip to content

Commit

Permalink
docs: fix readthedos build issue
Browse files Browse the repository at this point in the history
Issue #1021
  • Loading branch information
jmcnamara committed Oct 19, 2023
1 parent 3e20bf8 commit 3240a32
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sphinx:

# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
# python:
# install:
# - requirements: docs/requirements.txt
python:
install:
- requirements: dev/docs/requirements.txt

3 changes: 3 additions & 0 deletions dev/docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sphinx-bootstrap-theme
sphinx_rtd_theme

14 changes: 7 additions & 7 deletions dev/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
pygments_style = 'sphinx'
intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}

sys.path.append(os.path.abspath('_themes'))
html_theme_path = ['_themes']
html_theme = 'bootstrap'
html_theme_options = {'nosidebar': True}
#sys.path.append(os.path.abspath('_themes'))
#html_theme_path = ['_themes']
html_theme = 'sphinx_rtd_theme'
#html_theme_options = {'nosidebar': True}
html_title = "XlsxWriter Documentation"
html_static_path = ['_static']
html_show_sphinx = True
Expand Down Expand Up @@ -60,6 +60,6 @@

linkcheck_ignore = ["https://www.paypal.com"]

extlinks = {'issue': ('https://github.com/jmcnamara/XlsxWriter/issues/%s', 'Issue #'),
'feature': ('https://github.com/jmcnamara/XlsxWriter/issues/%s', 'Feature Request #'),
'pull': ('https://github.com/jmcnamara/XlsxWriter/pull/%s', 'Pull Request #')}
extlinks = {'issue': ('https://github.com/jmcnamara/XlsxWriter/issues/%s', 'Issue %s'),
'feature': ('https://github.com/jmcnamara/XlsxWriter/issues/%s', 'Feature Request %s'),
'pull': ('https://github.com/jmcnamara/XlsxWriter/pull/%s', 'Pull Request %s')}

0 comments on commit 3240a32

Please sign in to comment.