mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
DOCS: hide todo admonitions on RTD (#12442)
`todo` admonitions should not be present in the user-facing documentation (built on ReadTheDocs)
This commit is contained in:
parent
37ff33dff7
commit
13b16c9b04
@ -115,7 +115,7 @@ linkcheck_anchors_ignore_for_url = [
|
|||||||
|
|
||||||
autodoc_member_order = 'groupwise'
|
autodoc_member_order = 'groupwise'
|
||||||
autosummary_generate = False
|
autosummary_generate = False
|
||||||
todo_include_todos = True
|
todo_include_todos = 'READTHEDOCS' not in os.environ
|
||||||
extlinks = {
|
extlinks = {
|
||||||
'dupage': ('https://docutils.sourceforge.io/docs/ref/rst/%s.html', '%s'),
|
'dupage': ('https://docutils.sourceforge.io/docs/ref/rst/%s.html', '%s'),
|
||||||
'duref': (
|
'duref': (
|
||||||
|
Loading…
Reference in New Issue
Block a user