debops-playbooks icon indicating copy to clipboard operation
debops-playbooks copied to clipboard

Proposed role: debops.rtfd

Open ypid opened this issue 9 years ago • 2 comments

As it seems to me that we now hit the build time limit on readthedocs.org I would suggest we write a role to self host our own read-the-docs service. Anyone wants to do it? This is kind of urgent.

Ref: https://read-the-docs.readthedocs.io/en/latest/install.html Obsoletes proposal: debops.sphinx Related to: https://github.com/debops/docs/issues/147

ypid avatar Nov 06 '16 12:11 ypid

Sounds like the role could be based on the debops.netbox role which deploys Python application using virtualenv.

drybjed avatar Nov 06 '16 19:11 drybjed

I have just been playing with GitLab and this could also be solved with using GitLab CI. The docs get build currently during CI anyway (Travis CI). Using GitLab artifacts and GitLab Pages, it is pretty easy to set it up so that in the test stage the docs get build and only if that succeeds, the docs get deployed. I actually quite like this approach. Also because then the docs are only build once. No redundant builds and we already have the roles for GitLab :)

Example: https://gitlab.com/ypid/hc (Check the coverage report)

ypid avatar Feb 23 '17 23:02 ypid