Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup!…
Browse files Browse the repository at this point in the history
… fixup! Change documentation platform from Docz to Docoff
  • Loading branch information
davidurban authored and mbohal committed Feb 24, 2023
1 parent 063198e commit 19c137c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
10 changes: 8 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,18 @@ Dependencies:
### Build the project:

1. Install local npm dependencies: `npm ci`
2. Start dev server: `sh scripts/build.sh`
2. Start dev server:
* Linux: `sh scripts/build-linux.sh`
* Win or macOS: `sh scripts/build-linux.sh`

### Run the dev server:

1. Install local npm dependencies: `npm ci`
2. Start dev server: `sh scripts/start.sh`
2. Start dev server:
* Linux: `sh scripts/start-linux.sh`
* Win or macOS: `sh scripts/start-non-linux.sh`

(to kill the dev server you must press Ctrl+C twice)

## Git Workflow

Expand Down
2 changes: 2 additions & 0 deletions scripts/build-non-linux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
npm run build \
&& docker compose run --rm --service-ports mkdocs bash -c "mkdocs build"
2 changes: 0 additions & 2 deletions scripts/build.sh

This file was deleted.

4 changes: 4 additions & 0 deletions scripts/start-non-linux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
docker compose run -T --rm --service-ports mkdocs bash -c "mkdocs serve" & \
npm start \
&& fg

4 changes: 0 additions & 4 deletions scripts/start.sh

This file was deleted.

0 comments on commit 19c137c

Please sign in to comment.