This repository contains documentation for IMPROVE and related projects. All documents are written using reStructuredText (rst) and compiled with sphinx into the destination format. On change, documents in the main branch will be automatically recompiled and released. The documentation is viewable at: https://jdacs4c-improve.github.io/docs/index.html
Everyone is welcome to request features and add or update the documentation.
External users can create an issue or fork this repository, create a feature branch and make a pull request for this branch. Don't request to merge into the main branch directly.
Project members can directly update this repository.
- Create a feature branch using the following naming schema: your_name/short_description
- Push your branch to the repository and make a pull request to merge into the main branch
- Assign at least one reviewer and one person to handle the merge request.
- Create conda environment if desired:
conda create --name IMPROVE python=3.9.16
conda activate IMPROVE
- Get docs repo and install dependencies:
git clone https://github.com/JDACS4C-IMPROVE/docs.git
or
git clone git@github.com:JDACS4C-IMPROVE/docs.git
Switch into directory and install sphinx:
cd docs
pip install -r requirements.txt
- Create or edit documents within the contents directory.
- Build html pages. You have to be in the top level directory of the docs repository:
make html
- The process will create a directory called _build within your docs repository. Open the index.html file located inside the _build directory with your browser.
We use long lines for flowing text and manually-wrapped lines in indented lists.