1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 05:10:03 -04:00

Improve documentation

This commit is contained in:
Emil Ernerfeldt
2021-02-21 10:12:08 +01:00
parent c9919daa11
commit 82350a2f1e
9 changed files with 204 additions and 19 deletions

View File

@@ -1,6 +1,12 @@
#!/bin/bash
set -eu
cd docs
# Starts a local web-server that servs the contents of the `doc/` folder,
# i.e. the web-version of `egui_demo_app`.
cargo install basic-http-server
echo "open http://localhost:8888"
python3 -m http.server 8888 --bind 127.0.0.1
(cd docs && basic-http-server --addr 127.0.0.1:8888 .)
# (cd docs && python3 -m http.server 8888 --bind 127.0.0.1)