Building documentation in docker with DocFX
264
Start your container exposing port 8124
docker run --rm -it -p 8082:8082 whumphrey/docfx
Start your container exposing port 8124 and using your local documentation rendered from docs/
docker run --rm -it -p 8082:8082 -v $PWD/docs:/docs whumphrey/docfx
Please see the sample docfx documentation project https://github.com/docascode/docfx-seed
Go to http://127.0.0.1:8082 in your browser and enjoy your markdown in html.
There is also a sample DocFX project included in this, to use it run the following:
git clone https://github.com/nitr8/docker-docfx.git
docker build -t whumphrey/docfx .
docker run --rm -it -p 8082:8082 -v $PWD/docs:/docs whumphrey/docfx
Content type
Image
Digest
Size
241 MB
Last updated
over 7 years ago
docker pull whumphrey/docfx