Skip to content

docs(tutorials): add the Tutorials tab and section structure - #209

Merged
ccf-factory-reviewer[bot] merged 1 commit into
mainfrom
factory/stack/wi_2fa6b8bf808100304f9a/0
Nov 27, 2026
Merged

ccf-factory-reviewer[bot] merged 1 commit into
mainfrom
factory/stack/wi_2fa6b8bf808100304f9a/0

Conversation

@ccf-factory

@ccf-factory ccf-factory Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

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 curated tutorialsSidebar with the Overview page.
  • docusaurus.config.ts: a "Tutorials" docSidebar navbar item next to the CCF item, so the tab is highlighted on every page of that sidebar (every /tutorials page).

Decisions taken here

  • Reused the existing default docs plugin (docs/, routeBasePath: '/') instead of adding a tutorials entry to instances.yaml. DOCS-INST-001 requires a manifest entry for a new instance directory, and scripts/gen-sidebars.mjs would try to own sidebars/tutorials.ts; the epic asks for a tab in the unversioned docs, which is what the default instance is. Later tutorial PRs add files under docs/tutorials/ and one line each to tutorialsSidebar.
  • Two lines in the sidebar config, no new JS. docSidebar is what the existing navbar items already use, and it gives the highlight for free: verified in the built HTML — navbar__link--active on the Tutorials item at /docs/tutorials, and on CCF at /docs/introduction.
  • The group previews name the epic's list rather than inventing tasks. The claims were checked against the source repos: risk (RiskCreateForm.vue, utils/risk-dashboard.ts) and workflows (stores/workflows/definitions.ts, stores/workflows/instances.ts) exist in compliance-framework/ui@main; the Concepts links point at the existing ## Catalog, ## System, ## Evidence and ## Filter anchors in docs/concepts.md.

Checks

yarn build (runs scripts/gen-sidebars.mjs, onBrokenLinks: 'throw'), yarn typecheck, yarn test and yarn spellcheck all pass on the pushed commit.

Adds the section structure for the tutorials (#204):
a docs/tutorials/ folder in the general docs instance, a curated
tutorialsSidebar in sidebars.js and a Tutorials navbar item linked to it.
Only the Overview page is added; tutorial content follows in later PRs.

Part 1 of 4 of #204.
Closes #205
@coderabbitai

coderabbitai Bot commented Nov 27, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: d6954ab4-bb43-4f1b-a92f-d46a20ee1a45

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@ccf-factory

ccf-factory Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor Author

🏭 Tracked by CCF Factory — view

@ccf-factory-reviewer ccf-factory-reviewer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

ccf-review: APPROVE

no findings.

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.

Add the Tutorials tab and section structure

0 participants