Skip to content

Commit 30a3708

Browse files
committed
fix documentation
1 parent ee96c16 commit 30a3708

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/documentation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,14 @@ jobs:
104104

105105
- name: Check for errors and warnings
106106
run: |
107-
if [[ $(grep ERROR doc.txt | grep -v 'l-plot-tiny-llm-export') ]]; then
107+
if [[ $(grep ERROR doc.txt | grep -v 'l-plot-tiny-llm-export' | grep 'Unexpected section title or transition.') ]]; then
108108
echo "Documentation produces errors."
109-
grep ERROR doc.txt | grep -v 'l-plot-tiny-llm-export'
109+
grep ERROR doc.txt | grep -v 'l-plot-tiny-llm-export' | grep 'Unexpected section title or transition.'
110110
exit 1
111111
fi
112-
if [[ $(grep WARNING doc.txt | grep -v 'l-plot-tiny-llm-export' | grep -v 'Inline emphasis start-string' | grep -v 'Definition list ends without a blank line' | grep -v 'Unexpected section title or transition' | grep -v 'Inline strong start-string' | grep -v 'MambaCache' | grep 'Unexpected section title or transition.') ]]; then
112+
if [[ $(grep WARNING doc.txt | grep -v 'l-plot-tiny-llm-export' | grep -v 'Inline emphasis start-string' | grep -v 'Definition list ends without a blank line' | grep -v 'Unexpected section title or transition' | grep -v 'Inline strong start-string' | grep -v 'MambaCache' ) ]]; then
113113
echo "Documentation produces warnings."
114-
grep WARNING doc.txt | grep -v 'l-plot-tiny-llm-export' | grep -v 'Inline emphasis start-string' | grep -v 'Definition list ends without a blank line' | grep -v 'Unexpected section title or transition' | grep -v 'Inline strong start-string' | grep -v 'MambaCache' | grep 'Unexpected section title or transition.'
114+
grep WARNING doc.txt | grep -v 'l-plot-tiny-llm-export' | grep -v 'Inline emphasis start-string' | grep -v 'Definition list ends without a blank line' | grep -v 'Unexpected section title or transition' | grep -v 'Inline strong start-string' | grep -v 'MambaCache'
115115
exit 1
116116
fi
117117

0 commit comments

Comments
 (0)