Skip to content

Commit

Permalink
Switches to read-the-docs theme for docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daverball committed Aug 27, 2024
1 parent 7bb79b3 commit c14ebf7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 38 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ An Ansible API for humans.
Documentation
-------------

`<http://suitable.readthedocs.org>`_
`<https://seantis.github.io/suitable/>`_

Warning
-------
Expand Down
27 changes: 0 additions & 27 deletions docs/_static/custom.css

This file was deleted.

14 changes: 5 additions & 9 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,13 @@

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

html_theme_options = {
'logo': 'logo.svg',
'github_user': 'seantis',
'github_repo': 'suitable',
'github_type': 'star',
'travis_button': False,
'codecov_button': True
'logo_only': True,
}
html_style = 'custom.css'
html_logo = '_static/logo.svg'
#html_style = 'custom.css'

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down Expand Up @@ -214,7 +210,7 @@
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'Suitable.tex', 'Suitable Documentation',
u'Denis Krienbühl', 'manual'),
'Denis Krienbühl', 'manual'),
]

# The name of an image file (relative to this directory) to place at the top of
Expand Down
3 changes: 2 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
sphinx
sphinxcontrib.autodoc-inherit-overload
sphinxcontrib.autodoc-inherit-overload
sphinx-rtd-theme

0 comments on commit c14ebf7

Please sign in to comment.