Source code for the Earth Data Hub documentation, built with Sphinx. It uses the Shibuya theme and supports Markdown pages through MyST.
Run quality assurance checks:
make qaBuild the documentation locally:
make htmlOpen the generated HTML or serve it:
make serveThen go to http://localhost:8000.
Every page is also published as Markdown (page.md next to page.html), together with llms.txt and llms-full.txt, by sphinx-llm.
The "Use with AI" links use DOCUMENTATION_PORTAL_URL.
To try them locally, build with:
make html-llmUse these roles for badges matching the Earth Data Hub webportal:
{bdg-restricted}`Restricted`
{bdg-edh-keyword}`EDH keyword`
{bdg-draft}`Draft`
{bdg-deprecated}`Deprecated`
{bdg-geobrowser}`Geobrowser available`READTHEDOCS_CANONICAL_URL:
Root of the documentation site (can also be a root absolute path). This is used by the sphinx-notfound-page plugin!BASE_URL:
external full URL to the EDH portalDATASTORE_INTERNAL_HOST:
Main EDH access domain (by defaultdata.earthdatahub.destine.eu)DATASTORE_HOST:
Alternative EDH access URL (required for restricted datasets, by defaultapi.earthdatahub.destine.eu)DOCUMENTATION_PORTAL_URL:
Public URL to the documentation portal (by defaulthttps://earthdatahub.destine.eu/docs)PRIVATE_TEST_DATASET_PATH:
Path to demo dataset to be displayed in quickstart guide (must be equal to same dataset on the web portal, defaults to/private/test-dataset-v1.zarr)
- Documentation and other content: Creative Commons Attribution 4.0 International Public License
- Code: Apache License, Version 2.0