Skip to content

Framework-R-D/phlex-design

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

355 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phlex design

Design ideas for Phlex, which is intended to satisfy DUNE's data-processing framework requirements.

Building the design document

The design document is assembled using Sphinx. To build the document:

  1. Clone this repository.

  2. Make sure you have installations of the following:

    • Sphinx

    • 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 using tlmgr.
    • Graphviz

    • 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
  3. Navigate to the doc subdirectory and type make latexpdf.

Developing the design document in VSCode

If you wish to develop documentation in VSCode, we make the following suggestions:

  1. Add the reStructuredText extension to your VSCode installation.

  2. Ensure the availability of the following Python packages (e.g. via conda):

    conda install -n for-dune-framework-docs doc8 esbonio rstcheck
  3. 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
    }
  4. 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
        }
     ]
    }

About

Design ideas for Phlex

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6