Skip to content
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

Automatic docs shell snippets syntax validation #2660

Merged
merged 60 commits into from
Nov 19, 2024

Conversation

franciszekjob
Copy link
Collaborator

@franciszekjob franciszekjob commented Nov 12, 2024

Closes #2479

Introduced changes

  • Validate snforge and sncast shell snippets syntax in the docs
  • Fix docs snippets which are invalid/outdated

Checklist

  • Linked relevant issue
  • Updated relevant documentation
  • Added relevant tests
  • Performed self-review of the code
  • Added changes to CHANGELOG.md

franciszekjob and others added 30 commits November 8, 2024 17:38
@franciszekjob franciszekjob changed the title Automatic docs shell snippets validation Automatic docs shell snippets syntax validation Nov 18, 2024
@franciszekjob
Copy link
Collaborator Author

Running the commands and validating the output will be added in next PR.

@franciszekjob franciszekjob marked this pull request as ready for review November 18, 2024 09:05
crates/docs/src/validation.rs Outdated Show resolved Hide resolved
crates/docs/src/validation.rs Outdated Show resolved Hide resolved
crates/docs/src/validation.rs Outdated Show resolved Hide resolved
crates/docs/src/validation.rs Show resolved Hide resolved
crates/docs/src/validation.rs Outdated Show resolved Hide resolved
crates/forge/tests/e2e/docs_snippets_validation.rs Outdated Show resolved Hide resolved
crates/sncast/tests/docs_snippets/validation.rs Outdated Show resolved Hide resolved
crates/docs/src/validation.rs Outdated Show resolved Hide resolved
crates/docs/src/validation.rs Outdated Show resolved Hide resolved
crates/docs/src/validation.rs Show resolved Hide resolved
@franciszekjob franciszekjob added this pull request to the merge queue Nov 19, 2024
Merged via the queue into master with commit 78c9d31 Nov 19, 2024
26 checks passed
@franciszekjob franciszekjob deleted the franciszekjob/2479-2-shell-commands-validation branch November 19, 2024 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatic validation of shell commands in docs
2 participants