Skip to content

2021.02.28.beta28+j0yu.0.1.0: Squash of 00e37022..b6248c0c

Pre-release
Pre-release
Compare
Choose a tag to compare
@j0yu j0yu released this 15 Mar 17:05

Proof of concept to myself for using GoogleChromeLabs/dark-mode-toggle

See initial dark-mode-toggle-test branch changes and pradyunsg#24

image

Requires


Added

  • <dark-mode-toggle> tag after brand_content block

  • Dockerfile for setting up a nox -s docs-live environment on 0.0.0.0:1919

    Usage for modern Docker (uses --iidfile):
    docker build --rm -f docs/_static/Dockerfile --iidfile build/id docs/_static
    docker run --rm -it \
        -w "$PWD" -v "$PWD":"$PWD" \
        -e LIVE_HOST="0.0.0.0" -e LIVE_PORT="1919" -p 1919:1919 \
        -u "$(id -u):$(id -g)" \
        --name sphinx --hostname sphinx \
        "$(cat build/id)"
    xdg-open http://localhost:1919/

Changed