diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2023-05-19 22:44:42 -0700 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2023-05-23 09:15:04 +0000 |
commit | 5c8469953b7551470a7664b3a083fe248a91457f (patch) | |
tree | 80329c53b179cf111f8ec2da61348af952dac590 /util/git-hooks/commit-msg | |
parent | f15e6a105b1cf589476042e62b8d0bb64a938e38 (diff) | |
download | flashrom-5c8469953b7551470a7664b3a083fe248a91457f.tar.gz flashrom-5c8469953b7551470a7664b3a083fe248a91457f.tar.bz2 flashrom-5c8469953b7551470a7664b3a083fe248a91457f.zip |
util: Add docker to automate creation of documentation
Build with:
docker build --force-rm -t "doc.flashrom.org" \
"$PWD/util/docker/flashrom.org/"
Generate HTML files:
mkdir -p "$PWD/doc/_build/"
docker run -it --rm \
--user "$(id -u):$(id -g)" \
-v "$PWD/:/data-in/:ro" \
-v "$PWD/doc/_build/:/data-out/" \
doc.flashrom.org
Live web server:
docker run -it --rm \
--net=host -v "$PWD/:/data-in/:ro" \
doc.flashrom.org livehtml
Change-Id: I889fa5f98e2fd6ef896ba4bb30aa5d985ff82622
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/75344
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Tested-by: Anastasia Klimchuk <aklm@chromium.org>
Diffstat (limited to 'util/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions