Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the same document in multiple chapters/sections #2094

Open
davidvandebunte opened this issue Jan 2, 2024 · 0 comments
Open

Allow the same document in multiple chapters/sections #2094

davidvandebunte opened this issue Jan 2, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@davidvandebunte
Copy link

davidvandebunte commented Jan 2, 2024

Context

In large Jupyter Books, it would be helpful to include the same content (e.g. an .md file) in multiple places in the TOC.

One use case for this is when you want to provide draft articles in a separate area (e.g. lower in the TOC) but still anchored off of "complete" articles. The complete articles would show up in both sections.

Another use case would be to simply reuse content, perhaps to refresh a reader on a topic they may have not seen in some time, or to introduce a reader to a much earlier prerequisite that they may have missed because they "jumped" into the middle of the book. See e.g. OpenLogicProject/OpenLogic: An open-source, customizable intermediate logic textbook; the content subdirectory in this project takes this to the extreme in the sense of only providing "sections" of a chapter as individual files that users can then assemble into different books.

Proposal

Hopefully this is as simple as removing a restriction, making the code simpler rather than more complex.

Tasks and updates

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant