Repository navigation
docs(tutorials): add the Tutorials tab and section structure - #209
Merged
ccf-factory-reviewer[bot] merged 1 commit intoNov 27, 2026
Merged
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
Contributor
Author
|
🏭 Tracked by CCF Factory — view |
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.
Closes #205 (part 1 of 4 of #204).
What this does
docs/tutorials/index.md: the Tutorials Overview page, in the general (unversioned) docs instance, served at/tutorials. It explains the section and previews the tutorial groups the epic lists (Evidence and Catalog, System, Risk, Workflows, Plugins). No tutorial content yet.sidebars.js: a curatedtutorialsSidebarwith the Overview page.docusaurus.config.ts: a "Tutorials"docSidebarnavbar item next to the CCF item, so the tab is highlighted on every page of that sidebar (every/tutorialspage).Decisions taken here
docs/,routeBasePath: '/') instead of adding atutorialsentry toinstances.yaml.DOCS-INST-001requires a manifest entry for a new instance directory, andscripts/gen-sidebars.mjswould try to ownsidebars/tutorials.ts; the epic asks for a tab in the unversioned docs, which is what the default instance is. Later tutorial PRs add files underdocs/tutorials/and one line each totutorialsSidebar.docSidebaris what the existing navbar items already use, and it gives the highlight for free: verified in the built HTML —navbar__link--activeon the Tutorials item at/docs/tutorials, and on CCF at/docs/introduction.RiskCreateForm.vue,utils/risk-dashboard.ts) and workflows (stores/workflows/definitions.ts,stores/workflows/instances.ts) exist incompliance-framework/ui@main; theConceptslinks point at the existing## Catalog,## System,## Evidenceand## Filteranchors indocs/concepts.md.Checks
yarn build(runsscripts/gen-sidebars.mjs,onBrokenLinks: 'throw'),yarn typecheck,yarn testandyarn spellcheckall pass on the pushed commit.