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

Add a toc for html and latex exporter #2178

Open
wants to merge 31 commits into
base: main
Choose a base branch
from

Conversation

HaudinFlorence
Copy link

@HaudinFlorence HaudinFlorence commented Sep 16, 2024

Add a toc for html and latex exporter.

This PR fixes #1690.

When working on this PR, an correlated issue was opened in jupyterlab jupyterlab/jupyterlab#16795

@HaudinFlorence HaudinFlorence force-pushed the add_exporter_for_html_toc branch 8 times, most recently from 322c26c to 6b3946a Compare September 17, 2024 14:17
@HaudinFlorence HaudinFlorence marked this pull request as ready for review September 17, 2024 14:17
@HaudinFlorence HaudinFlorence marked this pull request as draft September 17, 2024 14:38
@HaudinFlorence HaudinFlorence force-pushed the add_exporter_for_html_toc branch 7 times, most recently from 19fcd8c to 5f26a5c Compare September 19, 2024 13:29
@martinRenou martinRenou self-requested a review October 4, 2024 09:20
Copy link
Member

@martinRenou martinRenou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat! I don't have much to say, it looks good to me. I just have a tiny nitpicky comment about the CLI usage

@HaudinFlorence HaudinFlorence marked this pull request as ready for review October 4, 2024 12:27
@martinRenou martinRenou added enhancement format:LaTeX pertains to exporting to the LaTeX format format:HTML pertains to exporting to the HTML format labels Oct 4, 2024
@HaudinFlorence HaudinFlorence force-pushed the add_exporter_for_html_toc branch 5 times, most recently from 6293af2 to 4776c2a Compare October 4, 2024 15:50
HaudinFlorence and others added 25 commits February 3, 2025 10:13
Fix index.html.j2 to restore the style of the table of content.
…om_notebook_node, include it in the resources dictionary and use it directly in the index.html.j2 template.
…ll content to html and using BeautifulSoup.select.
@HaudinFlorence HaudinFlorence force-pushed the add_exporter_for_html_toc branch 2 times, most recently from 0e337a6 to 3b45be0 Compare February 3, 2025 09:28
@HaudinFlorence HaudinFlorence force-pushed the add_exporter_for_html_toc branch from a233d15 to 6080520 Compare February 3, 2025 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement format:HTML pertains to exporting to the HTML format format:LaTeX pertains to exporting to the LaTeX format
Projects
None yet
Development

Successfully merging this pull request may close these issues.

command line argument for table of content.
2 participants