Repository navigation
docs: move the documentation from the website into docs/, checked by tools/docslint - #29
Merged
Merged
Conversation
added 3 commits
October 19, 2026 15:14
…nly pull requests tools/docslint checks that navigation.json and the pages agree, that every :::app and :::cli block is closed, and that relative links and images point at files in docs/. Pull requests that change docs/ run it; those that change only docs/ skip the Go tests, except into main, whose required checks need them.
A screenshot:id image is images/{id}-{macos,windows}-{light,dark}.png, as FlockScreenshots
renders them. Until they're added the website shows a placeholder, so none is fine; once one is
there, all four must be.
The pages from the website's resources/docs, unchanged except for their links: to another page by its file (quick-start.md), to the rest of the website by its full URL. The sidebar's sections and pages, from the website's config/docs.php, are in docs/navigation.json.
|
Thanks for the PR, @lukas-frey! Flock takes pull requests only for issues a maintainer has approved, so this one is closed. Please open an issue describing the problem or idea first. Once it's labelled |
sineld
pushed a commit
to sineld/flock
that referenced
this pull request
Oct 23, 2026
The move in flock-php#29 copied the website's docs as of 15 Oct, missing the changes from 17-18 Oct and the AI agents page.
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.
Problem
The documentation lives in the private website repo, so feature PRs can't document what they add, and nobody outside can fix a page.
Fix
docs/(new): the 18 pages from the website'sresources/docs, unchanged except for their links: to another page by its file (php.md#phpiniinstead of/docs/php#phpini), to the rest of the website by its full URL. Screenshots stay; their files will bedocs/images/{id}-{macos,windows}-{light,dark}.png, as FlockScreenshots renders them.docs/navigation.json(new): the sidebar's sections and pages, from the website'sconfig/docs.php, so a new page needs no website change.tools/docslint(new): checks thatnavigation.jsonand the pages agree, that every:::app/:::cliblock is closed, that relative links and images point at files indocs/, and that ascreenshot:idhas all four variants or none yet.build.yml: achangesjob; PRs that changedocs/get a Docs check (docslint), and PRs that change onlydocs/skip the Go tests, except intomain(a skipped matrix job reports under its unexpanded name, so main's required checks would never pass). It usesgit diff, not the API, sincebeta.ymlandrelease.ymlcall this workflow withcontents: readonly. The merge queue and releases always build everything.The website will sync
docs/from the newest stable and beta releases (not from branches), so these pages appear there with the first release that contains them; until then it keeps its own copy. Goes with #28, which lets docs-only PRs through the PR gate onmain.