Skip to content

Commit

Permalink
Merge pull request #420 from lukpueh/minor-rtd-updates
Browse files Browse the repository at this point in the history
Minor RTD visual enhancements
  • Loading branch information
lukpueh committed Dec 21, 2020
2 parents 6337ce7 + 21b6649 commit 6171110
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
# FIXME: Use sphinx built-in Napoleon (coordinate with in-toto/in-toto#401)
extensions = ['sphinx.ext.autodoc', 'sphinxcontrib.napoleon', 'sphinxarg.ext',
'argparse_epilog', 'recommonmark', 'sphinx.ext.todo', 'sphinx_rtd_theme']

Expand All @@ -59,6 +60,11 @@
# a list of builtin themes.
#
html_theme = 'sphinx_rtd_theme'
html_theme_options = {
'logo_only': True
}
html_logo = 'in-toto-horizontal-white.png'
html_favicon = 'in-toto-icon-color.png'

# 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
Binary file added doc/source/in-toto-horizontal-white.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/source/in-toto-icon-color.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
# sphinx extensions
sphinx-rtd-theme
sphinx-argparse
sphinxcontrib-napoleon
# FIXME: Use sphinx built-in Napoleon (coordinate with in-toto/in-toto#401)
git+https://github.com/secure-systems-lab/napoleon.git@v0.7-1
recommonmark

0 comments on commit 6171110

Please sign in to comment.