Revert "sphinx: include todolist only if INCLUDE_TODO env. set"

This reverts commit c64fd69420.
This commit is contained in:
Martin Liska 2022-11-13 21:48:17 +01:00
parent f3c9c650b0
commit cead52c9d9
2 changed files with 1 additions and 4 deletions

View file

@ -51,7 +51,6 @@ gcc_REVISION = read_file('REVISION')
VERSION_PACKAGE = os.getenv('VERSION_PACKAGE')
BUGURL = os.getenv('BUGURL')
MONOCHROMATIC = os.getenv('MONOCHROMATIC')
INCLUDE_TODO = os.getenv('INCLUDE_TODO')
YEAR = time.strftime('%Y')
@ -216,8 +215,6 @@ def set_common(name, module):
if gcc_DEVPHASE == 'experimental':
module['todo_include_todos'] = True
module['tags'].add('development')
if INCLUDE_TODO:
module['tags'].add('include_todo')
html_theme_options['source_edit_link'] = f'https://gcc.gnu.org/onlinedocs/{name}' \
'/_sources/{filename}.txt'

View file

@ -5,7 +5,7 @@
:ref:`genindex`
.. only:: include_todo
.. only:: development
TODO
----