From 3412f954e5dcfb5914b2eb74fb12deb4c7ad6f69 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Wed, 18 Nov 2020 13:09:11 +0100 Subject: DOC: Update a few Sphinx settings, add sphinx_last_updated_by_git --- doc/conf.py | 4 +++- doc/requirements.txt | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/conf.py b/doc/conf.py index b25c164..aaad4d8 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -16,6 +16,7 @@ extensions = [ 'sphinx.ext.intersphinx', 'sphinx.ext.viewcode', 'sphinx.ext.napoleon', # support for NumPy-style docstrings + 'sphinx_last_updated_by_git', ] autoclass_content = 'init' @@ -65,8 +66,9 @@ html_theme_options = { html_title = project + ', version ' + release html_favicon = 'favicon.svg' html_domain_indices = False -html_show_sourcelink = True html_show_copyright = False +html_copy_source = False +html_add_permalinks = '\N{SECTION SIGN}' htmlhelp_basename = 'python-sounddevice' latex_elements = { diff --git a/doc/requirements.txt b/doc/requirements.txt index 5395487..34227f5 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1 +1,2 @@ insipid-sphinx-theme +sphinx-last-updated-by-git -- cgit v1.2.3