mirror of
https://gitea.com/gitea/docs.git
synced 2026-11-08 02:50:31 +00:00
docs: tighten the gt guides and the cli wiring
The workflow example had no trigger, so Gitea would reject it as written. The guides now merge the small account sections and point users at the nightly builds they describe. Comments and READMEs no longer mention the dropped reference generator or list the runner as the only hand written sidebar product, and the sidebar lookup drops a key the fallback covers. Co-Authored-By: Claude (Opus 5.5) <[email protected]>
This commit is contained in:
10 files changed
+46
-55
No files matched your search
@@ -120,19 +120,12 @@ the runner binary.
|
||||
## CLI docs
|
||||
|
||||
The documentation of `gt`, the Gitea CLI from
|
||||
[gitea/cli](https://gitea.com/gitea/cli), is laid out like the runner docs:
|
||||
|
||||
| Version | Content | URL |
|
||||
| --- | --- | --- |
|
||||
| develop | `cli-docs/` | `/cli/` until the first release, then `/cli/develop/` |
|
||||
| current series | `cli-docs_versioned_docs/version-<series>/` | `/cli/` |
|
||||
| older series | `cli-docs_versioned_docs/version-<series>/` | `/cli/<series>/` |
|
||||
|
||||
No series is documented yet. Once a release exists, cut its series with
|
||||
`make cut-version PRODUCT=cli VERSION=0.1`, then list it in `cliSeries` in
|
||||
`packages/content-loader/src/products.ts`; the develop docs then move to
|
||||
`/cli/develop/`. Its sidebar is written by hand in `cli-sidebars.js`. The
|
||||
guides do not repeat every flag: `gt <command> --help` documents each command.
|
||||
[gitea/cli](https://gitea.com/gitea/cli), is laid out like the runner docs, with
|
||||
its sidebar in `cli-sidebars.js`. No series is documented yet, so `cli-docs/` is
|
||||
served at `/cli/`. Once a release exists, cut its series and list it in
|
||||
`cliSeries` in `packages/content-loader/src/products.ts`, which moves the develop
|
||||
docs to `/cli/develop/`. The guides leave the flags of each command to
|
||||
`gt <command> --help`.
|
||||
|
||||
## Deployment
|
||||
|
||||
|
||||
Reference in new issue
Block a user