GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Deploy pull request changes to Netlify so we can preview the devguide · Issue #463 · python/devguide

Deploy pull request changes to Netlify so we can preview the devguide #463

New issue
Copy link
New issue
Copy link
Closed
Closed
Deploy pull request changes to Netlify so we can preview the devguide#463
Copy link

Description

@Mariatta
Mariatta
opened on Feb 12, 2019
Issue body actions

Original thread in core-workflow mailing list:
https://mail.python.org/archives/list/[email protected]/thread/5FBBRHIWXWRCGHHKCU7WQR3MNFEX4647/

It would be great if we can have a preview of the docs on the internet (without having to manually build it ourselves locally). This is useful for reviewers who want to view the changed documentation.

Service like netlify allows us to deploy the pull request changes for preview.

Before integrating this for docs.python.org, it would be great to try this out in devguide.

cc @matrixise

Activity

  1. Mariatta commented on Feb 12, 2019

    @Mariatta
    Mariatta
    on Feb 12, 2019
    MemberAuthor
    More actions

    GitMate.io thinks possibly related issues are #133 (Update Devguide about pull request commit documentation.), #104 (Should an issue be created first, before the Pull Request?), #215 (Editing pull request: Can we rebase instead of merge?), #325 (Add tricks for the Pull Requests review?), and python/core-workflow#39 (checking code style for pull request).

  2. ewdurbin commented on Feb 12, 2019

    @ewdurbin
    ewdurbin
    on Feb 12, 2019
    Member
    More actions

    I believe this was successful for pypa/setuptools, as was setup back at PyCon 2018 sprints. Let me know if you need any assistance and I can try to recall what went into that process.

  3. Mariatta commented on Feb 12, 2019

    @Mariatta
    Mariatta
    on Feb 12, 2019
    MemberAuthor
    More actions

    I think I got it setup? 😅
    test PR #464
    https://deploy-preview-464--cpython-devguide.netlify.com/

    But I had signed up using a personal account on netlify. Perhaps I should transfer this to you or to the PSF?

  4. ewdurbin commented on Feb 12, 2019

    @ewdurbin
    ewdurbin
    on Feb 12, 2019
    Member
    More actions

    I'm already acting as the Owner for pypa/setuptools with two other administrators.

    Happy to accept the transfer and add your user as an Admin. If possible I'd love to recruit one other user for the role.

    Reacted by Mariatta
  5. Mariatta commented on Feb 12, 2019

    @Mariatta
    Mariatta
    on Feb 12, 2019
    MemberAuthor
    More actions

    Sounds great! I tried looking into netlify and couldn't really figure out how to transfer or add other admins 😅 Let me know what to do here.

  6. willingc commented on Feb 13, 2019

    @willingc
    willingc
    on Feb 13, 2019
    Collaborator
    More actions

    I'm happy to act as another Admin for the dev guide @Mariatta @ewdurbin unless there is someone else that wishes to do so. I already have the netlify toolchain on my system.

    Reacted by Mariatta
  7. matrixise commented on Feb 14, 2019

    @matrixise
    matrixise
    on Feb 14, 2019
    Member
    More actions

    @Mariatta I could work on this issue with the doc

  8. ewdurbin commented on Feb 14, 2019

    @ewdurbin
    ewdurbin
    on Feb 14, 2019
    Member
    More actions

    @Mariatta can you share what if any particular settings in netlify were needed to create the initial setup? I can go ahead and create a new project and add the new admins.

  9. Mariatta commented on Feb 14, 2019

    @Mariatta
    Mariatta
    on Feb 14, 2019
    MemberAuthor
    More actions

    I went to netlify, and added python/devguide repo.
    Then in the build settings:
    Build command: sphinx-build -n -W -q -b html -d _build/doctrees . _build/html
    Publish directory: _build/html
    Branch: master.

    I think that's all.

    Under Build & deploy > Continuous Deployment > Deploy contexts, just ensure the Deploy previews: "Automatically build deploy previews for all pull requests" is selected (I think it was by default)

    Thanks.

  10. willingc commented on May 10, 2019

    @willingc
    willingc
    on May 10, 2019
    Collaborator
    More actions

    @Mariatta I'm going to close this since it seems to be working well.

  11. willingc
    closed this as completedon May 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.