Opened 7 years ago

Closed 7 years ago

#7247 closed enhancement (wontfix)

post-update hook to rebuild docs

Reported by: atagar Owned by: Sebastian
Priority: Low Milestone:
Component: Core Tor/Stem Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Hi, stem is presently hosting its documentation on read-the-docs...
https://stem.readthedocs.org/en/latest/index.html

The site does a nightly sphinx build of stem's reStructuredText documentation. This is nice, but frequently means that I do manual rebuilds to make the documentation update sooner.

Read-the-docs also has support for hooks to do rebuilds...
https://docs.readthedocs.org/en/latest/webhooks.html#others

Could I please have a post-update in stem's repo that issues a curl command? Issuing it for the following url should do the trick...

http://readthedocs.org/build/4821

Thanks! -Damian

PS. We don't have a 'git' or 'infrastructure' component so just going for a manual assignment. Sorry if I should be sending this to someone else.

Child Tickets

Change History (1)

comment:1 Changed 7 years ago by atagar

Resolution: wontfix
Status: newclosed

15:06 < atagar> Sebastian: https://trac.torproject.org/7247
15:06 < atagar> (absolutely no rush, just pointing it out in case it gets lost in the email)
15:08 < atagar> I'm a little surprised that git doesn't have a post-push client hook. That would do the trick too... :/
15:23 < Sebastian> atagar: can't you do it in your local repo?
15:23 < Sebastian> I would very much like to avoid hooks in our setup.
15:24 < atagar> Gotcha, that's fine. Any suggestion for the hook, or best just go with a curl alias that I run after the push?
15:26 < Sebastian> I would use an alias for git push or something
15:26 < atagar> ok, will do
15:26 * atagar resolves the ticket

Note: See TracTickets for help on using tickets.