-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #142 Initial Sphinx+MyST doc setup
- Loading branch information
Showing
7 changed files
with
94 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
build/ | ||
_build/ | ||
venv/ | ||
.venv/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
project = "openEO Aggregator" | ||
|
||
extensions = [ | ||
"myst_parser", | ||
"sphinx_design", | ||
"sphinxcontrib.mermaid", | ||
] | ||
myst_enable_extensions = ["colon_fence"] | ||
|
||
root_doc = "index" | ||
html_theme = "furo" | ||
|
||
|
||
exclude_patterns = [ | ||
"_build", | ||
"build", | ||
".venv", | ||
"venv", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
|
||
# Configuration | ||
|
||
|
||
|
||
The openEO Aggregator can be configured through a `AggregatorBackendConfig` class | ||
|
||
|
||
|
||
## Gunicorn configuration | ||
|
||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
# Installation | ||
|
||
The openEO Aggregator can be installed via pip: | ||
|
||
```shell | ||
python -m pip install openeo-aggregator | ||
``` | ||
|
||
|
||
## Requirements | ||
|
||
- Optional: a Zookeeper cluster for caching and partitioned job db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
# Usage | ||
|
||
## Run with Flask in development mode | ||
|
||
```shell | ||
export FLASK_APP='openeo_aggregator.app:create_app()' | ||
export FLASK_ENV=development | ||
flask run | ||
``` | ||
|
||
## Run with Gunicorn | ||
|
||
```shell | ||
gunicorn 'openeo_aggregator.app:create_app()' | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Sphinx~=7.3.7 | ||
myst-parser~=3.0.1 | ||
sphinx-design~=0.6.0 | ||
furo~=2024.5.6 | ||
sphinxcontrib-mermaid~=0.9.2 |