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

Must Run as First Preprocessor when Summary Preprocessing is Enabled #1

Open
ssanderson opened this issue Nov 3, 2024 · 0 comments

Comments

@ssanderson
Copy link
Owner

ssanderson commented Nov 3, 2024

Currently, if summary preprocessing is enabled, we essentially re-parse the entire mdbook when we're invoked. This discards the results of any preprocessors that run before us, which means we effectively need to be the first preprocessor that runs.

Ideally mdbook would provide an interface by which we could evaluate all of SUMMARY.md as a template before it gets used by the rest of the mdbook machinery. This requires changes within mdbook itself: rust-lang/mdBook#2466

@ssanderson ssanderson changed the title Limited Support for SUMMARY.md Preprocessing DpmSUMMARY.md Preprocessing Nov 9, 2024
@ssanderson ssanderson changed the title DpmSUMMARY.md Preprocessing Must Run as First Preprocessor when Summary Preprocessing is Enabled Nov 9, 2024
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

No branches or pull requests

1 participant