Skip to content

Commit 3412f95

Browse files
committed
DOC: Update a few Sphinx settings, add sphinx_last_updated_by_git
1 parent eab30ce commit 3412f95

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

doc/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
'sphinx.ext.intersphinx',
1717
'sphinx.ext.viewcode',
1818
'sphinx.ext.napoleon', # support for NumPy-style docstrings
19+
'sphinx_last_updated_by_git',
1920
]
2021

2122
autoclass_content = 'init'
@@ -65,8 +66,9 @@
6566
html_title = project + ', version ' + release
6667
html_favicon = 'favicon.svg'
6768
html_domain_indices = False
68-
html_show_sourcelink = True
6969
html_show_copyright = False
70+
html_copy_source = False
71+
html_add_permalinks = '\N{SECTION SIGN}'
7072
htmlhelp_basename = 'python-sounddevice'
7173

7274
latex_elements = {

doc/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
insipid-sphinx-theme
2+
sphinx-last-updated-by-git

0 commit comments

Comments
 (0)