sourcegraph/doc/dev
Thorsten Ball 3bab39af44
sg: ignore config overwrite when generating reference for docs (#39367)
Finally fixing this after it made me say "ah! oh no" one too many times
in the past few weeks.

Here's what previously happened on THORSTEN & SG GENERATE:

1. Thorsten has a custom commandset named `horsegraph` in `sg.config.overwrite.yaml`, along with some other custom commands.
2. Thorsten creates a database migration/GraphQL schema addition/...
3. Thorsten runs `sg generate`
4. Thorsten commits and pushes commit
5. Thorsten sees that he pushed commit in which `sg`'s reference in the
   documentation now contains `"horsegraph"` as an official commandset
   to be used with `sg start`
6. Thorsten says "ah! oh no" and undoes changes

... multiple times.

So what this does here is introduce a `disable-overwrite` flag that
causes only the standard config to be read.

It's then used in the `go:generate` directive that runs `sg help`.
2022-07-25 18:40:06 +02:00
..
adr fix adr case (#39288) 2022-07-22 10:15:08 +02:00
background-information sg: ignore config overwrite when generating reference for docs (#39367) 2022-07-25 18:40:06 +02:00
contributing doc/dev: remove mention that teammates don't need the CLA bot (#37871) 2022-06-28 12:16:14 -07:00
how-to tracer: use official otel spec for configuration (#38910) 2022-07-18 11:40:23 -07:00
radar Sourcegraph Tech Radar (#35538) 2022-06-08 13:51:04 +02:00
security docs: Add support for Bitbucket Data Center (#30610) 2022-02-03 11:42:39 +00:00
setup doc/dev/setup: Fix typo (#36559) 2022-06-04 00:03:22 +05:30
index.md internal/tracer: add OpenTelemetry tracer (#37984) 2022-07-05 11:28:15 -07:00