File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments