docs-v2/.ci
Jason Stirnaman de4fe4c0ba
Fix: Placeholder cleanup (#5164)
* chore(ci): Update vocab.

* chore(test): Set language-specific replacements for code sample tests

This is a bit of kludge to allow for language-specific replacement patterns
while keeping the code samples valid when a user replaces placeholder strings with their own and copies the sample.
This is necessary for executing (not for validating syntax) of the code samples.

- Workaround for identifying language-specific replacements for pytest-codeblocks test runs.
- Uses Python f-strings to identify Python-specific placeholders.
- To import os for your code sample and hide it from users, wrap it in a comment and use the `pytest-codeblocks:cont` comment tag. See d0ca7e22b8/README.md?plain=1#L117

* fix(v3): Cleanup: fix link and grammar
2023-10-04 09:36:20 -05:00
..
git-hooks Execute queries reorg (#5100) 2023-08-24 15:11:28 -05:00
vale Fix: Placeholder cleanup (#5164) 2023-10-04 09:36:20 -05:00