Skip to content

Commit

Permalink
Merge cdebfda into 748be93
Browse files Browse the repository at this point in the history
  • Loading branch information
mlincett committed Sep 26, 2022
2 parents 748be93 + cdebfda commit 3ce72ab
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 60 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
flarestack.egg-info
*.pyc
docs/build
File renamed without changes.
7 changes: 6 additions & 1 deletion README.md
Expand Up @@ -43,7 +43,7 @@ This will resolve your environment and install all dependencies.

Another option is to use *pip*
```bash
pip install flarestack.
pip install flarestack
```

### OPTION B: Actually, I want to see the backend code myself. Maybe I want to contribute to it!
Expand All @@ -62,6 +62,11 @@ poetry install
```
This will install all packages as documented in the `poetry.lock` file.

If you want to also build the documentation locally, you should install the respective dependencies:

```bash
poetry install --with docs
```

You can still use `pip` if you want to:

Expand Down
19 changes: 0 additions & 19 deletions docs/Makefile

This file was deleted.

35 changes: 0 additions & 35 deletions docs/make.bat

This file was deleted.

2 changes: 1 addition & 1 deletion docs/source/conf.py
Expand Up @@ -89,7 +89,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = "en"

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down
4 changes: 0 additions & 4 deletions docs/source/getting_started.rst

This file was deleted.

7 changes: 7 additions & 0 deletions docs/source/setup.md
Expand Up @@ -84,6 +84,13 @@ export FLARESTACK_SCRATCH_DIR=/path/to/scratch

A folder `flarestack__data` will be created in that directory. This is where you will find plots, pickle files and other files produced by the code.

## Building documentation
*flarestack* documentation is available at [Read the Docs](flarestack.readthedocs.io), however you may want to build it locally (especially if you are contributing to the project). To do this, run `sphinx-build` from the root directory of the repository:

```bash
sphinx-build -b html docs/source/ docs/build/html
```

## Testing *flarestack*

Is *flarestack* actually working? You can check the functionality of *flarestack* with *unit tests*. There are a suite of unit tests to cover *flarestack* functionality, which can be run from the base *flarestack* directory with:
Expand Down

0 comments on commit 3ce72ab

Please sign in to comment.