Skip to content

refactor: consume docusaurus and md - #440

Merged
retr0h merged 3 commits into
mainfrom
refactor/docusaurus-and-md
Aug 15, 2026
Merged

refactor: consume docusaurus and md#440
retr0h merged 3 commits into
mainfrom
refactor/docusaurus-and-md

Conversation

@retr0h

@retr0h retr0h commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

osapi is the only repository with a Docusaurus site, so it is the only one that
takes both modules.

Module Owns
docusaurus docs/ entirely — build, serve, deploy, and format
md every markdown file outside it

The site holds .mdx files and component syntax that mdformat cannot parse,
which is why prettier keeps it. md_site_dir defaults to docs/, so the
exclusion needs no override here.

Verified they do not overlap

Both checks pass at the same time:

just md-fmt          → 13 files outside the site reformatted
just docusaurus-fmt-check → PASS   (nothing under docs/ was touched)
just md-fmt-check         → PASS

ui/docs/ is correctly formatted by md — it is not the site.

Also

  • Drops the docker module. Nothing invoked it; images are published by
    goreleaser, and its dockerfile default named a file this repository does not
    have. Per specs#50.
  • docs-build, docs-deploy, and docs-lint workflows renamed to the new
    recipes; docs-lint now checks both formatters and provisions uv.
  • development.md described just docs::* and said Prettier enforces the wrap
    limit everywhere. It now names which formatter owns which path.

Applies converge-justfile-consumption tasks 2.5 and 1.4.

🤖 Generated with Claude Code

osapi is the only repository with a Docusaurus site, so it takes both
modules: docusaurus owns docs/ entirely -- build, serve, deploy and
format -- and md formats every markdown file outside it.

The site holds .mdx and component syntax mdformat cannot parse, which
is why prettier keeps it. md_site_dir defaults to docs/, so the
exclusion needs no override here.

Also drops the docker module, which nothing invoked: images are
published by goreleaser.

Verified both formatters pass at once, so neither touches the other
space.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
retr0h and others added 2 commits August 15, 2026 13:43
Docs Lint ran two unrelated checks, so a red check did not say which
formatter objected and neither could be re-run alone.

Docusaurus Lint checks the site with prettier and provisions bun.
Markdown Lint checks everything outside it with mdformat and
provisions uv. Each installs only what it needs.

Applies specify-workflow-naming task 2.6.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Renaming only the lint left Docusaurus Lint beside Docs Build and
Deploy to GitHub Pages -- three names for one subject. The deploy name
also described the hosting service, which can change without the
workflow changing purpose.

Applies specify-workflow-naming task 2.7.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Aug 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #440   +/-   ##
=======================================
  Coverage   99.94%   99.94%           
=======================================
  Files         484      484           
  Lines       24935    24935           
=======================================
  Hits        24921    24921           
  Misses         14       14           

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6518525...6e7cbbe. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@retr0h
retr0h merged commit 8be2742 into main Aug 15, 2026
12 checks passed
@retr0h
retr0h deleted the refactor/docusaurus-and-md branch August 15, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant