rochacbruno / python-project-template

DO NOT FORK, CLICK ON "Use this template" - A github template to start a Python Project - this uses github actions to generate your project based on the template.
https://github.com/rochacbruno/python-project-template/generate
The Unlicense
1.06k stars 157 forks source link

add macOS support for the 'docs' make target #37

Closed danielpodwysocki closed 8 months ago

danielpodwysocki commented 8 months ago

Summary :memo:

This adds macOS support for the docs Makefile target.

Currently it only uses Linux-specific commands to open up the docs after generating them, causing errors for macOS users.

Details

  1. The open command will be called if none of the Linux-specific ones succeed. If any of them work beforehand, this will not be executed and the target will work same as before this change.