rcpch / rcpch-audit-engine

Epilepsy12 Audit Platform
https://e12.rcpch.ac.uk/
GNU Affero General Public License v3.0
5 stars 5 forks source link

Fix the docs #1042

Closed mbarton closed 2 months ago

mbarton commented 2 months ago

When we migrated to Azure Container Apps (#1029) I forgot that the documentation was hosted via mkdocs serve and a special route in the Caddyfile. There was nothing in the new setup that reproduced this, so we fell back to the old iframe docs route which referenced a static site that no longer exists.

To put the docs back to how they were I've configured Whitenoise to serve them. Unfortunately this means we need to run docker compose build twice because we use the Django container to run mkdocs as we have plugins installed. In practice though all the base layers are already built so it's not much slower.

I've tested this by manually editing the GitHub deploy workflow to deploy to staging from this branch.

mbarton commented 2 months ago

Overdue on STAGING, LIVE (merged by @mbarton 30 minutes and 3 seconds ago) What's gone wrong?

mbarton commented 2 months ago

Seen on STAGING, LIVE (merged by @mbarton 34 minutes and 16 seconds ago) Please check your changes!

SAbdin93 commented 2 months ago

Thanks Michael! :)