mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
Use docker for mkdocs serve
This commit is contained in:
parent
1cb7a33442
commit
308304b75e
3 changed files with 8 additions and 4 deletions
2
mkdocs-website/Dockerfile
Normal file
2
mkdocs-website/Dockerfile
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
FROM squidfunk/mkdocs-material
|
||||
RUN python3 -m pip install mkdocs-table-reader-plugin mkdocs-git-committers-plugin-2 mkdocs-static-i18n
|
||||
|
|
@ -20,6 +20,10 @@ tasks:
|
|||
cmds:
|
||||
- python3 -m pip install -r requirements.insiders.txt --user
|
||||
|
||||
build:docker:
|
||||
cmds:
|
||||
- docker build -t wailsapp/mkdocs .
|
||||
|
||||
upgrade:insiders:
|
||||
summary: Upgrade the project (insiders)
|
||||
preconditions:
|
||||
|
|
@ -38,11 +42,8 @@ tasks:
|
|||
|
||||
serve:
|
||||
summary: Builds the documentation and serves it locally
|
||||
preconditions:
|
||||
- sh: mkdocs --version
|
||||
msg: "Looks like mkdocs isn't installed. Run `wails3 task setup` or `task setup` in the documentation directory to install it."
|
||||
cmds:
|
||||
- mkdocs serve
|
||||
- docker run --rm -it -p 8000:8000 -v $PWD:/docs wailsapp/mkdocs
|
||||
|
||||
serve:insiders:
|
||||
summary: Builds the documentation and serves it locally
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- Taskfile refactor by [leaanthony](https://github.com/leaanthony) in [#3748](https://github.com/wailsapp/wails/pull/3748)
|
||||
- Upgrade to `go-webview2` v1.0.16 by [leaanthony](https://github.com/leaanthony)
|
||||
- Fixed `Screen` type to include `ID` not `Id` by [etesam913](https://github.com/etesam913) in [#3778](https://github.com/wailsapp/wails/pull/3778)
|
||||
- mkdocs serve now uses docker by [leaanthony](https://github.com/leaanthony)
|
||||
|
||||
### Fixed
|
||||
- Fixed `AlwaysOnTop` not working on Mac by [leaanthony](https://github.com/leaanthony) in [#3841](https://github.com/wailsapp/wails/pull/3841)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue