Skip to content

Commit

Permalink
Fix embedmd syntax issue and update Makefile (#379)
Browse files Browse the repository at this point in the history
Signed-off-by: Hrishikesh Barman <hrishikeshbman@gmail.com>
  • Loading branch information
geekodour committed Jun 6, 2020
1 parent f0aeb78 commit 0180701
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ docker-manifest:
@echo skip manifest creation

.PHONY: docs
docs: build
docs:
./scripts/genflagdocs.sh

.PHONY: docs-check
Expand Down
3 changes: 1 addition & 2 deletions funcbench/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ funcbench currently supports two modes, Local and GitHub. Running it in the Gith

> Clean git state is required.
[embedmd]: # "funcbench-flags.txt"

[embedmd]:# (funcbench-flags.txt)
```txt
usage: funcbench [<flags>] <target> [<bench-func-regex>]
Expand Down
3 changes: 1 addition & 2 deletions infra/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ Eg. `somefile.yaml` will be parsed, whereas `somefile_noparse.yaml` will not be

## Usage and examples:

[embedmd]: # "./infra-flags.txt"

[embedmd]:# (infra-flags.txt)
```txt
usage: infra [<flags>] <command> [<args> ...]
Expand Down
2 changes: 1 addition & 1 deletion scripts/genflagdocs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if [[ "${CHECK}" == "check" ]]; then
RESULT=$?
if [[ "$RESULT" != "0" ]]; then
cat << EOF
Docs have discrepancies, do 'make docs' and commit changes:
Docs have discrepancies, do 'make build docs' and commit changes:
${DIFF}
EOF
Expand Down

0 comments on commit 0180701

Please sign in to comment.