Skip to content

Commit ce0e3ca

Browse files
committed
doc: Rename files to names from ltp.wiki.git
Keeping the original extension from LTP wiki git brings: * add syntax highlight for editors * no need to add new file (only new extension) Link: https://lore.kernel.org/ltp/[email protected]/T/#u Reviewed-by: Cyril Hrubis <[email protected]> Reviewed-by: Li Wang <[email protected]> Reviewed-by: Avinesh Kumar <[email protected]> Signed-off-by: Petr Vorel <[email protected]>
1 parent a12040d commit ce0e3ca

12 files changed

+3
-13
lines changed

.github/workflows/wiki-mirror.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,10 @@ jobs:
3838
commit=$(git log --pretty=format:"%h (\"%s\")" -1 .)
3939
4040
cd $GITHUB_WORKSPACE/ltp.wiki
41-
42-
# Don't forget to update this list, keep it sorted
43-
cp -v $dir/c-test-api.txt C-Test-API.asciidoc
44-
cp -v $dir/c-test-tutorial-simple.txt C-Test-Case-Tutorial.asciidoc
45-
cp -v $dir/library-api-writing-guidelines.txt LTP-Library-API-Writing-Guidelines.asciidoc
46-
cp -v $dir/maintainer-patch-review-checklist.txt Maintainer-Patch-Review-Checklist.asciidoc
47-
cp -v $dir/network-c-api.txt C-Test-Network-API.asciidoc
48-
cp -v $dir/shell-test-api.txt Shell-Test-API.asciidoc
49-
cp -v $dir/supported-kernel-libc-versions.txt Supported-kernel,-libc,-toolchain-versions.asciidoc
50-
cp -v $dir/test-writing-guidelines.txt Test-Writing-Guidelines.asciidoc
51-
cp -v $dir/user-guide.txt User-Guidelines.asciidoc
52-
cp -v $dir/kvm-test-api.txt KVM-Test-API.asciidoc
53-
41+
# don't forget to add new extensions
42+
cp -v $dir/*.asciidoc $dir/*.rest .
5443
git add .
44+
5545
# only commit if there are changes
5646
git diff-index --quiet HEAD -- || git commit -m "Update to $commit" .
5747
git push
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)