executablebooks / meta

A community dedicated to supporting tools for technical and scientific communication and interactive computing
https://executablebooks.org
129 stars 164 forks source link

How to repeat the same file within the table of content _toc file of jupyterbook #933

Closed marsup13 closed 1 year ago

marsup13 commented 1 year ago

Discussed in https://github.com/orgs/executablebooks/discussions/931

Originally posted by **marsup13** February 2, 2023 Hello, I was wondering please is there a way to repeate the same file (ipynb or markdown ) in the table of content _toc file of jupyterbook project without having errors or needing to duplicate the files and rename them differently (I want to include the same file content in multiple places/chapters of the generated pdf/html book)? Is there a way to have something similar to the next (where I am repeating file1, file2 and file3 for the three chapters)? # Table of contents # Learn more at https://jupyterbook.org/customize/toc.html format: jb-book root: intro parts: - caption: CAPTION1 chapters: - file: file1 - file: file2 - file: file3 - file: file4 - file: file5 - file: file6 - caption: CAPTION2 chapters: - file: file1 - file: file2 - file: file3 - file: file8 - file: file9 - file: file16 - caption: CAPTION3 chapters: - file: file1 - file: file2 - file: file3 - file: file14 - file: file25 - file: file26 Thanks and have a great day!
welcome[bot] commented 1 year ago

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: