DocsUploader

Automated publication of ParaView documentation.

selector.js

This script injects a version selector into the C++ and Python documentation. It selects a header element of the docs and appends a <select> element with a version list as well as a link to the other language documentation.

To build with webpack:

The resulting script is Dist/paraview-version.js.

Shell script to automate publication

usage: paraview_docs_uploader [options]
options:
-s path Paraview source directory, <MANDATORY>.
-b path Paraview build directory, <MANDATORY>.
-w path Working directory for this program, <MANDATORY>.
-k path SSH key to upload the docs.
-v version Force a version, Default: git-describe.
-u Update latest release.

For nightly or latest (i.e. latest release) you can pass in an additional parameter on the command line which is the name to use instead of git describe e.g.

paraview_docs_uploader -v nightly

Updating ParaView docs

Here are steps to update the ParaView docs manually. The instructions are have been tested on a Linux system.