Skip to content

Docs: each repo as a folder with its whole tree, loaded automatically - #17

Merged
erikgoins merged 1 commit into
mainfrom
feature/docs-repo-tree
Nov 19, 2026
Merged

erikgoins merged 1 commit into
mainfrom
feature/docs-repo-tree

Conversation

@erikgoins

Copy link
Copy Markdown
Contributor

Each repo is a folder in the Docs tree, holding the repo's real structure. All of it loads automatically (decision 038).

  • Whole repo by default. Every tracked file shows in its own folders, up to 5,000 per repo. Markdown opens in the editor; images and other files open through the access-checked proxy. An Admin can still narrow a repo to one folder in Settings → Docs folders (leave it empty for the whole repo).
  • No "Load from GitHub" button. A repo that never synced loads when anyone opens Docs. Linking, pushes, and reconcile keep the tree current, as before.
  • The hide folder counts from the repo root, for example docs/internal.
  • Pasted images go to assets/ next to the doc.
  • Fix: relinking a workspace used to reset each repo's docs settings. It now keeps them.
  • Migration 0006_docs_whole_repo.sql: one UPDATE that moves rows on the old default (docs) to "". It deletes nothing.

Consequence: Read Only clients see every file name in a linked repo, code included, unless the hide folder covers it.

Verification: pnpm test (623 passed), pnpm test:e2e (35 passed), pnpm smoke (OK), and lint, typecheck, and check:repo (clean).

🤖 Generated with Claude Code

https://claude.ai/code/session_01T7sHyaEvdoSPjkLy7T1aaz

…n 038)

Each repo is a top-level folder holding the repo's own structure. The default root is
the whole repo; Admins can still narrow a repo to one folder. Never-synced repos load
when anyone opens Docs. Relinking keeps each repo's docs settings. Pasted images go to
assets/ next to the doc. Migration 0006 moves rows on the old docs default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T7sHyaEvdoSPjkLy7T1aaz
Signed-off-by: Erik Goins <erikgoins@gmail.com>
@erikgoins
erikgoins merged commit 2a70cd8 into main Nov 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant