Automated publication of ParaView documentation.
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:
npm install
npm run build:release
The resulting script is Dist/paraview-version.js
.
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.
Here are steps to update the ParaView docs manually. The instructions are have been tested on a Linux system.
PARAVIEW_BUILD_DEVELOPER_DOCUMENTATION
CMake flag turned ON. You may also want to enable all appropriate features e.g. Python support, MPI support. With Python, make sure the sphinx-build:FILEPATH
points to the sphix-build script for correct version of Python.ParaViewDoc-TGZ
target e.g. ninja ParaViewDoc-TGZ
. This will generate the Doxygen and Sphinx generated docs.paraview_docs_uploader
script. Provide the optional version
command line argument when generated docs for latest
or nightly
instead of using the value obtained from git describe
executed on the source directory. The script will update and push the documentation changes to the kitware webserver.