ℹ️ Please refer to 全國法規資料庫 for the most accurate and up-to-date material.
🌐 Hosting on Github Pages https://iunn-sh.github.io/codex-mirror
dir | content | format |
---|---|---|
raw |
downloaded and unzipped files | .zip / .csv / .json |
depot |
parsed data from raw | .json |
docs |
processed data for frontend | .md |
# Go: process data
## with Docker
docker run --rm $(docker build -t codex-mirror -q .)
docker run --rm $(docker build -t codex-mirror --progress=plain --no-cache .) # debug
## with Golang (tested with 1.20)
go fmt ./...
go mod tidy
go run .
# Mkdocs Material: host frontend
docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material:9.5.5
# visit http://localhost:8000/ from browser
Commit or merge PR to main
branch