Skip to content

docs: add a documentation website under docs/ - #41

Open
mcanouil wants to merge 4 commits into
mainfrom
docs/documentation-website
Open

docs: add a documentation website under docs/#41
mcanouil wants to merge 4 commits into
mainfrom
docs/documentation-website

Conversation

@mcanouil

@mcanouil mcanouil commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Moves the reference documentation out of README.md and into a Quarto website under docs/, built on the atelier project type and published to https://m.canouil.dev/quarto-code-window/.

Every code block on the site is framed by this extension, so the pages demonstrate themselves. The examples page adds the parts the default does not show: all three window styles side by side, both folding states, the highlighted-line chip, and a block with the chrome turned off.

This repository publishes one of the website scaffold's own dependencies, so it is set up the self-hosting way: the committed copy under docs/_extensions/mcanouil/code-window/ is dropped, and the filter resolves from the copy sync-extension.sh takes from the repository root. The site therefore runs the version being released rather than a pinned one.

reference.qmd records an interaction found while documenting the rest of the family: this filter claims code blocks at pre-quarto, which is why typst-render never sees its own ```{typst} blocks when both run, and why language-cell-decorator decorates the same blocks a second time.

README.md becomes a landing page pointing at the site.

Every code block on the site is framed by the extension, so the pages
are their own demonstration: the three styles, both folding states, the
highlighted-line chip, and a block with the chrome turned off.

This repository publishes one of the website's own dependencies, so the
committed copy under docs/_extensions/mcanouil/ is dropped and the site
resolves the filter from the copy sync-extension.sh takes from the
repository root. The site therefore runs the version being released.

The reference records that the filter claims code blocks at pre-quarto,
which is why typst-render never sees its own {typst} blocks when both
run, and why language-cell-decorator decorates the same blocks twice.

README.md becomes a landing page pointing at the website.
@mcanouil mcanouil added the Type: Documentation 📝 Issues related to documentation label Aug 1, 2026
@mcanouil mcanouil self-assigned this Aug 1, 2026
The generated copy of this repository's own extension sat directly under
docs/_extensions/, with no owner, where it read as just another
installed extension. It now goes to docs/_extensions/local/<name>/, so
the path says where it came from and keeps it clear of the committed
dependencies.

Quarto resolves an extension under any owner directory, so nothing
referencing it changes.
Picked up from the shared scaffold.
Picked up from the shared scaffold.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Documentation 📝 Issues related to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant