Improve error reporting in docs
This MR attempts to fix the currently broken documentation, and improves the error reporting when the docs helper script fails to render an environment.
Maintenance will be performed on git.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 24 September 2024 starting at approximately 9am PDT. It is expected to take around 30 minutes and there will be several periods of downtime throughout the maintenance. Please address any comments, concerns, or questions to the helpdesk.
This MR attempts to fix the currently broken documentation, and improves the error reporting when the docs helper script fails to render an environment.