We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb3d8da commit 575ca24Copy full SHA for 575ca24
1 file changed
.github/workflows/documentation.yml
@@ -122,15 +122,10 @@ jobs:
122
123
- name: Verify tldr examples integration
124
run: |
125
- if [ ! -f "docs/src/utils/cp.md" ]; then
126
- echo "docs/src/utils/cp.md does not exist"
127
- exit 1
128
- fi
+ grep -q "The examples are provided by" docs/src/utils/cp.md
129
130
- if ! grep -q "The examples are provided by" docs/src/utils/cp.md; then
131
- echo "tldr examples integration missing from cp.md"
132
- echo "Expected to find 'The examples are provided by' text"
133
- echo "Content of cp.md:"
134
- tail -20 docs/src/utils/cp.md
135
136
+ - name: Verify tldr examples appear in man page output
+ run: |
+ cargo run --bin uudoc --all-features -- manpage cp > /tmp/cp.1
+ grep -q "\.SH EXAMPLES" /tmp/cp.1
+ grep -q "tldr-pages" /tmp/cp.1
0 commit comments