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

Sync code layout section in doc with repo layout #735

Merged
merged 1 commit into from
Oct 17, 2019

Conversation

dev-drprasad
Copy link
Contributor

What does this change

Lot of directories are now not in root level. They moved to pkg directory. This change syncs doc with repo layout

Current Layout

Screenshot 2019-10-16 at 1 44 50 PM

New layout

Screenshot 2019-10-16 at 1 43 36 PM

Notes for the reviewer

I hope we don't need extra whitespaces :)

Copy link
Member

@vdice vdice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 NIce cleanup!

I wonder if the high-level code layout (perhaps all directory names?) can be auto-generated? Noticing already that we'd want to update the list under pkg with new dirs such as manifest, instance-storage, etc. cc @carolynvs

Copy link
Member

@carolynvs carolynvs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@carolynvs
Copy link
Member

One thing we can start doing is using a doc.go file in our code and explaining in the code what each package is for.

I didn't document every single package in contributing because not all are of the same importance and I figured it would be noisy. If we could eventually refer people to godoc that would be better perhaps?

@carolynvs carolynvs merged commit 7783fd8 into getporter:master Oct 17, 2019
@dev-drprasad dev-drprasad deleted the sync-doc-project-layout branch October 17, 2019 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants