ansys / pygranta

PyGranta metapackage
https://grantami.docs.pyansys.com/
MIT License
0 stars 0 forks source link

Set user agent in Sphinx to avoid linkcheck failures #47

Closed Andy-Grigg closed 3 months ago

Andy-Grigg commented 3 months ago

It looks like requests to ansys.com are dropped if they have a user agent that looks like a web scraper. Builds are currently failing for this reason, but they seem to succeed if a browser-esque user agent is specified instead.

da1910 commented 3 months ago

Seems like a reasonable solution. Worth bringing this up internally however.