-
Notifications
You must be signed in to change notification settings - Fork 13
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
[Issue #1820] Syncs ADRs with wiki #1826
Conversation
This allows us to sync the ADRs between GitBook and GitHub
This is necessary to have them appear in GitBook UI and table of contents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR looks good to me!
Just to make sure, for the description you stated below, you are adding it to the wiki and it will remain in github? we're not removing it from github?:
Moves documentation/decisions/ to documentation/wiki/decisions/
I think we just need a couple follow up things to make sure we're aligned on the process. These do not block approval of the PR:
Note: Future ADRs should probably default to being drafted in GitBook. If ADRs are introduced via a PR in GitHub, they also need to be added to SUMMARY.md in order to appear in the wiki.
- That's easy to miss so we'll want to make it clear to the team that we're creating the ADRs in GitBook now.
- Could you remind me @widal001 how often we're syncing the wiki to github?
Didn't know this was possible! Very cool.
I would like to check w/ the team about this. The PR process has worked for us so far. We could use adrlog to generate the index so it happens automatically. |
Checks that all wiki files are added to documentation/wiki/SUMMARY.md
Change one of the links to show how it would fail
Adding the missing link back to fix the failing check
@sumiat @acouch Wanted to update y'all on some changes I made to this PR and answer some of the questions above: Updates
Other notes and responses
The wiki and GitHub get synced every time a new GitBook change request is merged and every time a GitHub PR is merged that contains code which modifies
Even if we use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates, Billy! LGTM. Not sure if Aaron has more questions!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, this looks great! These changes will be really helpful. Thank you very much for putting them together and for the thorough documentation around them :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved!
Summary
Moves
documentation/decisions/
todocumentation/wiki/decisions/
so that future ADRs will show up in both GitBook and in the repository.Fixes #1820
Time to review: 5 mins
Changes proposed
documentation/decisions/
todocumentation/wiki/decisions/
adr/README.md
file so that wiki users can browse all of the ADRsinfra/index.md
toinfra/README.md
to do the same for Infra ADRsSUMMARY.md
so that the newly synced files will appear in the wiki UIci-wiki-links.yml
to check that all files indocumentation/wiki/
are inSUMMARY.md
Context for reviewers
Note: If ADRs are introduced via a PR in GitHub, they also need to be added to
SUMMARY.md
in order to appear in the wiki. This PR also adds a CI check that will run when thedocumentation/wiki/
directory is updated in a PR and it will check that all markdown files are linked inSUMMARY.md
Here's an example of what a failure looks like
Additional information
To see what this will look like in the wiki, you can check out this preview it should look like this: