Conversation
Goal: as simple structure as possible. One Makefile, one gitignore if not too much regarding docs. Avoid scripts if not necessary, but we want some automation so script is needed, and we use a config_file to manage new example notebooks, and to manage titles etc (quarto doesn't handle this in a good way...). The script enables batch convert from config, enforce title/description/order, fix paths, remove stale qmd files, and sync the sidebar automatically. Overall changes: Moved design.qmd and getting-started.qmd to user-guide. Added similar links to docs/index.qmd as in mikeio. .gitignore: Added a Docs section with all docs-related ignores (generated .qmd files, _site/, _freeze/, api/, .quarto/, .quarto_ipynb files, *_files/ image folders) Deleted docs/.gitignore. _metadata.yml: Changed execute: enabled: false → freeze: auto (restored plot execution + caching). Added fig-responsive: true, necessary to get correct plot widths docs_config.json (new file): Created as the single source of truth for examples: notebook name, title, description, order. index.qmd: Changed listing to type: table with fields: [title, description] _quarto.yml: Examples sidebar rewritten by the conversion script to match config order pyproject.toml: Added matplotlib to the docs dependency group (quarto executes notebooks) style.css: Added rule to make plot images responsive (max-width: 100%) convert_docs_notebooks.py (new file): Conversion script: reads config → converts notebooks to .qmd (using quarto convert) → patches frontmatter → fixes data paths → removes stale files → rewrites sidebar Makefile: Added convert-notebooks target and made docs depend on it Also: small changes in notebook headers.
Closed
Collaborator
otzi5300
requested changes
Mar 25, 2026
Collaborator
otzi5300
left a comment
There was a problem hiding this comment.
minor fix in getting stated text about the pd.series
Collaborator
Author
|
One thing that bothers me a bit but doesn't seem to have an easy fix: order in example list is not the same in the list in the middle vs the list in the left side bar... Otherwise, ready to merge! |
Collaborator
Yes, I noticed that as well but not a big thing. Good work! |
otzi5300
approved these changes
Mar 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR replaces #85
Goal: keep as simple structure as possible. One Makefile, one gitignore if not too much regarding docs. Avoid scripts if not necessary, but we want some automation so a script is needed, and we use a config_file to manage new example notebooks, and to manage titles etc (quarto doesn't handle this in a good way...). The script enables batch convert from config, enforce title/description/order, fix paths, remove stale qmd files, and sync the sidebar automatically.
Overall changes:
Moved design.qmd and getting-started.qmd to user-guide. Added similar links to docs/index.qmd as in mikeio.
.gitignore:
Added a Docs section with all docs-related ignores (generated .qmd files, _site/, _freeze/, api/, .quarto/, .quarto_ipynb files, *_files/ image folders) Deleted docs/.gitignore.
_metadata.yml:
Changed execute: enabled: false → freeze: auto (restored plot execution + caching). Added fig-responsive: true, necessary to get correct plot widths
docs_config.json (new file):
Created as the single source of truth for examples: notebook name, title, description, order.
index.qmd:
Changed listing to type: table with fields: [title, description]
_quarto.yml:
Examples sidebar rewritten by the conversion script to match config order
pyproject.toml:
Added matplotlib to the docs dependency group (quarto executes notebooks)
style.css:
Added rule to make plot images responsive (max-width: 100%)
convert_docs_notebooks.py (new file):
Conversion script: reads config → converts notebooks to .qmd (using quarto convert) → patches frontmatter → fixes data paths → removes stale files → rewrites sidebar
Makefile:
Added convert-notebooks target and made docs depend on it
Also: small changes in notebook headers.