From: Martin Liska Date: Sun, 13 Nov 2022 20:48:17 +0000 (+0100) Subject: Revert "sphinx: include todolist only if INCLUDE_TODO env. set" X-Git-Tag: basepoints/gcc-14~3251 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cead52c9d94420a092add58f0d1521ece3f8ecfa;p=thirdparty%2Fgcc.git Revert "sphinx: include todolist only if INCLUDE_TODO env. set" This reverts commit c64fd69420fd153f9fb16a603ff0a711fbde8335. --- diff --git a/doc/baseconf.py b/doc/baseconf.py index c91675d3d049..8021a101e771 100644 --- a/doc/baseconf.py +++ b/doc/baseconf.py @@ -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' diff --git a/doc/indices-and-tables.rst b/doc/indices-and-tables.rst index 0f4cd2fdc289..56b33139280a 100644 --- a/doc/indices-and-tables.rst +++ b/doc/indices-and-tables.rst @@ -5,7 +5,7 @@ :ref:`genindex` - .. only:: include_todo + .. only:: development TODO ----