diff --git a/docs/source/_static/custom.js b/docs/source/_static/custom.js new file mode 100644 index 0000000..86a81e1 --- /dev/null +++ b/docs/source/_static/custom.js @@ -0,0 +1,4 @@ +$(document).ready(function () { + $('a.repository-button').attr('target', '_blank'); + $('a.issues-button').attr('target', '_blank').attr('href', 'https://github.com/IMMM-SFA/msd_uncertainty_ebook/issues/new?assignees=thurber%2C+crvernon&labels=documentation%2C+triage&template=custom.md&title=Publication+Feedback'); +}); \ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py index b72aa4a..e10619b 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -90,11 +90,7 @@ # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] html_css_files = ['custom.css'] - -# add in the IM3 logo into the top left sidebar if so desired -# html_theme_options = { -# 'logo': 'im3.png' -# } +html_js_files = ['custom.js'] # -- Options for Latex master_doc = 'index' diff --git a/docs/source/index.rst b/docs/source/index.rst index d80b1b0..bace35e 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -46,7 +46,7 @@ Addressing Uncertainty in MultiSector Dynamics Research .. raw:: html

- See something that could be improved? Open an issue on GitHub! + Report a typo or just pass along something you like about the book by opening an issue on GitHub!
Click or tap the icon to find this link again.

diff --git a/setup.py b/setup.py index 07677b3..0112d51 100644 --- a/setup.py +++ b/setup.py @@ -49,7 +49,7 @@ def get_requirements(): 'nbsphinx~=0.8.6', 'setuptools~=57.0.0', 'sphinx~=4.0.2', - 'sphinx-rtd-theme~=0.5.2', + 'sphinx-book-theme~=0.2.0', 'sphinxcontrib-bibtex~=2.4.1', 'twine~=3.4.1' ]