Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pages update #87

Merged
merged 2 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,8 @@ sphinx:
config:
html_show_copyright: false
html_last_updated_fmt: "%b %d, %Y"
apidoc_module_dir: ../space2stats_api/src
extra_extensions:
- 'sphinx.ext.autodoc'
- sphinx.ext.napoleon
- sphinxcontrib.apidoc
25 changes: 15 additions & 10 deletions docs/_toc.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
format: jb-book
root: README
root: docs/readme.md

parts:
- caption: Concept Note
numbered: False
chapters:
- file: docs/Introduction.md
- caption: Example summaries
- file: docs/Introduction.md
- file: docs/annexA.md
- caption: S2S Sub-tasks
numbered: False
chapters:
- file: notebooks/Space2Stats_Comparing_H3_WBAdmin.ipynb
- file: notebooks/Space2Stats_RunZonal.ipynb
- file: notebooks/Space2Stats_RunZonal_HTI.ipynb
- caption: Food Security
- file: docs/sub_tasks/admin_bounds.md
- file: docs/sub_tasks/sub_national_poverty.md
- file: docs/sub_tasks/geest.md
- file: docs/sub_tasks/geo_enhancement.md
- caption: S2S Examples
numbered: False
chapters:
- file: notebooks/h3-food-security.ipynb
- caption: Additional Resources
- file: notebooks/user-docs/space2stats_py_package_demo.ipynb
- file: notebooks/user-docs/space2stats_api_demo.ipynb
- file: notebooks/user-docs/space2stats_api_demo_R.Rmd
- caption: S2S Python Documentation
numbered: False
chapters:
- file: docs/annexA.md
- file: docs/api.rst
2 changes: 1 addition & 1 deletion docs/annexA.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Annex A: Datasets to be Summarized
# Annex A: S2S Datasets
|Phase|Category|Variable Name|Source|
|:----|:----|:----|:----|
|1|Access|Distance to airport |Global Friction Surface 2019|
Expand Down
9 changes: 9 additions & 0 deletions notebooks/user-docs/space2stats_api_demo.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Access S2S api directly\n",
"\n",
"This notebook walks through an example of sending an API call directly without using the space2stats python library"
]
},
{
"cell_type": "code",
"execution_count": 1,
Expand Down
9 changes: 8 additions & 1 deletion notebooks/user-docs/space2stats_py_package_demo.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Access S2S via Python Library"
]
},
{
"cell_type": "code",
"execution_count": 39,
Expand Down Expand Up @@ -33,7 +40,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Expected environment variables to be set\n",
"__Expected environment variables to be set__ from dotenv file\n",
"\n",
"\n",
"```.env\n",
Expand Down
Loading