Skip to content
README.md 1.52 KiB
Newer Older
Justin Weber's avatar
Justin Weber committed
# MFIX-Exa Documentation
This is the documentation for MFIX-Exa. Every merge request to `main` will get
built and synced to the AWS S3 bucket, through the pipeline, making the edits live.
Side branches will only be built through the pipeline. The job artifact can be
downloaded to see the built documentation.
Ann Almgren's avatar
Ann Almgren committed

Justin Weber's avatar
Justin Weber committed
## User Manual
Ann Almgren's avatar
Ann Almgren committed

Justin Weber's avatar
Justin Weber committed
The MFIX-Exa User Manual is built using [sphinx](https://www.sphinx-doc.org/en/master/)
with the source located in `docs/user-manual`. The `docs/user-manual/config.py`
file contains the settings for building this documentation.
Justin Weber's avatar
Justin Weber committed
AWS S3: https://exa-doc.s3.amazonaws.com/user-manual/latest/index.html
MFIX: https://mfix.netl.doe.gov/doc/mfix-exa/guide/latest
Justin Weber's avatar
Justin Weber committed

Justin Weber's avatar
Justin Weber committed
## MFIX-Exa PIC VVA Manual

The MFIX-Exa User Manual is built using [sphinx](https://www.sphinx-doc.org/en/master/)
with the source located in `docs/picvva`. The `docs/picvva/config.py`
file contains the settings for building this documentation.

AWS S3: https://exa-doc.s3.amazonaws.com/pic-vva/latest/index.html
MFIX: https://mfix.netl.doe.gov/doc/mfix-exa/vva/pic/latest

## How to build docs locally
Justin Weber's avatar
Justin Weber committed

The documentation is built using
Justin Weber's avatar
Justin Weber committed
[sphinx](https://www.sphinx-doc.org/en/master/).  The documentation
Justin Weber's avatar
Justin Weber committed
can be built locally by:

1. Install sphinx:

```shell
> pip install sphinx sphinx_rtd_theme sphinx-tabs
Justin Weber's avatar
Justin Weber committed
```

2. Build the documentation:

```shell
> mkdir build
> sphinx-build -b html docs/source_docs/ build
Justin Weber's avatar
Justin Weber committed
```

The HTML pages will now be located in the `build` directory. Open the
`index.html` with your favorite browser:
Justin Weber's avatar
Justin Weber committed
```shell
> firefox build/index.html
```