Skip to content

Commit

Permalink
Add comment explaining --check in simple_example.
Browse files Browse the repository at this point in the history
  • Loading branch information
realazthat committed Jul 12, 2024
1 parent 2534c4d commit 4b7f3ac
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/README.remotified.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ docker run --rm --tty \
-o "mdreftidy/examples/SIMPLE.tidied.md" \
--move-to-bottom --remove-unused --sort-ref-blocks --renumber

# Now --check to verify:
docker run --rm --tty \
-v "${PWD}:/data" \
ghcr.io/realazthat/mdreftidy:v0.5.0 \
Expand Down Expand Up @@ -285,6 +286,7 @@ docker run --rm --tty \
-o "mdreftidy/examples/SIMPLE.tidied.md" \
--move-to-bottom --remove-unused --sort-ref-blocks --renumber

# Now --check to verify:
docker run --rm --tty \
-v "${PWD}:/data" \
my-mdreftidy-image \
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ docker run --rm --tty \
-o "mdreftidy/examples/SIMPLE.tidied.md" \
--move-to-bottom --remove-unused --sort-ref-blocks --renumber

# Now --check to verify:
docker run --rm --tty \
-v "${PWD}:/data" \
ghcr.io/realazthat/mdreftidy:v0.5.0 \
Expand Down Expand Up @@ -285,6 +286,7 @@ docker run --rm --tty \
-o "mdreftidy/examples/SIMPLE.tidied.md" \
--move-to-bottom --remove-unused --sort-ref-blocks --renumber

# Now --check to verify:
docker run --rm --tty \
-v "${PWD}:/data" \
my-mdreftidy-image \
Expand Down
1 change: 1 addition & 0 deletions mdreftidy/examples/local-docker_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ docker run --rm --tty \
-o "mdreftidy/examples/SIMPLE.tidied.md" \
--move-to-bottom --remove-unused --sort-ref-blocks --renumber

# Now --check to verify:
docker run --rm --tty \
-v "${PWD}:/data" \
my-mdreftidy-image \
Expand Down
1 change: 1 addition & 0 deletions mdreftidy/examples/remote-docker_example-noautorun.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ docker run --rm --tty \
-o "mdreftidy/examples/SIMPLE.tidied.md" \
--move-to-bottom --remove-unused --sort-ref-blocks --renumber

# Now --check to verify:
docker run --rm --tty \
-v "${PWD}:/data" \
ghcr.io/realazthat/mdreftidy:v0.5.0 \
Expand Down
1 change: 1 addition & 0 deletions mdreftidy/examples/simple_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ python -m mdreftidy.cli \
-o "mdreftidy/examples/SIMPLE.tidied.md" \
--move-to-bottom --remove-unused --sort-ref-blocks --renumber

# Now --check to verify:
python -m mdreftidy.cli \
--check \
"mdreftidy/examples/SIMPLE.tidied.md" \
Expand Down
1 change: 1 addition & 0 deletions mdreftidy/examples/simple_example.sh.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ cat "mdreftidy/examples/SIMPLE.md"
-o "mdreftidy/examples/SIMPLE.tidied.md" \
--move-to-bottom --remove-unused --sort-ref-blocks --renumber

# Now --check to verify:
{{mdreftidy_cmd|safe}} \
--check \
"mdreftidy/examples/SIMPLE.tidied.md" \
Expand Down

0 comments on commit 4b7f3ac

Please sign in to comment.