public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc(refs/users/marxin/heads/revert-sphinx-v2)] Revert "sphinx: include todolist only if INCLUDE_TODO env. set"
Date: Mon, 14 Nov 2022 03:03:49 +0000 (GMT)	[thread overview]
Message-ID: <20221114030349.ABC4A382F11E@sourceware.org> (raw)

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
     ----

                 reply	other threads:[~2022-11-14  3:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221114030349.ABC4A382F11E@sourceware.org \
    --to=marxin@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).