Skip to content

Commit

Permalink
Merge pull request #12378 from simondeziel/doc-check-fix
Browse files Browse the repository at this point in the history
Fix .md docs
  • Loading branch information
tomponline authored Oct 13, 2023
2 parents bc4d31a + ec7c678 commit b54a977
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
7 changes: 5 additions & 2 deletions doc/.sphinx/.markdownlint/doc-lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ mdl .tmp/doc -sdoc/.sphinx/.markdownlint/style.rb -udoc/.sphinx/.markdownlint/ru

## Postprocessing

filtered_errors="$(grep -vxFf doc/.sphinx/.markdownlint/exceptions.txt .tmp/errors.txt)"
if [ "$(echo "$filtered_errors" | wc -l)" = "2" ]; then
sed -i '/^$/,$d' .tmp/errors.txt

filtered_errors="$(grep -vxFf doc/.sphinx/.markdownlint/exceptions.txt .tmp/errors.txt)" || true

if [ -z "$filtered_errors" ]; then
echo "Passed!"
exit 0
else
Expand Down
2 changes: 1 addition & 1 deletion doc/howto/instances_routed_nic_vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ You can then start your instance with:

```{note}
Before you start your instance, make sure that you have {ref}`configured the parent network <nic-routed>` to enable proxy ARP/NDP.
```
```
1 change: 0 additions & 1 deletion doc/howto/network_ipam.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@ The resulting output will look something like this:
Each listed entry lists the IP address (in CIDR notation) of one of the following LXD entities: `network`, `network-forward`, `network-load-balancer`, and `instance`.
An entry contains an IP address using the CIDR notation.
It also contains a LXD resource URI, the type of the entity, whether it is in NAT mode, and the hardware address (only for the `instance` entity).

0 comments on commit b54a977

Please sign in to comment.