Autogenerate sctool docs from yaml files#2987
Merged
mmatczuk merged 1 commit intoscylladb:masterfrom Jan 11, 2022
Merged
Conversation
dgarcia360
commented
Dec 22, 2021
dgarcia360
commented
Dec 22, 2021
dgarcia360
commented
Dec 22, 2021
dgarcia360
commented
Dec 22, 2021
dgarcia360
commented
Dec 22, 2021
dgarcia360
commented
Dec 22, 2021
dgarcia360
commented
Dec 22, 2021
dgarcia360
commented
Dec 22, 2021
dgarcia360
commented
Dec 22, 2021
dgarcia360
commented
Dec 22, 2021
Contributor
|
@dgarcia360 please note that there are changes in commands and command layout. |
dgarcia360
commented
Dec 22, 2021
5ead3b4 to
1fe86f8
Compare
Replace characters test Remove supress_warning Rollback change Update list format Add task commands Added example Rollback Rollback Rollback Hide titles if values not set Rollback
1fe86f8 to
8bafa25
Compare
Contributor
|
@dgarcia360 can we merge it i.e. won't it break the 2.5 2.6 and so on? |
Contributor
Author
|
@mmatczuk I've tested it locally and it should not break previous versions. |
Contributor
Author
|
Notes from 05th Jan 2022 call with @tzach Once we merge this PR:
|
This was referenced Jan 12, 2022
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #2930
Autogenerates
sctooldocs from YAML files using the extensionsphinxcontrib.datatemplates.How to test this PR
Clone this PR. For more information, see Cloning pull requests locally.
Enter the docs folder, and run:
Before merging this PR ...
Would it be possible to update the autogenerated YAML files?
Must be:
abc), replace the single quotes as follows'abc'->``[abc]``.Future improvements
The example key could look like this:
Adding the new keys
nameanddescriptionwill also be possible to format commands as code-blocks and descriptions as regular text.