Skip to content

Conversation

@gribozavr
Copy link
Collaborator

Adds a new section to STYLE.md to document mandatory conventions for using mdbook and the custom mdbook-course preprocessor.

This section mandates the use of YAML frontmatter, outline helpers, and file includes for exercises, and links to the mdbook-course README for more detailed technical explanations.

@gribozavr gribozavr requested a review from mgeisler September 23, 2025 22:16
- **Outline Helpers:** Pages that serve as an index for a session or segment
**must** use the `{{%session outline%}}` or `{{%segment outline%}}` helpers.
- **File Includes:** Code for exercises and their solutions **must** be included
from external files using the standard `mdbook` `{{#include ...}}` helper.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Based on my quick check, it seems like many exercises indeed use the include feature. But do we consider it mandatory or should we soften this rule?

Adds a new section to STYLE.md to document mandatory conventions
for using `mdbook` and the custom `mdbook-course` preprocessor.

This section mandates the use of YAML frontmatter, outline helpers,
and file includes for exercises, and links to the `mdbook-course`
README for more detailed technical explanations.
@gribozavr gribozavr force-pushed the docs/mdbook-conventions branch from b15b8b6 to 9f9eafd Compare September 23, 2025 22:19
@gribozavr gribozavr merged commit 3cbcd7e into main Sep 24, 2025
39 checks passed
@gribozavr gribozavr deleted the docs/mdbook-conventions branch September 24, 2025 08:08
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.

3 participants