How to render documentation

This page explains how to render a manual locally on your machine with Docker in order to test the rendering.

Run these commands in a terminal in the parent directory of the directory Documentation. You should use a bash compatible shell, if possible.

If you run into a problem while rendering, check Troubleshooting local rendering with Docker, report an issue or ask for help.

  1. Install Docker:

  2. Preparations

    The docker image is not listed on Docker Hub ( anymore, therefore some preparations need to be done once:

    # pull 'latest' version from GitHub container repository
    docker pull
    # The "real" tag is independent of the container repository,
    # so let's just create that extra "real" and "generic" tag
    docker tag t3docs/render-documentation
    # verify it worked
    docker run --rm t3docs/render-documentation --version
  3. Make dockrun_t3rd available in current terminal

    source <(docker run --rm show-shell-commands)

    This will run the Docker container, in order to make the command dockrun_t3rd available in your current terminal. You must do this again for every new terminal you open.


    If this command does not work on your platform, look at Problems with source < (docker run ... for alternatives.

  4. Run dockrun_t3rd

    dockrun_t3rd makehtml

    This will automatically find the documentation in the Documentation subfolder. It will create a directory Documentation-GENERATED-temp and write the results there.

  5. Open generated documentation

    Look at the output of the previous command to see where the generated documentation is located or use one of these commands to directly open the start page in a browser:

    xdg-open "Documentation-GENERATED-temp/Result/project/0.0.0/Index.html"