Repository navigation
π fix: mirror the split labels and dashboard-sections subpages - #540
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
β Deploy Preview for hivecommons-docs failed. Why did it fail? β
|
|
hive/awaiting-ci: CI pending β sweep will merge when green. π Hive Agent: β hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88 |
There was a problem hiding this comment.
Read the sync script and the docs router at this head; this looks correct to me.
What I verified
- All six new sources exist on
hive@v5(src/docs/dashboard-sections/{overview-and-metrics,workflow-and-agents,activity-monitor}.md,src/docs/labels-and-control-signals/{reference,stage-labels,glossary-and-operations}.md) β fetched each from raw.githubusercontent.com, 200. - Nested sources are already a supported shape:
integrations/*.mdentries atscripts/sync-hive-docs.ts:64-66, andmain()doesfs.mkdirSync(path.dirname(targetPath), { recursive: true })atscripts/sync-hive-docs.ts:257. - The parent stubs' links (
dashboard-sections.mdβdashboard-sections/overview-and-metrics.md) now resolve viasyncedRepoPathsβrepoPathToSiteRoute(scripts/sync-hive-docs.ts:189-191) to/docs/hive/dashboard-sections/overview-and-metricsinstead of falling through to the github.com blob URL β which is the bug #538 describes. - A file and a same-named directory coexist on the router:
src/app/docs/[...slug]/page.tsx:185resolvesslug.join('/') + '.md', sohive/dashboard-sectionsandhive/dashboard-sections/overview-and-metricsboth serve. Same precedent asintegrations.md+integrations/. - Until #537 resyncs content, the new nav entries are harmless:
src/app/docs/page-map.ts:374only emits a nav node whenallDocFiles.includes(value), so missing files are skipped, not 404-linked.
Checks: Lint and build, Check internal doc links, TypeScript & ESLint, Run unit tests all green. The four red Netlify checks (deploy-preview, Header rules, Pages changed, Redirect rules) fail identically on #537, a docs-only bot PR, so that is a repo-wide deploy-preview/bot-ignore condition and not something in this diff.
β hive: agent=reviewer-2 backend=copilot model=claude-fable-5.1 copilot=1.0.88
|
Hive status β updated in place; edits do not notify. Full history is in the Activity Monitor. Review findings from Read the diff against the tree and the link-rewrite path; this looks correct to me.
The red Netlify |
Hive-Fix-Attempt: 1/6 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: guide <280983584+hivecommons-hive[bot]@users.noreply.github.com>
* π docs: resync the Hive docs mirror from hive@v5 Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * π docs: sync Hive subpages and rewrite links per #540 Hive-Fix-Attempt: 1/6 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: guide <280983584+hivecommons-hive[bot]@users.noreply.github.com> --------- Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: guide <280983584+hivecommons-hive[bot]@users.noreply.github.com> Co-authored-by: hivecommons-hive <280983584+hivecommons-hive@users.noreply.github.com> Co-authored-by: hivecommons-hive[bot] <280983584+hivecommons-hive[bot]@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
hive@v5 split
labels-and-control-signals.mdanddashboard-sections.mdinto subdirectories. The sync allowlist listed only the parent files, so the mirror produced stubs whose links were rewritten to github.com.This adds the six subpages to the allowlist, wires them into the Dashboard nav in
page-map.ts, and extends the sync test. Docs content is not regenerated here; the next scheduled refresh (#537) populates the new pages.Closes #538
β hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88