Skip to content

Commit 5c2b9bc

Browse files
committed
DOC: update conf.py
1 parent a4ab3fe commit 5c2b9bc

2 files changed

Lines changed: 8 additions & 14 deletions

File tree

doc/conf.py

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
import fake_rtmixer
1212
sys.modules['_rtmixer'] = sys.modules['fake_rtmixer']
1313

14+
authors = 'Matthias Geier'
15+
project = 'python-rtmixer'
16+
17+
default_role = 'any'
18+
1419
extensions = [
1520
'sphinx.ext.autodoc',
1621
'sphinx.ext.intersphinx',
@@ -19,17 +24,10 @@
1924

2025
intersphinx_mapping = {
2126
'python': ('https://docs.python.org/3/', None),
22-
'numpy': ('https://docs.scipy.org/doc/numpy/', None),
23-
'sounddevice':
24-
('http://python-sounddevice.readthedocs.io/en/latest/', None),
27+
'numpy': ('https://numpy.org/doc/stable/', None),
28+
'sounddevice': ('https://python-sounddevice.readthedocs.io/', None),
2529
}
2630

27-
master_doc = 'index'
28-
29-
authors = 'Matthias Geier'
30-
project = 'python-rtmixer'
31-
copyright = '2017, ' + authors
32-
3331
try:
3432
release = check_output(['git', 'describe', '--tags', '--always'])
3533
release = release.decode().strip()
@@ -39,9 +37,9 @@
3937
release = '<unknown>'
4038
today = '<unknown date>'
4139

42-
pygments_style = 'sphinx'
4340
html_theme = 'sphinx_rtd_theme'
4441
html_domain_indices = False
42+
html_show_copyright = False
4543

4644
latex_elements = {
4745
'papersize': 'a4paper',

doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
.. default-role:: py:obj
2-
31
.. include:: ../README.rst
42

5-
.. default-role:: any
6-
73
API Documentation
84
-----------------
95

0 commit comments

Comments
 (0)