Skip to content

Commit 3240a32

Browse files
committed
docs: fix readthedos build issue
Issue #1021
1 parent 3e20bf8 commit 3240a32

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

.readthedocs.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ sphinx:
1717

1818
# We recommend specifying your dependencies to enable reproducible builds:
1919
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
20-
# python:
21-
# install:
22-
# - requirements: docs/requirements.txt
20+
python:
21+
install:
22+
- requirements: dev/docs/requirements.txt
2323

dev/docs/requirements.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
sphinx-bootstrap-theme
2+
sphinx_rtd_theme
3+

dev/docs/source/conf.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
pygments_style = 'sphinx'
1616
intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}
1717

18-
sys.path.append(os.path.abspath('_themes'))
19-
html_theme_path = ['_themes']
20-
html_theme = 'bootstrap'
21-
html_theme_options = {'nosidebar': True}
18+
#sys.path.append(os.path.abspath('_themes'))
19+
#html_theme_path = ['_themes']
20+
html_theme = 'sphinx_rtd_theme'
21+
#html_theme_options = {'nosidebar': True}
2222
html_title = "XlsxWriter Documentation"
2323
html_static_path = ['_static']
2424
html_show_sphinx = True
@@ -60,6 +60,6 @@
6060

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

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

0 commit comments

Comments
 (0)