Skip to content

Previews in pull requests - #105

Merged
pradyunsg merged 3 commits into
python:mainfrom
hugovk:rtd-preview
Feb 13, 2023
Merged

Previews in pull requests#105
pradyunsg merged 3 commits into
python:mainfrom
hugovk:rtd-preview

Conversation

@hugovk

@hugovkhugovk commented Jan 31, 2023

Copy link
Copy Markdown
Member

Fixes#70.

#70 suggested Read the Docs and Netlify, but we have a bit of a bus factor problem with Netlify on the CPython docs due to only having a single account that can access the admin, so let's use Read the Docs as well. We're using it successfully in the PEPs repo.

Here's a demo build:

Draft because:

And we need to set up Read the Docs:

@hugovkhugovk mentioned this pull request Jan 31, 2023
@hugovk

Copy link
Copy Markdown
MemberAuthor

Ping @Mariatta

@JDLH

JDLH commented Feb 6, 2023

Copy link
Copy Markdown

I wasn't aware of the term "bus factor". For the information of others like me, it refers to a risk that critical roles in a project are limited to a small number of people, in the sense of "in case they get hit by a bus". There is a nice Wikipedia article, Bus factor.

@hugovkhugovk changed the title Build CPython docs on Read the DocsPreviews in pull requestsFeb 6, 2023
@Mariatta

Copy link
Copy Markdown
Member

Project created: https://readthedocs.org/projects/python-docs-theme-previews/

Who else should I add as maintainers?

@hugovk

Copy link
Copy Markdown
MemberAuthor

Thanks! Maybe @JulienPalard, @ezio-melotti and me?

@pradyunsg

Copy link
Copy Markdown
Member

I'd be happy to be listed as well, if we don't have enough people. :)

@Mariatta

Copy link
Copy Markdown
Member

I'll need your readthedocs usernames: @hugovk, @pradyunsg, @JulienPalard, @ezio-melotti

@pradyunsg

Copy link
Copy Markdown
Member

I'm pradyunsg (perhaps, unsurprisingly).

@hugovk

Copy link
Copy Markdown
MemberAuthor

I'm hugovk (perhaps, unsurprisingly).

@Mariatta

Copy link
Copy Markdown
Member

Invites sent.

@hugovk

Copy link
Copy Markdown
MemberAuthor

I'll close this and re-open it as a new PR, and hopefully it will trigger an RTD build 🤞

@hugovkhugovk closed this Feb 7, 2023
@hugovkhugovk mentioned this pull request Feb 7, 2023
@hugovk

Copy link
Copy Markdown
MemberAuthor

Nope, didn't trigger for #107, re-opening this.

It worked on my fork, I'll compare settings:

@hugovkhugovk reopened this Feb 7, 2023
@hugovk

Copy link
Copy Markdown
MemberAuthor

OK, so the incoming GitHub webhook is good on my fork (at https://readthedocs.org/dashboard/hugovk-python-docs-theme/integrations/225260/):

Detailsimage

And I also see a webhook (at https://github.com/hugovk/python-docs-theme/settings/hooks):

Detailsimage

But not for this repo (at https://readthedocs.org/dashboard/python-docs-theme-previews/integrations/225787/):

Detailsimage

If I click "Resync webhook" I get "Webhook activation failed. Make sure you have the necessary permissions", which makes sense as I don't have admin permissions here.


@Mariatta Please can you try the "Resync webhook" button at https://readthedocs.org/dashboard/python-docs-theme-previews/integrations/225787/?

And is there anything at https://github.com/python/python-docs-theme/settings/hooks?

@hugovk

Copy link
Copy Markdown
MemberAuthor

Łukasz has enabled we hooks. 🎣

Close/re-open to retrigger...

@hugovkhugovk closed this Feb 7, 2023
@hugovkhugovk reopened this Feb 7, 2023
@hugovk
hugovk marked this pull request as ready for review February 7, 2023 21:37
@hugovk

Copy link
Copy Markdown
MemberAuthor

Deploy preview is now built!

Ready for review!

https://python-docs-theme-previews--105.org.readthedocs.build/en/105/

@pradyunsg
pradyunsg merged commit 506e0f2 into python:mainFeb 13, 2023
@hugovk
hugovk deleted the rtd-preview branch February 13, 2023 11:04
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Previews in pull requests

4 participants

@hugovk@JDLH@Mariatta@pradyunsg