Skip to content

Commit

Permalink
Merge pull request #80 from fls-bioinformatics-core/use-rtd-theme-for…
Browse files Browse the repository at this point in the history
…-docs

Update documentation to add the ReadTheDocs theme
  • Loading branch information
pjbriggs committed Feb 6, 2024
2 parents bd3ac9f + 208e23c commit b3ef04e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ build:
python:
install:
- requirements: requirements.txt
- requirements: docs/requirements.txt
- method: pip
path: .
6 changes: 4 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@

# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = []
extensions = ['sphinx_rtd_theme',
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx',]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down Expand Up @@ -95,7 +97,7 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'default'
html_theme = 'sphinx_rtd_theme'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down
3 changes: 3 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sphinx==7.1.2
sphinx_rtd_theme==2.0.0
readthedocs-sphinx-search==0.3.2

0 comments on commit b3ef04e

Please sign in to comment.