pallets-eco / flask-debugtoolbar

A toolbar overlay for debugging Flask applications
https://flask-debugtoolbar.readthedocs.io
BSD 3-Clause "New" or "Revised" License
953 stars 146 forks source link

Need to enable "Install Project" on RTD #109

Closed jeffwidman closed 4 years ago

jeffwidman commented 7 years ago

Right now, we are manually setting version in setup.py and conf.py which is annoying. conf.py should be updated to use pkg_resources.get_distribution('Flask-DebugToolbar').version.

Unfortunately, when I tried this, it broke ReadTheDocs because they are not first installing the package before building the docs.

Poking through RTD documentation, it looks like RTD has a "Install Project" option that will force package install before building: http://docs.readthedocs.io/en/latest/builds.html#understanding-what-s-going-on

Unfortunately, I don't have the proper access rights in RTD to do this.

mgood commented 7 years ago

@jeffwidman added you as a maintainer on RTD

jeffwidman commented 4 years ago

I enabled "Install Project" option in their UI. Looks like their recommended thing is to add a RTD config file. Maybe get to that in the future.