-
Notifications
You must be signed in to change notification settings - Fork 0
docs: Move versioning guidance out of the readme #6
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| name: Validate Docs | ||
|
|
||
| on: | ||
| push: | ||
| paths: ['docs/**', 'docs.json', '.github/workflows/validate-docs.yml'] | ||
| pull_request: | ||
| paths: ['docs/**', 'docs.json', '.github/workflows/validate-docs.yml'] | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| validate: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: whilesmart/docs-kit/.github/actions/validate-docs@main | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| "$schema": "https://raw.githubusercontent.com/whilesmart/docs-kit/main/schema/docs.schema.json", | ||
| "name": "SourceAnt CLI", | ||
| "description": "Install and control the local SourceAnt stack.", | ||
| "category": { | ||
| "language": "go" | ||
| }, | ||
| "sidebar": [ | ||
| { | ||
| "title": "Versions", | ||
| "path": "docs/versioning.md" | ||
| } | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,13 @@ | ||||||||
| # Versions | ||||||||
|
|
||||||||
| The CLI, agent, and core are versioned independently. | ||||||||
|
|
||||||||
| Select the agent and core releases during setup: | ||||||||
|
|
||||||||
| ```bash | ||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using generic placeholders like
Suggested change
|
||||||||
| sourceant setup --agent-version 1.0.0-beta.3 --core-version 1.0.0-beta.2 | ||||||||
| ``` | ||||||||
|
|
||||||||
| Use `--image` for a specific core container or `--from` for a Python installation source. | ||||||||
|
|
||||||||
| CLI `1.0.0-beta.3` needs agent `1.0.0-beta.3` for `sourceant stop`. The agent defines core compatibility. | ||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The statement "CLI
Suggested change
|
||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For stability and security, it's a best practice to pin GitHub Actions to a specific commit SHA or a release tag rather than a floating branch like
main. This ensures that your workflow doesn't unexpectedly break or introduce vulnerabilities if themainbranch ofdocs-kitchanges.