Repository navigation
docs: move images to docs/assets and prepare documentation versioning - #261
Merged
Merged
Conversation
Documentation images move from static/img/ to docs/assets/ and are referenced with paths relative to the Markdown file. Docusaurus only versions what lives in docs/, so this is the prerequisite for documentation versioning. static/img/ keeps the site-wide logo and favicon. The link checker now treats relative links to existing files as bundled assets instead of page-relative URLs, and reports relative image links whose file is missing. Takes over the asset move from #68/#69. Co-authored-by: Steven Gort <steven.gort@ictu.nl> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Once `docs:version` has created versions.json, the navbar shows a version dropdown; the newest version is served at /docs/ and the work in progress at /docs/next/. The BPMN copy and remark plugins serve diagrams of versioned docs at /bpmn/version-<x>/. The README describes image references and how to cut a version. Takes over the versioning setup from #69 without cutting a version yet. Refs #46 Co-authored-by: Steven Gort <steven.gort@ictu.nl> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Takes over #68 and #69 by @sgort, rebuilt on current
main(the original branches are ~200 commits behind and conflict on almost every moved file).Refs #46
Changes
Move documentation images to
docs/assets/static/img/{documentation,get-started}todocs/assets/. Docusaurus only versions what lives indocs/, so this is the prerequisite for versioning.<img>with awidthusesrequire(), as relative paths in a plainsrcare not resolved.static/img/keeps only the site-wide logo and favicon.scripts/generate_erd_diagrams.pywrites to the new location.missing-asset. Tests added.Prepare documentation versioning
versions.jsonexists. Until then the site is unchanged.versioned_docs/at/bpmn/version-<x>/. Without this, BPMN viewers on versioned pages would fail to load.Not taken over from #69
1.0.0snapshot: the current docs describe 2.2.x. No version is cut in this PR; the first one is made at the next release withnpm run docusaurus docs:version <version>./docs/and the work in progress at/docs/next/(Docusaurus defaults).check-broken-references.jsand its report: covered by the lychee-based link check (.devenv/scripts/check-links.py).Verification
npm run typecheckcleannpm run buildsucceeds🤖 Generated with Claude Code