maint: Include top-level *.rst files early in git diff
PATCH 1/1 maint: Include top-level *.rst files early in git diff
We are converting more doc files to *.rst rather than *.texi. Most doc files are already listed early in diffs due to our catchall docs/*, but a few top-level files get missed by that glob.
---
Both *.texi and *.rst entries make sense while we are still converting things, but we'll need a followup to drop *.texi when the conversion is complete...
scripts/git.orderfile | 1 + 1 file changed, 1 insertion(+)
scripts/git.orderfile +1 -0
@@ -11,6 +11,7 @@ # Documentation docs/* +*.rst *.texi # build system
Signature · 1 line
2.24.1
Quoted 19 lines · Eric Blake
We are converting more doc files to *.rst rather than *.texi. Most doc files are already listed early in diffs due to our catchall docs/*, but a few top-level files get missed by that glob.
Signed-off-by Eric Blake <[email protected]>---
Both *.texi and *.rst entries make sense while we are still converting things, but we'll need a followup to drop *.texi when the conversion is complete...
scripts/git.orderfile | 1 + 1 file changed, 1 insertion(+)scripts/git.orderfile +0
-0
scripts/git.orderfile line 17
Quoted 7 lines
scripts/git.orderfile +1
-0@@ -11,6 +11,7 @@ # Documentation docs/* +*.rst *.texi # build system
Quoted 11 lines · Eric Blake
We are converting more doc files to *.rst rather than *.texi. Most doc files are already listed early in diffs due to our catchall docs/*, but a few top-level files get missed by that glob.
Signed-off-by Eric Blake <[email protected]>---
Both *.texi and *.rst entries make sense while we are still converting things, but we'll need a followup to drop *.texi when the conversion is complete...
I was wondering what rst files we had outside docs, and the answer is "README.rst, CODING_STYLE.rst and tests/acceptance/README.rst".
(There's a reasonable argument for moving CODING_STYLE.rst to docs/devel now; depends how highly you rate having it more "discoverable" to new contributors.)
thanks
-- PMM
Quoted 13 lines · Peter Maydell
Quoted 11 lines · Eric Blake
We are converting more doc files to *.rst rather than *.texi. Most doc files are already listed early in diffs due to our catchall docs/*, but a few top-level files get missed by that glob.
Signed-off-by Eric Blake <[email protected]>---
Both *.texi and *.rst entries make sense while we are still converting things, but we'll need a followup to drop *.texi when the conversion is complete...
Quoted 7 lines
I was wondering what rst files we had outside docs, and the answer is "
README.rst,CODING_STYLE.rstandtests/acceptance/README.rst".(There's a reasonable argument for moving
CODING_STYLE.rstto docs/devel now; depends how highly you rate having it more "discoverable" to new contributors.)
The little cynic in the back of my head cackles and points out that CODING_STYLE.rst exists not for new contributors to discover, but so that old contributors have something to smack on new heads.
SCNR :)
Quoted 13 lines · Peter Maydell
Quoted 11 lines · Eric Blake
We are converting more doc files to *.rst rather than *.texi. Most doc files are already listed early in diffs due to our catchall docs/*, but a few top-level files get missed by that glob.
Signed-off-by Eric Blake <[email protected]>---
Both *.texi and *.rst entries make sense while we are still converting things, but we'll need a followup to drop *.texi when the conversion is complete...
Quoted 7 lines
I was wondering what rst files we had outside docs, and the answer is "
README.rst,CODING_STYLE.rstandtests/acceptance/README.rst".(There's a reasonable argument for moving
CODING_STYLE.rstto docs/devel now; depends how highly you rate having it more "discoverable" to new contributors.)
Or even:
git mv CODING_STYLE.rst docs/devel/CODING_STYLE.rst ln -s docs/devel/CODING_STYLE.rst .
git add CODING_STYLE.rst
to turn it into a git link in the top level for easy discoverabilty on a fresh checkout, while still making it part of our overall built documentation.
Signature · 3 lines
Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org
Laurent Vivier
AppliedLe 20/02/2020 à 17:22, Eric Blake a écrit :
Quoted 20 lines
We are converting more doc files to *.rst rather than *.texi. Most doc files are already listed early in diffs due to our catchall docs/*, but a few top-level files get missed by that glob.
Signed-off-by Eric Blake <[email protected]>---
Both *.texi and *.rst entries make sense while we are still converting things, but we'll need a followup to drop *.texi when the conversion is complete...
scripts/git.orderfile | 1 + 1 file changed, 1 insertion(+)scripts/git.orderfile +0
-0
scripts/git.orderfile line 17
Quoted 7 lines
scripts/git.orderfile +1
-0@@ -11,6 +11,7 @@ # Documentation docs/* +*.rst *.texi # build system
Applied to my trivial-patches branch.
Thanks,
Laurent