thclark / pre-commit-sphinx

A pre-commit hook that will fail if documentation (eg for readthedocs.io) can't be built using sphinx
MIT License
3 stars 14 forks source link

Upgrade Sphinx #5

Open cortadocodes opened 2 weeks ago

cortadocodes commented 2 weeks ago

This action no longer works for me due to this error:

Build Sphinx Docs........................................................Failed
- hook id: build-docs
- exit code: 1

Running Sphinx v4.5.0

Sphinx version error:
The sphinxcontrib.applehelp extension used by this project needs at least Sphinx v5.0; it therefore cannot be built with this version.

I made a branch that fixes it before realising this isn't an Octue repo. Shall I fork and open the PR?

cortadocodes commented 2 weeks ago

Hang on, I've fixed it by changing the additional_dependencies for the pre-commit hook. Let me know if this is still relevant