Repository navigation
docs(site): move the reopen page to the end of the sidebar and skip the app build for site-only changes - #53
Merged
Conversation
…site The site is already built and checked by publish-docs.yml, so running the Windows and macOS builds for a site-only push or pull request only costs runner time. main has no required checks, so the skipped workflow does not leave a pull request waiting. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ebar Pages without sidebar_position sort after the numbered ones by file name, which put the page between Profiles and Rules. Number every top-level page and category so the order is explicit, and note in the site README that new pages need a number in both languages. 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.
Summary
Two small changes around the documentation site.
Sidebar order
Reopening URLs with Preferis appeared between Profiles and Rules. It now comes last, after Sharing Configuration Across Devices:
Preferis → Installation → Quick Start → Configuration Files → Profiles → Rules → Sharing Configuration Across Devices → Reopening URLs with Preferis
The sidebar is autogenerated, and pages without
sidebar_positionsort after the numbered ones by file name, so giving only that page a large number would not move it to the end. Every top-level item is now numbered:sidebar_position4, 7 and 8 on Configuration Files, Sharing Configuration Across Devices and Reopening URLs with Preferis, in both the English and Japanese front matterposition5 and 6 inprofile/_category_.jsonandrule/_category_.json(category metadata is read fromsite/docsonly, so the Japanese side needs no change)site/README.mdnow says that new pages need a number in both languages.App CI
build-debug.yamlnow haspaths-ignoreforsite/**and.github/workflows/publish-docs.ymlon bothpushandpull_request, so a site-only change runs onlypublish-docs.yml. A change that also touches anything else still runs the full Windows and macOS build.mainhas no branch protection or required checks, so a skipped run does not leave a PR waiting.docs/Design.ja.md§4.4 andsite/README.mddescribe the new behaviour.The design docs under
docs/and the READMEs still trigger the app build; this PR only covers the documentation site.Verification
pnpm typecheck: passedpnpm build: English and Japanese both built; the generated sidebar inbuild/index.htmlandbuild/ja/index.htmlhas the order abovebuild-debug.yamland checked thepush/pull_requesttriggers. Because this PR also changesbuild-debug.yamlanddocs/, the app build still runs on it, so the skip itself shows up only on the next site-only PR🤖 Generated with Claude Code