Sync wiki from project files
@@ -1,4 +1,4 @@
|
|||||||
<!-- codex-wiki-sync:865b75260a0d494cb8b76e4e -->
|
<!-- codex-wiki-sync:0986ff28a1feffb68118764d -->
|
||||||
|
|
||||||
> Mirrored from `/mnt/DATA/git/govoplan-core/docs/GITEA_ISSUES.md`.
|
> Mirrored from `/mnt/DATA/git/govoplan-core/docs/GITEA_ISSUES.md`.
|
||||||
> Origin: `repository`.
|
> Origin: `repository`.
|
||||||
@@ -191,6 +191,22 @@ Apply the wiki mirror:
|
|||||||
./scripts/gitea-sync-wiki.py --env-file /home/zemion/.config/gitea/gitea.env --apply
|
./scripts/gitea-sync-wiki.py --env-file /home/zemion/.config/gitea/gitea.env --apply
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The default apply path uses the Gitea wiki git repository, not one REST API
|
||||||
|
request per page. It keeps a local checkout cache below
|
||||||
|
`/tmp/codex-gitea-wiki-sync`, commits changed pages once per repository, and
|
||||||
|
pushes that commit. This is much faster and avoids REST wiki-page timeouts.
|
||||||
|
Use `--transport api` only when the wiki git remote is unavailable.
|
||||||
|
|
||||||
|
Limit a sync to one repository or one generated page while working:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./scripts/gitea-sync-wiki.py --repo govoplan-core --apply
|
||||||
|
./scripts/gitea-sync-wiki.py --repo govoplan-core --page Repo-docs-MODULE-ARCHITECTURE --apply
|
||||||
|
```
|
||||||
|
|
||||||
|
Page-limited syncs do not rewrite `Codex-Project-Index`; run a full repository
|
||||||
|
sync when the set of mirrored pages changes.
|
||||||
|
|
||||||
The wiki sync mirrors durable text documents only: root README-style files, docs/codex project docs, and selected product notes such as roadmap, plan, concept, pitch, and whitepaper files. It skips generated folders, dependency/build output, `.gitea` templates, and filenames that look credential-related.
|
The wiki sync mirrors durable text documents only: root README-style files, docs/codex project docs, and selected product notes such as roadmap, plan, concept, pitch, and whitepaper files. It skips generated folders, dependency/build output, `.gitea` templates, and filenames that look credential-related.
|
||||||
|
|
||||||
Each managed wiki page contains a `codex-wiki-sync` marker and a source path. Reruns update only managed pages unless `--overwrite-unmanaged` is passed. Each repository also gets a managed `Codex-Project-Index` page linking the mirrored pages.
|
Each managed wiki page contains a `codex-wiki-sync` marker and a source path. Reruns update only managed pages unless `--overwrite-unmanaged` is passed. Each repository also gets a managed `Codex-Project-Index` page linking the mirrored pages.
|
||||||
|
|||||||
Reference in New Issue
Block a user