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

Notify on Pull Requests when documentation is rendered in CI #13294

Open
phlax opened this issue Sep 28, 2020 · 4 comments
Open

Notify on Pull Requests when documentation is rendered in CI #13294

phlax opened this issue Sep 28, 2020 · 4 comments
Labels

Comments

@phlax
Copy link
Member

phlax commented Sep 28, 2020

description

when you make changes to documentation its rendered by CircleCI.

I think it would be useful for reviewers and contributors if the repo bot posted a message containing a link to the rendered docs.

I can imagine this working in one of 2 ways

posting the first time a change is noticed (and rendered)

im guessing the condition for this would be similar to the trigger used to notify api-shepherds etc when api changes happen - except for that it should wait until the docs have been rendered

posting every time docs changes happen (and are rendered)

i think this would be a bit more complex and would involve comparing commits in the PR or perhaps cached artefacts

in some ways this would be more useful - because you would have the most up-to-date link - but in other ways it would be a bit more of a thread-hog

refs

@phlax phlax added enhancement Feature requests. Not bugs or questions. triage Issue requires triage labels Sep 28, 2020
@phlax
Copy link
Member Author

phlax commented Sep 28, 2020

cc @itayd

@phlax
Copy link
Member Author

phlax commented Sep 28, 2020

if we were to go with the first option, i think it would also want to watch for changes in protocols etc - anything that would cause docs to change

@mattklein123 mattklein123 added area/docs help wanted Needs help! and removed enhancement Feature requests. Not bugs or questions. triage Issue requires triage labels Sep 28, 2020
@mattklein123
Copy link
Member

Agreed this would be neat.

@phlax
Copy link
Member Author

phlax commented Oct 4, 2020

thinking more about implementation, i think it would be a pita if it emitted every time eg api/docs changed, if you were working on api and not interested in seeing the docs being rebuilt particularly

i reckon it should do the following:

  • on a new PR, if it changes docs/api (or perhaps first time it touches those dirs in any PR) it emits
  • add a /docs command to print the last build of the docs

@mattklein123 mattklein123 added this to the 1.17.0 milestone Oct 11, 2020
@mattklein123 mattklein123 modified the milestones: 1.17.0, 1.18.0 Jan 7, 2021
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 a pull request may close this issue.

2 participants