When working on major documentation changes for new releases New Relic doesn't always want those to be available to public view in the form of open PRs or draft PRS, therefore we need to come up with a way to:
Multiple writers are making changes to dozens or hundreds of docs ahead of a large launch. They need to stay in sync with each other, review one anothers' work, and easily deploy on release day.
A writer is working on several sets of inter-related changes to a doc ahead of a release. They need to share those changes with a PM to get their review
https://medium.com/@bilalbayasut/github-how-to-make-a-fork-of-public-repository-private-6ee8cacaf9d3
@austin-schaefer feel free to add context or use cases.
Notes from Slack chat on this:
Isn't this the same use case as the preview/private private docs site?
@austin-schaefer : It's pretty different鈥攖his is about working on dozens/hundreds of edits to different pages in preparation for a release.
Can we just handle this with local branches?
@austin-schaefer :
Local-only isn't really an option unfortunately. There's two main issues:
Previews
@jerelmiller : Do you need PR previews or anything like that? I just mean not available at a published URL. Since its git, you'd still be able to checkout someones branch, and yarn start to see the changes. otherwise, the regular GitHub workflow would remain the same
@austin-schaefer : Ye-es, I think that would work but I probably need to chew on this longer.
@jerelmiller : That sounds good. We could technically spin up a 3rd Amplify instance and connect it to the private fork, but would be one more thing to manage
Example use cases:
@zstix I'm wondering if this is small enough if we could just knock it out in Sprint 1, and get it off our list of things to do. Thoughts. 馃
We have some _rough_ steps for how to do this via a fork workflow here. We can work to clean up that documentation and then check with the writers to see if this meets our needs.
Our first non-engineering approach will be to better articulate how this can be done using the existing GIT workflow for private edits. We'll then evaluate how that is going for a while and consider other contributor needs that aren't being met using a standard GIT workflow that exist for developers who do work this same way on projects. @austin-schaefer .
We hope we can solve this with little to no engineering, but we are open to evaluating this further in the future.
@nr-kkenney chatted in depth about this ticket and:
beta or preview doc. It's possible if we do replicate the site that this wouldn't be a problem as we'd have all the core functionality available to a user previewing abeta or preview doc.Thanks for the context @zstix @jpvajda . Can we set up a call to walk through these options in greater detail? As I mentioned to @jpvajda the other day in Slack, if you can set up a call w/ me and then I can add other writers as-needed.
We have an internal doc under review now... once we confirm our approach will work, we can document it in in the Contributor guide.
pr merged. closing.
future / related work is captured in #1685, #1686.