diff --git a/.gitmodules b/.gitmodules index 3b6b6be..74b4759 100644 --- a/.gitmodules +++ b/.gitmodules @@ -5,3 +5,6 @@ [submodule "submodules/edutap.wallet_apple"] path = submodules/edutap.wallet_apple url = https://github.com/edutap-eu/edutap.wallet_apple.git +[submodule "submodules/edutap.esc_router_api"] + path = submodules/edutap.esc_router_api + url = https://github.com/edutap-eu/edutap.esc_router_api.git diff --git a/requirements.txt b/requirements.txt index 0a857c1..89563d5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,9 @@ sphinx-issues sphinx-copybutton sphinxcontrib-mermaid sphinx-autobuild +sphinx-design sphinxcontrib.spelling autodoc_pydantic -e submodules/edutap.wallet_google -e submodules/edutap.wallet_apple +-e submodules/edutap.esc_router_api diff --git a/source/conf.py b/source/conf.py index fe52166..b0b8aaa 100644 --- a/source/conf.py +++ b/source/conf.py @@ -42,6 +42,8 @@ "sphinx.ext.autodoc", "sphinx.ext.autosummary", "sphinxcontrib.autodoc_pydantic", + # The esc_router_api landing page uses grids and cards. + "sphinx_design", ] # Add any paths that contain templates here, relative to this directory. @@ -50,7 +52,16 @@ # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This pattern also affects html_static_path and html_extra_path. -exclude_patterns = [] +exclude_patterns = [ + # The package documentation is symlinked in from each submodule's own `docs/` + # directory, so whatever else lives there arrives with it: the package's own + # Sphinx configuration, its build output, its documentation virtualenv, and its + # working documents. None of that belongs in this build. + "packages/*/conf.py", + "packages/*/_build/**", + "packages/*/.venv/**", + "packages/*/superpowers/**", +] # -- Options for HTML output ------------------------------------------------- diff --git a/source/packages/edutap_esc_router_api b/source/packages/edutap_esc_router_api new file mode 120000 index 0000000..d24d0bb --- /dev/null +++ b/source/packages/edutap_esc_router_api @@ -0,0 +1 @@ +../../submodules/edutap.esc_router_api/docs/ \ No newline at end of file diff --git a/source/packages/index.md b/source/packages/index.md index 1473908..6c449db 100644 --- a/source/packages/index.md +++ b/source/packages/index.md @@ -11,5 +11,6 @@ caption: Contents getting_started.md edutap_wallet_google/index.md edutap_wallet_apple/index.md +edutap_esc_router_api/index.md ``` \ No newline at end of file diff --git a/submodules/edutap.esc_router_api b/submodules/edutap.esc_router_api new file mode 160000 index 0000000..b78746f --- /dev/null +++ b/submodules/edutap.esc_router_api @@ -0,0 +1 @@ +Subproject commit b78746fe3753adc8fa2a560f37c35a3be04e6f34