diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..e435021 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,20 @@ +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +version: 2 + +build: + os: ubuntu-22.04 + tools: + python: "3" + jobs: + pre_build: + # Ensure appregistry is generated + - ./tools/configure_wasp_apps.py wasp.toml + +python: + install: + - requirements: docs/requirements.txt + +sphinx: + configuration: docs/conf.py diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000..aab392a --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1 @@ +tomli diff --git a/tools/configure_wasp_apps.py b/tools/configure_wasp_apps.py old mode 100644 new mode 100755 index 2a933c1..0431698 --- a/tools/configure_wasp_apps.py +++ b/tools/configure_wasp_apps.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 """Configure the wasp distribution based on the provided wasp.toml config This script generates the following files and directories