From 841d30975c381218cac250187083cb36aee539df Mon Sep 17 00:00:00 2001 From: Ilya Rodin Date: Wed, 10 Jun 2026 18:03:13 +0700 Subject: [PATCH] docs: merge readme positioning and drop em-dashes --- CONTRIBUTING.md | 12 ++++++------ README.md | 30 ++++++++++++------------------ docs/api/mock/index.md | 2 +- docs/api/petstore/index.md | 6 +++--- docs/guide/authentication.md | 20 ++++++++++---------- docs/guide/comparison.md | 8 ++++---- docs/guide/composing-endpoints.md | 16 ++++++++-------- docs/guide/existing-site.md | 2 +- docs/guide/multiple-apis.md | 2 +- docs/guide/theming.md | 12 ++++++------ docs/index.md | 6 +++--- docs/reference/components.md | 20 ++++++++++---------- docs/reference/configuration.md | 8 ++++---- docs/troubleshooting.md | 14 +++++++------- packages/create/template/README.md | 10 +++++----- 15 files changed, 81 insertions(+), 87 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5b2f0a3..56ad21c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,8 +4,8 @@ ``` packages/ - core/ # vitepress-openapi-docs — Vue components + VitePress plugin - create/ # create-vitepress-openapi-docs — scaffolder CLI + core/ # vitepress-openapi-docs: Vue components + VitePress plugin + create/ # create-vitepress-openapi-docs: scaffolder CLI docs/ # VitePress dogfood site e2e/ # Playwright tests (a11y + happy-path) scripts/ # Release helpers @@ -64,14 +64,14 @@ npm run test:a11y ## Commit conventions -- **Conventional commits** — `feat:`, `fix:`, `chore:`, `docs:`, `test:`, `ci:`, `refactor:`, `perf:` +- **Conventional commits**: `feat:`, `fix:`, `chore:`, `docs:`, `test:`, `ci:`, `refactor:`, `perf:` - Keep commits focused: one concern per commit - No `Co-Authored-By` trailers ## Release flow -1. `node scripts/sync-versions.js ` — sync all packages -2. Update `CHANGELOG.md` — rename the `Unreleased` heading to `## ` +1. `node scripts/sync-versions.js ` to sync all packages +2. Update `CHANGELOG.md`: rename the `Unreleased` heading to `## ` 3. Commit: `chore(release): v` 4. Tag: `git tag v` 5. Push: `git push origin main --tags` @@ -79,7 +79,7 @@ npm run test:a11y ## Code style -- TypeScript strict — no `any` +- TypeScript strict, no `any` - Single quotes, no semicolons (Prettier) - Vue SFC order: `