mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
Updates theme Sphinx configuration (#893)
I am updating the project's Sphinx documentation to fix (#819). The issue is related to a library the Sphinx extension `nbsphinx` (to load Jupyter Notebooks) loads into the docs context (RequireJS). That library conflicts with other theme libraries, causing the latter to be not loaded. This would result in several crashes, the most obvious of them the lack of anchors. The fix above solves all errors -- and now anchors work.
This commit is contained in:
@@ -97,6 +97,7 @@ templates_path = ['_templates']
|
||||
# they should be run at build time.
|
||||
nbsphinx_execute = 'never'
|
||||
nbsphinx_allow_errors = True
|
||||
nbsphinx_requirejs_path = ''
|
||||
|
||||
# The suffix(es) of source filenames.
|
||||
# You can specify multiple suffix as a list of string:
|
||||
|
||||
Reference in New Issue
Block a user