Skip to content

Commit

Permalink
Merge pull request #1226 from pankona/mdBook
Browse files Browse the repository at this point in the history
Replace deprecated gitbook cli with mdbook
  • Loading branch information
pankona authored Jul 9, 2024
2 parents 55aec43 + 80fa9ac commit 7a1b329
Show file tree
Hide file tree
Showing 115 changed files with 9,432 additions and 5,613 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- master
paths:
- "docs/**"
- "docs/book"
- ".github/workflows/pages.yml"
workflow_dispatch:

Expand All @@ -27,7 +27,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docs
path: ./docs/book
deploy:
permissions:
pages: write
Expand Down
10 changes: 2 additions & 8 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@

all: node_modules
gitbook build
rm -r $(CURDIR)/../docs
mv $(CURDIR)/_book $(CURDIR)/../docs

node_modules:
gitbook install

all:
mdbook build

This file was deleted.

Loading

0 comments on commit 7a1b329

Please sign in to comment.