Design ideas for Phlex, which is intended to satisfy DUNE's data-processing framework requirements.
The design document is assembled using Sphinx. To build the document:
-
Clone this repository.
-
Make sure you have installations of the following:
-
pdflatex
along with the required LaTeX packages- Most TeX installations will include the required packages.
If additional packages are required, a LaTeX error will be generated when typing
make latexpdf
, and the required packages can be installed usingtlmgr
.
- Most TeX installations will include the required packages.
If additional packages are required, a LaTeX error will be generated when typing
-
If you do not already have all the necessary software installed, you might install Conda, and use Conda to install the required products. Full documentation for Conda is available at https://docs.conda.io/en/latest/. Assuming you already have a LaTeX installation, the following Conda command will install everything else you need into an environment named
for-dune-framework-docs
.conda create -n for-dune-framework-docs sphinx plantuml doxygen pandoc sphinx-needs
-
Navigate to the
doc
subdirectory and typemake latexpdf
.
If you wish to develop documentation in VSCode, we make the following suggestions:
-
Add the reStructuredText extension to your VSCode installation.
-
Ensure the availability of the following Python packages (e.g. via conda):
conda install -n for-dune-framework-docs doc8 esbonio rstcheck
-
Make the following additions to
.vscode/settings.json
, adjusting paths as necessary:{ // ...existing settings... "restructuredtext.linter.doc8.extraArgs": ["--ignore", "D001"], "restructuredtext.sphinxBuild.pythonPath": "~/miniforge3/envs/for-dune-framework-docs/bin/python", "restructuredtext.languageServer.enabled": true }
-
Make the following additions to
.vscode/tasks.json
, adjusting paths as necessary:{ "version": "2.0.0", "tasks": [ { "type": "shell", "label": "Build Sphinx PDF (latexpdf)", "command": "~/miniforge3/bin/conda run -n for-dune-framework-docs make latexpdf", "args": [], "group": "build", "problemMatcher": [], "isBackground": false } ] }