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 "Copy page" and "Open in ..." buttons point to the Markdown on the production site: to try them locally, build with
make html O="-D html_baseurl=http://localhost:8000/"Use 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 be also a root absolute path)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:
Public URL to the documentation portal (by defaulthttps://earthdatahub.destine.eu/docs)
- Documentation and other content: Creative Commons Attribution 4.0 International Public License
- Code: Apache License, Version 2.0