Skip to content

docs: Package coding style - #2096

Merged
shykes merged 1 commit into
dagger:mainfrom
helderco:coding-style
Apr 11, 2022
Merged

shykes merged 1 commit into
dagger:mainfrom
helderco:coding-style

Conversation

@helderco

@helderco helderco commented Apr 8, 2022 •

Copy link
Copy Markdown
Contributor

This is just to start. We’ll keep iterating on it.

Signed-off-by: Helder Correia

@helderco
helderco requested a review from shykes as a code owner April 8, 2022 16:25

@shykes shykes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good! I left a few wording comments. Also you should make this a guide in the docs too :)

Comment thread pkg/universe.dagger.io/CODING_STYLE.md Resolved
Comment thread pkg/universe.dagger.io/CODING_STYLE.md Resolved
Comment thread pkg/universe.dagger.io/CODING_STYLE.md Resolved
@TomChv TomChv added area/documentation Improvements or additions to documentation kind/enhancement labels Apr 10, 2022

@TomChv TomChv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

That's a really nice guide! We should create a program to automatically check those rules 🚀

Comment thread pkg/universe.dagger.io/CODING_STYLE.md Resolved
Comment thread pkg/universe.dagger.io/CODING_STYLE.md Resolved
Comment thread pkg/universe.dagger.io/CODING_STYLE.md Resolved
Comment thread pkg/universe.dagger.io/CODING_STYLE.md Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe explain when we should need it?

@helderco helderco Apr 10, 2022 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I tried to find an example where we would need it. If you know of one, let me know. You need it when it's easier to not interpret escape sequences.

@helderco
helderco marked this pull request as draft April 10, 2022 21:20
@helderco

helderco commented Apr 10, 2022 •

Copy link
Copy Markdown
Contributor Author

I have a few fixes and changes coming that didn't have time to push on friday (because I didn't finish). I'll re-open for review tomorrow.

@helderco

helderco commented Apr 10, 2022 •

Copy link
Copy Markdown
Contributor Author

Also you should make this a guide in the docs too :)

I agree! I converted to docussaurus on friday and it's a better reading experience. It also adds a TOC automatically. Not sure where to put in the sidebar though. I'm thinking I want to move the contribution guide there as well (another PR, incoming).

@shykes

shykes commented Apr 10, 2022

Copy link
Copy Markdown
Contributor

Also you should make this a guide in the docs too :)

I agree! I converted to docussaurus on friday and it's a better reading experience. It also adds a TOC automatically. Not sure where to put in the sidebar though. I'm thinking I want to move the contribution guide there as well (another PR, incoming).

I'd just put it in Guides for now.

@helderco
helderco marked this pull request as ready for review April 11, 2022 15:52
@helderco
helderco requested a review from a team as a code owner April 11, 2022 15:52
@helderco
helderco requested a review from shykes April 11, 2022 15:59
@helderco

helderco commented Apr 11, 2022 •

Copy link
Copy Markdown
Contributor Author

This is just to start. We’ll keep iterating on it.

Signed-off-by: Helder Correia <[email protected]>

@aluzzardi aluzzardi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is great!

@shykes shykes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good :)

@shykes
shykes merged commit 732ef96 into dagger:main Apr 11, 2022
@helderco
helderco deleted the coding-style branch April 11, 2022 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Package Coding Style

4 participants