diff options
| author | Clément Pit-Claudel | 2020-04-02 17:18:30 -0400 |
|---|---|---|
| committer | Clément Pit-Claudel | 2020-04-02 17:18:30 -0400 |
| commit | 4950d9631383acc5c4383d9c6d0a597f8d3206b3 (patch) | |
| tree | f27b37d9d0f46237631f54d1eec142196a1aadc7 | |
| parent | 1806d3f6d43020c3219186416b4c63e80af2f11c (diff) | |
| parent | 9df2a43d5336ceb67a8da45f7b64c074b090790f (diff) | |
Merge PR #11869: Add an index for attributes.
Reviewed-by: cpitclaudel
| -rw-r--r-- | doc/sphinx/appendix/indexes/index.rst | 4 | ||||
| -rw-r--r-- | doc/sphinx/coq-attrindex.rst | 5 | ||||
| -rw-r--r-- | doc/tools/coqrst/coqdomain.py | 3 |
3 files changed, 9 insertions, 3 deletions
diff --git a/doc/sphinx/appendix/indexes/index.rst b/doc/sphinx/appendix/indexes/index.rst index a5032ff822..2ece726df7 100644 --- a/doc/sphinx/appendix/indexes/index.rst +++ b/doc/sphinx/appendix/indexes/index.rst @@ -16,9 +16,11 @@ find what you are looking for. ../../coq-tacindex ../../coq-optindex ../../coq-exnindex + ../../coq-attrindex For reference, here are direct links to the documentation of: - :ref:`flags, options and tables <flags-options-tables>`; - controlling the display of warning messages with the :opt:`Warnings` - option. + option; +- :ref:`gallina-attributes`. diff --git a/doc/sphinx/coq-attrindex.rst b/doc/sphinx/coq-attrindex.rst new file mode 100644 index 0000000000..f2ace20374 --- /dev/null +++ b/doc/sphinx/coq-attrindex.rst @@ -0,0 +1,5 @@ +:orphan: + +--------------- +Attribute index +--------------- diff --git a/doc/tools/coqrst/coqdomain.py b/doc/tools/coqrst/coqdomain.py index 6332c4c81d..b448d0f9d3 100644 --- a/doc/tools/coqrst/coqdomain.py +++ b/doc/tools/coqrst/coqdomain.py @@ -1092,7 +1092,6 @@ class CoqVernacIndex(CoqSubdomainsIndex): class CoqTacticIndex(CoqSubdomainsIndex): name, localname, shortname, subdomains = "tacindex", "Tactic Index", "tactics", ["tacn"] -# Attribute index is generated but not included in output class CoqAttributeIndex(CoqSubdomainsIndex): name, localname, shortname, subdomains = "attrindex", "Attribute Index", "attributes", ["attr"] @@ -1217,7 +1216,7 @@ class CoqDomain(Domain): 'g': CoqCodeRole } - indices = [CoqVernacIndex, CoqTacticIndex, CoqOptionIndex, CoqGallinaIndex, CoqExceptionIndex] + indices = [CoqVernacIndex, CoqTacticIndex, CoqOptionIndex, CoqGallinaIndex, CoqExceptionIndex, CoqAttributeIndex] data_version = 1 initial_data = { |
