Skip to content

Commit

Permalink
0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Weber committed Jul 20, 2023
1 parent 60c86fa commit d4c164a
Show file tree
Hide file tree
Showing 15 changed files with 880 additions and 337 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,24 @@ jobs:
run: "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y"
- name: install
run: |
cargo install mdbook
cargo install book-summary
cargo install mdbook book-summary fmerge
- name: render manual
run: |
# render manpages
cargo run --target=x86_64-unknown-linux-gnu -- man -o ./markdown -f markdown
# render and include schema
cargo run --target=x86_64-unknown-linux-gnu -- config schema > ./docs/schema.json
fmerge merge -p "<-- %f -->" -f ./docs/README.md > ./docs/README_MERGED.md
mv ./docs/README_MERGED.md ./docs/README.md
# include reference
cat ./markdown/neomake.md >> ./docs/wiki/src/reference.md
# write index
cat ./docs/README.md >> ./docs/wiki/src/index.md
# build book
cd ./docs/wiki
book-summary -yms
mdbook build
Expand Down
4 changes: 2 additions & 2 deletions .neomake.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 0.3
version: "0.5"

chains:
build:
Expand All @@ -16,7 +16,7 @@ chains:
tasks:
- script: |
set -e
cargo test
cargo test --no-fail-fast
"hook:pre-push":
pre:
Expand Down
2 changes: 1 addition & 1 deletion .rusty-hook.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[hooks]
pre-push = "cargo run -- x -c \"hook:pre-push\""
pre-push = ""

[logging]
verbose = true
Loading

0 comments on commit d4c164a

Please sign in to comment.