Sign inSign up

jvzantvoort/sbcmd

By jvzantvoort

•Updated about 2 years ago

This image attempts to allow the user to build sphinx based documentation.

Image
0

1.2K

jvzantvoort/sbcmd repository overview

⁠Site Builder Command image

This tools attempts to allow the user to build sphinx based documentation without the tedium of trying to maintain the proper package list and python version required.

⁠Use

  docker run --rm -v $PWD:/code --mount type=tmpfs,destination=/output \
    "jvzantvoort/sbcmd:1" sphinx srcdir=test uid=$(id -u) \
    gid=$(id -g)
⁠Docker options
--rm

Automatically remove the container when it exits.

-v $PWD:/code

Mount the directory $PWD in the image under /code the other options use this as a starting point.

--mount type=tmpfs,destination=/output

Add a tmpfs mount to the image mounted under /output. This is used to write the initial output.

⁠entry point options

The first option is the "action" which can be "help", "sphinx" or a path to a local script.

Subsequent options are:

  • srcdir=<path>, path to the source directory
  • dstdir=<path>, path to the output directory
  • uid=, nummeric uid of the output user (ussually id -u)
  • gid=, nummeric gid of the output user (ussually id -g)

⁠Included themes

  • sphinx-bootstrap-theme (0.6.5)
  • sphinx-glpi-theme (0.3)
  • sphinx-nameko-theme (0.0.3)
  • sphinx-readable-theme (1.3.0)
  • sphinx-rtd-theme (0.4.3)
  • sphinx-typlog-theme (0.7.2)
  • zerovm-sphinx-theme (1.1)

⁠Note

This is a work in progress.

Tag summary

Content type

Image

Digest

sha256:5690bd104…

Size

622.5 MB

Last updated

about 2 years ago

docker pull jvzantvoort/sbcmd