Skip to content

Blog landing page #540

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

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

Conversation

brian-rose
Copy link
Member

Trying a quick solution for #539

Unfortunately it seems like the easy solution isn't working due to some current limitations in MyST's toc directive.

Relevant: jupyter-book/mystmd#1933

Also I haven't found a solution for listing a TOC relative to the page, rather than relative to the site root.

Copy link
Contributor

github-actions bot commented Jun 27, 2025

👋 Thanks for opening this PR! The Cookbook will be automatically built with GitHub Actions. To see the status of your deployment, click below.
🔍 Git commit SHA: 1a84034
✅ Deployment Preview URL: https://projectpythia.github.io/_preview/540

@dcamron
Copy link
Contributor

dcamron commented Jun 27, 2025

The listed config in that issue are for myst-parser, not mystmd. The mystmd docs only seem to expose

context
depth

and the other defaults. Does :context: section work here?

@brian-rose
Copy link
Member Author

The listed config in that issue are for myst-parser, not mystmd. The mystmd docs only seem to expose

context
depth

and the other defaults. Does :context: section work here?

Unfortunately not. I think that section here would mean in-page section subheadings. There doesn't seem to be an option to behave like project but relative to the current page.

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

Successfully merging this pull request may close these issues.

2 participants