[clang] 11e51d9 - Remove 'modindex' from the Clang docs

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 30 06:37:58 PST 2022


Author: Aaron Ballman
Date: 2022-11-30T09:37:49-05:00
New Revision: 11e51d9dfc4a582b6c83d3e16b6a093cc2b0dee9

URL: https://github.com/llvm/llvm-project/commit/11e51d9dfc4a582b6c83d3e16b6a093cc2b0dee9
DIFF: https://github.com/llvm/llvm-project/commit/11e51d9dfc4a582b6c83d3e16b6a093cc2b0dee9.diff

LOG: Remove 'modindex' from the Clang docs

This was added in the initial commit to use Sphinx ~12 years ago, but
is a dead link in our docs. Removing it and the python bits that appear
to be unused.

Added: 
    

Modified: 
    clang/docs/analyzer/conf.py
    clang/docs/conf.py
    clang/docs/index.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/analyzer/conf.py b/clang/docs/analyzer/conf.py
index d86d1a4f1c11d..308d0235a0f38 100644
--- a/clang/docs/analyzer/conf.py
+++ b/clang/docs/analyzer/conf.py
@@ -84,9 +84,6 @@
 # The name of the Pygments (syntax highlighting) style to use.
 pygments_style = 'sphinx'
 
-# A list of ignored prefixes for module index sorting.
-#modindex_common_prefix = []
-
 
 # -- Options for HTML output ---------------------------------------------------
 

diff  --git a/clang/docs/conf.py b/clang/docs/conf.py
index b8a42018191ab..0ad1b2f1dfcaf 100644
--- a/clang/docs/conf.py
+++ b/clang/docs/conf.py
@@ -93,9 +93,6 @@
 # The name of the Pygments (syntax highlighting) style to use.
 pygments_style = 'friendly'
 
-# A list of ignored prefixes for module index sorting.
-#modindex_common_prefix = []
-
 in_progress_title = "(In-Progress) " if tags.has("PreRelease") else ""
 
 rst_epilog = f"""

diff  --git a/clang/docs/index.rst b/clang/docs/index.rst
index feb3ede8ddb41..4befe61ee5ca5 100644
--- a/clang/docs/index.rst
+++ b/clang/docs/index.rst
@@ -113,6 +113,5 @@ Indices and tables
 ==================
 
 * :ref:`genindex`
-* :ref:`modindex`
 * :ref:`search`
 


        


More information about the cfe-commits mailing list