This folder contains the source codes for the generic ParaMonte documentations.
To regenerate the ParaMonte generic documentation from source,
-
If you have not done so already, follow the instructions given in the parent folder README.md.
-
Navigate to the folder where this README.md file is located.
-
Ensure all current and past versions of the language-specific ParaMonte documentations are in place in ../paramonte folder.
-
Install Jekyll on your system. Alternatively, install this version of Doxygen that is specifically customized by the ParaMonte developers for the documentation needs of the ParaMonte library.
-
Navigate to the specific generic library version you wish to edit.
-
On the command line, ensure the Jekyll bundler has installed all required Ruby gems listed in
Gemfile.lock
on your system via,bundle install
If you wish to recreate the
Gemfile.lock
file, try instead,bundle check
-
Navigate again back to the parent folder where this
README.md
file is located. -
Rebuild the generic documentations for the current and past major ParaMonte versions by calling the following script on the Bash command-line,
./build.sh
-
Inspect the generated documentation by opening the HTML file located at
../paramonte/generic/MAJOR_VERSION/index.html
where you must replaceMAJOR_VERSION
with the generic ParaMonte library's major version in the ParaMonte repository. This is the version found in the root directory of the ParaMonte repository. -
Once the generic documentation is built, rerun the build script once more for all languages. However, before rerunning the documentation builds, ensure the generic documentations are up to date and exist in ../paramonte. This second documentation rebuild is required for proper linking of different language documentations.
-
If everything looks good, then navigate to the folder ../paramonte and stage, commit, and push the new documentations to the
ParaMonte
documentation repository on GitHub.git add --all git commit -m"latest documentation build" git push --all
NOTE
The ParaMonte documentation builds have only been tested on Linux system.