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

Update contributing docs #5830

Merged
merged 12 commits into from
Oct 14, 2024
Merged

Conversation

neverett
Copy link
Contributor

@neverett neverett commented Oct 9, 2024

Why are the changes needed?

Make contributing to code and docs easier for Flyte community members.

Note: merge this PR first, then merge flyteorg/flytesnacks#1749, which depends on the changes in this PR.

What changes were proposed in this pull request?

  • Applied changes from update commands in flytesnacks contributing guide flytesnacks#1736 to the docs contributing guide in this repo, since the guide has moved
  • Created a new "contributing" subsection, with separate pages on contributing code, docs, and flytesnacks examples (i.e. tutorials and integrations examples). I mostly left the content alone, just reorganized it a bit.

How was this patch tested?

Local docs build.

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

flyteorg/flytesnacks#1736
flyteorg/flytesnacks#1749

Docs link

https://flyte--5830.org.readthedocs.build/en/5830/community/contribute/index.html

… to docs contributing guide, plus make additional changes

Signed-off-by: nikki everett <nikki@union.ai>
Signed-off-by: nikki everett <nikki@union.ai>
@neverett neverett self-assigned this Oct 9, 2024
Copy link

codecov bot commented Oct 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 36.34%. Comparing base (003b8de) to head (5293aa0).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5830      +/-   ##
==========================================
- Coverage   36.35%   36.34%   -0.01%     
==========================================
  Files        1304     1304              
  Lines      110148   110148              
==========================================
- Hits        40043    40037       -6     
- Misses      65938    65944       +6     
  Partials     4167     4167              
Flag Coverage Δ
unittests-datacatalog 51.37% <ø> (ø)
unittests-flyteadmin 55.57% <ø> (-0.04%) ⬇️
unittests-flytecopilot 12.17% <ø> (ø)
unittests-flytectl 62.21% <ø> (ø)
unittests-flyteidl 7.17% <ø> (ø)
unittests-flyteplugins 53.35% <ø> (ø)
unittests-flytepropeller 42.02% <ø> (ø)
unittests-flytestdlib 55.37% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: nikki everett <nikki@union.ai>
Signed-off-by: nikki everett <nikki@union.ai>
Signed-off-by: nikki everett <nikki@union.ai>
@@ -30,7 +30,7 @@ Please join us on:
Open Source Community Meeting
-----------------------------

When: every other Tuesday, 9:00 AM Pacific Time.
When: Every other Thursday, 11:00 AM Pacific Time.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@davidmirror-ops is this accurate? And is the event link below (https://www.addevent.com/event/EA7823958) still correct?

@neverett neverett added the documentation Improvements or additions to documentation label Oct 9, 2024
@neverett neverett marked this pull request as ready for review October 9, 2024 22:15
ppiegaze
ppiegaze previously approved these changes Oct 10, 2024
Copy link
Member

@ppiegaze ppiegaze left a comment

Choose a reason for hiding this comment

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

Minor comment inline, but generally looks good


### Code in user guide documentation

If you want to include tested, runnable example code in user guide documentation, you will need to add your code to the examples directory of the [flytesnacks repository](https://github.com/flyteorg/flytesnacks). Write your code in regular Python, with regular comments. These comments **will not** be extracted from the Python file and turned into user-facing documentation. You can use the `rli` ([remoteliteralinclude](https://github.com/wpilibsuite/sphinxext-remoteliteralinclude/blob/main/README.md)) directive to include snippets of code from your example Python file.
Copy link
Member

Choose a reason for hiding this comment

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

This sentence reads oddly: "These comments will not be extracted from the Python file and turned into use-facing documentation"

The reader may be left wondering why exactly this particular fact about the comments is being called out.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point -- this is to differentiate user guide examples in flytesnacks from tutorials and integrations examples in that repo, which have their comments turned into rendered docs. I can make that more explicit.

@ppiegaze ppiegaze self-requested a review October 14, 2024 11:44
ppiegaze
ppiegaze previously approved these changes Oct 14, 2024
Signed-off-by: nikki everett <nikki@union.ai>
Signed-off-by: nikki everett <nikki@union.ai>
@neverett neverett merged commit a8b16a5 into master Oct 14, 2024
49 of 50 checks passed
@neverett neverett deleted the nikki/docs/copy-contributing-updates branch October 14, 2024 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants