diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 7e80517fb..7c6b7135a 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -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 diff --git a/dev/docs/requirements.txt b/dev/docs/requirements.txt new file mode 100644 index 000000000..865fd4443 --- /dev/null +++ b/dev/docs/requirements.txt @@ -0,0 +1,2 @@ +sphinx-bootstrap-theme + diff --git a/dev/docs/source/conf.py b/dev/docs/source/conf.py index a57a123ba..d45e72ba6 100644 --- a/dev/docs/source/conf.py +++ b/dev/docs/source/conf.py @@ -16,7 +16,7 @@ intersphinx_mapping = {'python': ('https://docs.python.org/3', None)} sys.path.append(os.path.abspath('_themes')) -html_theme_path = ['_themes'] +#html_theme_path = ['_themes'] html_theme = 'bootstrap' html_theme_options = {'nosidebar': True} html_title = "XlsxWriter Documentation" @@ -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')}