public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/marxin/heads/revert-sphinx-v2)] Revert "sphinx: include todolist only if INCLUDE_TODO env. set"
@ 2022-11-14  3:03 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2022-11-14  3:03 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:6a91608d5bbe7faf6e74a169adc0e58d23c424b2

commit 6a91608d5bbe7faf6e74a169adc0e58d23c424b2
Author: Martin Liska <mliska@suse.cz>
Date:   Sun Nov 13 21:48:17 2022 +0100

    Revert "sphinx: include todolist only if INCLUDE_TODO env. set"
    
    This reverts commit c64fd69420fd153f9fb16a603ff0a711fbde8335.

Diff:
---
 doc/baseconf.py            | 3 ---
 doc/indices-and-tables.rst | 2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/doc/baseconf.py b/doc/baseconf.py
index c91675d3d04..8021a101e77 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 0f4cd2fdc28..56b33139280 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
     ----

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-14  3:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-14  3:03 [gcc(refs/users/marxin/heads/revert-sphinx-v2)] Revert "sphinx: include todolist only if INCLUDE_TODO env. set" Martin Liska

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).