pvlib / pvlib-python

A set of documented functions for simulating the performance of photovoltaic energy systems.
https://pvlib-python.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.17k stars 993 forks source link

build and serve docs using ghpages in addition to rtfd.org #296

Closed mikofski closed 4 years ago

mikofski commented 7 years ago

Priority: Very very low

Since there seem to be occasional gliches and errors serving docs at rtfd.org maybe the ghpages at pvlib.github.io/pvlib-python should be activated. I know it's an additional PITA, but maybe there are also upsides like a chance to test rendered docs, an alternate site in case rtfd goes down? Maybe there is a way to automate build and deploy using travis?. It seems like there are a few examples? Here's a blog post and an article in medium.

Anyway, just an idea, based on the issue with forecasting docs described in this SO post.

wholmgren commented 7 years ago

I have considered moving the documentation to gh-pages in the past. It seems like a minor pain to make it work for the master version, but branching, releases, and forks look more complicated. doctr looks helpful for some of that. I'm not happy with either ghpages or rtd at this point.

I recently watched the metpy project refactor its documentation Unidata/MetPy#283 and I think there's some good examples for us there.

wholmgren commented 4 years ago

Readthedocs has really improved over the last few years so I no longer see any benefit to this. I'm not opposed to adding strict doc builds to the CI to catch errors/warnings, but let's leave the complications of serving docs to RTD.