Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADD] build most recent docs; support python3 #1636

Merged
merged 1 commit into from Nov 26, 2018

Conversation

hbrunn
Copy link
Member

@hbrunn hbrunn commented Nov 23, 2018

you can see the result on https://doc.therp.nl/openupgrade (and didn't we want to move this to some OCA server? Or should we maybe publish this as github pages?)

@hbrunn
Copy link
Member Author

hbrunn commented Nov 23, 2018

travis error seems unrelated

@StefanRijnhart
Copy link
Member

Thanks! Travis error is usually fixed by forcing a different commit (git commit --amend +force push). Can you give it a try?

Copy link
Member

@StefanRijnhart StefanRijnhart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@StefanRijnhart StefanRijnhart merged commit f934960 into OCA:12.0 Nov 26, 2018
@pedrobaeza
Copy link
Member

Please tell me what is needed for moving this to OCA server. cc @sbidoul

@hbrunn
Copy link
Member Author

hbrunn commented Nov 26, 2018

you'll need python3-sphinx (it has autodoc included already) and a checkout of of latest openupgrade. Then run a cronjob that pulls it every night and runs this script. And configure the webserver to serve /odoo/openupgrade/doc/build/html from this checkout.

@pedrobaeza
Copy link
Member

OK, I'm not very used on this sysadmin works, but let's see if @sbidoul can handle this.

@sbidoul
Copy link
Member

sbidoul commented Nov 27, 2018

Can't we do this with readthedocs.io (as I do for mis builder)? Or using travis to publish to github pages (as is done for connector). I'd rather avoid yet another cron on the OCA server, and give full control to projects over the publish of their docs.

If the doc building script does not work for readthedocs, then gh pages should work.

@pedrobaeza
Copy link
Member

No problem for me :)

@hbrunn
Copy link
Member Author

hbrunn commented Nov 27, 2018

I also don't mind. Who needs to do what?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants