canonical / sphinx-docs-starter-pack

A documentation starter-pack
https://canonical-starter-pack.readthedocs-hosted.com/
Other
13 stars 35 forks source link

fix: Makefile improvements for venv, woke, pa11y, 'clean' #185

Closed akcano closed 6 months ago

akcano commented 6 months ago

This fixes a bug that caused make install to fail if there was no venv module available, which may be the case on Debian/Ubuntu systems ([1], also mentioned in Python's error message).

Also, this PR removes install's dependency on woke-install; while the check itself is mandatory, having separate *-install targets for doc check tools is a more consistent arrangement.

Links: [1] https://bugs.launchpad.net/ubuntu/+source/python3.4/+bug/1290847