-
Notifications
You must be signed in to change notification settings - Fork 477
Add AGENTS.md file #20373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add AGENTS.md file #20373
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
0c13598
Add AGENTS.md file
rmloveland afcc1bf
Update src/current/AGENTS.md
rmloveland 5270356
Update src/current/AGENTS.md
rmloveland 1c0305d
Update src/current/AGENTS.md
rmloveland 54be573
Update src/current/AGENTS.md
rmloveland 097e3b2
Update src/current/AGENTS.md
rmloveland c7241b9
Update src/current/AGENTS.md
rmloveland e0747a5
Update src/current/AGENTS.md
rmloveland a4a8038
Update src/current/AGENTS.md
rmloveland dcb8cfc
Merge branch 'main' into 20250917-DOC-14837-add-AGENTS-file
rmloveland File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| # AGENTS.md for CockroachDB docs | ||
|
|
||
| Hello! We're working together on docs for CockroachDB, a distributed SQL database. The docs are located in Markdown files (with Liquid templates) in various subdirectories of this one. | ||
|
|
||
| This file has instructions and general info for working with us on these docs. Please pay close attention to things written here. | ||
|
|
||
| Docs for each released version are in subdirectories named for the version, e.g., `v25.4`. | ||
|
|
||
| Docs specific to the CockroachDB Cloud product are in `cockroachcloud`. | ||
|
|
||
| Docs related to release notes and other release-related matters are in `releases`. | ||
|
|
||
| ## Style guide | ||
|
|
||
| Our style guide lives in `StyleGuide.md` in the root of this repository. Please follow the guidance there carefully when writing docs. | ||
|
|
||
| ## Include files | ||
|
|
||
| To avoid repeating text across different files, we use shared "include files" (or just: "includes") which are referenced using the following syntax. | ||
|
|
||
| For includes that apply across versions or products: | ||
|
|
||
| ``` | ||
| {% include common/define-watched-cdc.md %} | ||
| ``` | ||
|
|
||
| For includes that pertain to the CockroachDB Cloud product: | ||
|
|
||
| ``` | ||
| {% include cockroachcloud/metrics-time-interval-selection.md %} | ||
| ``` | ||
|
|
||
| For includes that we can assume only apply to specific versions, though in some cases, their content may be identical across all versions where the file exists: | ||
|
|
||
| ``` | ||
| {% include vXX.Y/misc/cert-auth-using-x509-subject.md %} | ||
| ``` | ||
|
|
||
| Note: The Liquid variable `{{page.version.version}}` resolves to the major version in the path of the page where it is used (e.g. `v25.4`). References to version-specific includes often use this, allowing the same page content that's used across versions to show different versions of an include, based on the current version being rendered. For example, `{% include {{page.version.version}}/misc/cert-auth-using-x509-subject.md %}`. | ||
|
|
||
| The includes are all located in subdirectories of the `_include` directory, i.e., | ||
|
|
||
| - `_include/common` for widely shared things | ||
| - `_include/cockroachcloud` for Cloud | ||
| - `_include/v25.4` for v25.4-specific content | ||
|
|
||
| <!-- eof --> | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.