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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

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.

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

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 <[email protected]>
@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 34.48%. Comparing base (197ae13) to head (1983ca4).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5830   +/-   ##
=======================================
  Coverage   34.48%   34.48%           
=======================================
  Files        1138     1138           
  Lines      102742   102742           
=======================================
+ Hits        35434    35435    +1     
+ Misses      63634    63633    -1     
  Partials     3674     3674           
Flag Coverage Δ
unittests-datacatalog 51.37% <ø> (ø)
unittests-flyteadmin 55.60% <ø> (ø)
unittests-flytecopilot 12.17% <ø> (ø)
unittests-flyteidl 7.17% <ø> (ø)
unittests-flyteplugins 53.35% <ø> (ø)
unittests-flytepropeller 42.02% <ø> (ø)
unittests-flytestdlib 55.37% <ø> (+0.02%) ⬆️

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.

@@ -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.

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