-
Notifications
You must be signed in to change notification settings - Fork 18
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
Re-Organize Folders #717
Re-Organize Folders #717
Conversation
Can you please provide a short summary of the relocations? |
This looks ok to me at a high-level glance although it's fairly large (as we anticipated) 😅 . Is there an easy way to logically separate out the "renaming" aspect from fixing the links in the google docs? If possible, it would be good to have as two PRs. |
Not really: since the links part is currently tied to main branch, the CI would fail if I just updated the paths. For example:
|
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.
Looks ok from the backend perspective. Thanks for taking this pass! Would love to get a few more eyeballs since this is a large one.
Signed-off-by: Nathan Brake <[email protected]>
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.
Tested on kube, looks good
What's changing
Re-organize the folder structure to more closely align with standard python library packaging.
After re-organization, the hardest part was fixing the links in the docs: they were hardcoded links to git commit hashes or sometimes the main branch. This was a latent issue (see #693) so this PR fixes that too. Now the sphinx build grabs the git commit and uses that to construct all the links, which is what we would want eventually anyways so that we could easily build the docs for any release and have it point to the correct files.
I also updated the github action "link checker" so that it is only responsible for checking the links outside of the docs folder. The github action link checker isn't compatible with the dynamic git commit insertion that is build into sphinx. Sphinx has a built in linkcheck extension which I activated, so we should still be all set with getting the links checked.
The old structure:
The new structure I am proposing:
I already...
/docs
)