jupyter-book icon indicating copy to clipboard operation
jupyter-book copied to clipboard

How to add glossary page to ToC?

Open fauxneticien opened this issue 3 years ago • 2 comments

Hi – for the General Index, there's a section on how to create genindex.md and add the page to the table of contents: https://jupyterbook.org/en/stable/content/content-blocks.html#add-the-general-index-to-your-table-of-contents

I was wondering how to go about doing the same thing for the glossary. Like https://jupyterbook.org/en/stable/reference/glossary.html. I tried creating a file called genglossary.md in the root but that didn't work.

Thanks!

fauxneticien avatar Aug 06 '22 12:08 fauxneticien

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

welcome[bot] avatar Aug 06 '22 12:08 welcome[bot]

@fauxneticien - I think there is no magic similat to genindex associated with glossary. Jupyter own glossary is generated from https://github.com/executablebooks/jupyter-book/blob/master/docs/reference/glossary.md - it is just a regular source file that you edit manually and add to _toc.yml.

epogrebnyak avatar Aug 13 '22 06:08 epogrebnyak