Index compilation (genindex)
See original GitHub issueDescribe the enhancement you’d like
I can’t find a way to make use of sphinx’s genindex
function to automatically compile an index. From what I can tell, this doesn’t exist in jupyter-book, and has not yet been requested. (Sorry if I missed something!)
Does this solve a specific problem?
Books should have indices!
Publishers often require indices, and since sphinx already provides this functionality, it seems silly not to use it if we can.
What alternatives exist?
Hand-crafting an index file. Maybe okay for short documents, but definitely prohibitive for something approaching book length.
Additional context
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Index — pytket-manual documentation
What is tket? Circuit Construction · Running on Backends · Compilation · Noise and the Quantum Circuit Model · Assertion. More documentation:.
Read more >Index — Clang 11 documentation - LLVM releases
--cuda-compile-host-device. clang command line option ... -fdebug-compilation-dir <arg>. clang command line option ... -fno-xray-function-index.
Read more >Index — PopDist and PopRun: User Guide
Index. C | D | E | F | G | I | M | O | P | R | S |...
Read more >genindex.c - Apple Open Source
All the functions related to the indexing information generation. This file is used by both - preprocessor (cpp) and the compiler (cc1*) */...
Read more >Index — Documentation Solidity 0.8.12
Index. Symboles | A | B | C | D | E | F | G | H | I | J |...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I didn’t know that was an option 😁 that actually works great! The only remaining problem is that I don’t see how to add the generated index into the toctree.
It turns out you can’t actually include
genindex
in a normal Sphinx toc tree without bad and buggy workarounds, such as this one. Thegenindex
isn’t available when the toctree is being resolved in a normal Sphinx build.I’m not sure why. It is very annoying. If I can dig up the relevant Sphinx issue I’ll link it here.