manuzhang commented on code in PR #13977:
URL: https://github.com/apache/iceberg/pull/13977#discussion_r2466325475


##########
site/dev/common.sh:
##########
@@ -234,6 +234,20 @@ pull_versioned_docs () {
   create_nightly  
 }
 
+check_markdown_files () {
+  echo " --> check markdown file styles"
+  if ! python3 -m pymarkdown --config markdownlint.yml scan 
docs/docs/nightly/docs/*.md docs/*.md README.md
+  then
+    echo "Markdown style issues found. Please run './dev/lint.sh --fix' to fix 
them."
+    exit 1

Review Comment:
   That doesn't work since `--fix` will be parsed as Make options. On the other 
hand, I think `dev/lint.sh` and `dev/lint.sh --fix` are already easy to call.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to