mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-03 14:03:18 +08:00
added view source option to sphinx docs
This commit is contained in:
parent
43dfac5044
commit
1c95aa4e8d
@ -76,11 +76,12 @@ rst_prolog = f"""
|
|||||||
:target: index.html
|
:target: index.html
|
||||||
:alt: Ballistica Logo
|
:alt: Ballistica Logo
|
||||||
"""
|
"""
|
||||||
intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}
|
# intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}
|
||||||
autosummary_generate = True
|
autosummary_generate = True
|
||||||
extensions = [
|
extensions = [
|
||||||
'sphinx.ext.napoleon', # https://stackoverflow.com/questions/45880348/how-to-remove-the-cause-of-an-unexpected-indentation-warning-when-generating-cod
|
'sphinx.ext.napoleon',
|
||||||
'sphinx.ext.autodoc',
|
'sphinx.ext.autodoc',
|
||||||
|
'sphinx.ext.viewcode',
|
||||||
# might want to use this in future
|
# might want to use this in future
|
||||||
# for linking with efro and bacommon packages
|
# for linking with efro and bacommon packages
|
||||||
'sphinx.ext.intersphinx',
|
'sphinx.ext.intersphinx',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user