-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #569.
- Loading branch information
Showing
35 changed files
with
31 additions
and
12 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
book | ||
otherBranches.md | ||
vesselsBranch.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[book] | ||
authors = [] | ||
language = "en" | ||
multilingual = false | ||
src = "src" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
version: '3' | ||
|
||
services: | ||
mdbook: | ||
container_name: mdbook | ||
image: peaceiris/mdbook:v0.4.13 | ||
stdin_open: true | ||
tty: true | ||
ports: | ||
- 3000:3000 | ||
- 3001:3001 | ||
volumes: | ||
# - ${PWD}/gitbook-docs:/book | ||
- ${PWD}/mdbook:/book | ||
command: | ||
- serve | ||
- --hostname | ||
- '0.0.0.0' |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,13 +13,10 @@ | |
"docs:changelog": "github-changes -f gitbook-docs/changelog.md -o signalk -r specification -a --only-pulls --use-commit-body --data=pulls", | ||
"docs:prep": "gitbook install gitbook-docs && cross-var replace-in-file /_version_/g $npm_package_version ./gitbook-docs/* --isRegex --verbose && mdprepare gitbook-docs/*.md", | ||
"docs:keys": "node scripts/processSchemaFiles.js", | ||
"docs:html": "cross-var gitbook build gitbook-docs $npm_package_version/doc", | ||
"docs:pdf": "cross-var gitbook pdf gitbook-docs $npm_package_version/doc/signalk.pdf", | ||
"docs:mobi": "cross-var gitbook mobi gitbook-docs $npm_package_version/doc/signalk.mobi", | ||
"docs:epub": "cross-var gitbook pdf gitbook-docs $npm_package_version/doc/signalk.epub", | ||
"docs:serve": "gitbook serve gitbook-docs", | ||
"docs:all": "npm run docs:prep && npm run docs:changelog && npm run docs:keys && npm run docs:html && npm run docs:pdf && npm run docs:mobi && npm run docs:epub", | ||
"docs:publish": "npm run docs:all && cross-var git add $npm_package_version && git stash && git checkout gh-pages && git pull && cross-var git checkout stash -- $npm_package_version && git add master && cross-var git commit --allow-empty -m $npm_package_version && git push [email protected]:signalk/specification gh-pages" | ||
"docs:html": "cross-var docker-compose -f mdbook/docker-compose.yml run mdbook build -d $npm_package_version/doc", | ||
"docs:serve": "docker-compose -f mdbook/docker-compose.yml up", | ||
"docs:all": "npm run docs:prep && npm run docs:changelog && npm run docs:keys && npm run docs:html", | ||
"docs:publish": "TODO npm run docs:all && cross-var git add $npm_package_version && git stash && git checkout gh-pages && git pull && cross-var git checkout stash -- $npm_package_version && git add master && cross-var git commit --allow-empty -m $npm_package_version && git push [email protected]:signalk/specification gh-pages" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
|