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.md #241

Merged
merged 1 commit into from
Dec 8, 2023
Merged

Update contributing.md #241

merged 1 commit into from
Dec 8, 2023

Conversation

tadash10
Copy link
Contributor

@tadash10 tadash10 commented Nov 30, 2023

#239 "Documentation update proposal"

Summary by CodeRabbit

  • Documentation
    • Updated the contributing guide with new resources to aid understanding.
    • Included instructions for local documentation preview with mkdocs serve.
    • Added guidance on highlighting lines in code blocks and using admonitions for emphasis.

Copy link
Contributor

coderabbitai bot commented Nov 30, 2023

Walkthrough

The documentation has been enhanced with new content to aid contributors. It now includes additional resources to deepen understanding, such as instructions for using mkdocs serve for a local preview of changes, guidance on how to highlight specific lines in code blocks, and the use of admonitions to draw attention to crucial information.

Changes

File Summary
docs/contributing.md Added instructions for local preview with mkdocs serve, code block line highlighting with hl_lines, and use of admonitions for important notes.

🐇✨
To the docs we hop and add,
With mkdocs and highlights, no fad.
Notes in the margin, so grand,
Making knowledge more than just bland. 📚🌟


Tips

Chat with CodeRabbit Bot (@coderabbitai)

  • If you reply to a review comment from CodeRabbit, the bot will automatically respond.
  • To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment
  • Note: Review comments are made on code diffs or files, not on the PR overview.
  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Note: For conversation with the bot, please use the review comments on code diffs or files.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

Copy link
Collaborator

@jxnl jxnl left a comment

Choose a reason for hiding this comment

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

can you move this under `

@@ -36,3 +36,18 @@ If you need ideas, you can check out the [help wanted](https://github.com/jxnl/i
<a href="https://github.com/jxnl/instructor/graphs/contributors">
<img src="https://contrib.rocks/image?repo=jxnl/instructor" />
</a>


## Additional Resources
Copy link
Collaborator

Choose a reason for hiding this comment

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

can you mvoe this above the contributors table and something like

to run the docs pip install requirements-doc.txt and run mkdocs serve -w . to preview the documentation

to improve the legibility of code and content consider using

hl_lines... ...
admonitinos: ...

and include a code example in our docs so we dont /have/ to jump links ( can literally copy paste a snippet of their markdown)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Already make the requested changes and also leave in "Extended description
" a second version of the corrections. Regarding (can literally copy paste a snippet of their markdown) if you can guide me how, I'll do it asap. thanks!

Copy link
Collaborator

Choose a reason for hiding this comment

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

if you view their docs on the top right theres icons to click that edit the text

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi there i update al ready . Hope work ok


To enhance your understanding of the documentation, here are some useful references:

- **mkdocs serve:** The `mkdocs serve` command is used to preview your documentation locally during the development phase. When you run this command in your terminal, MkDocs starts a development server, allowing you to view and interact with your documentation in a web browser. This is helpful for checking how your changes look before publishing the documentation. Learn more in the [mkdocs serve documentation](https://www.mkdocs.org/commands/serve/).
Copy link

Choose a reason for hiding this comment

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

The https://www.mkdocs.org/commands/serve/ link is broken. Should it be https://www.mkdocs.org/user-guide/cli/#mkdocs-serve instead?

Copy link

@nkamali nkamali Dec 4, 2023

Choose a reason for hiding this comment

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

Also, mkdocs serve doesn't work for me as I'm missing a lot of Python packages which are its dependencies. Here are some Python packages that need to be installed before I could run mkdocs serve:

  • mkdocs
  • mkdocs-material
  • mkdocs-minify-plugin
  • mkdocstrings
  • mkdocs-rss-plugin
  • mkdocs-material[imaging]
  • mkdocstrings[python]

You may want to link to the https://www.mkdocs.org/user-guide/installation/ page but even that is missing almost all of the list of dependencies.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah they need to pip install requirements-docs.txt

@tadash10
Copy link
Contributor Author

tadash10 commented Dec 7, 2023

A few days ago I updated according to the corrections and recommendations, any other changes or we are already satisfied?thanks and good week

@jxnl jxnl merged commit 6ac25db into instructor-ai:main Dec 8, 2023
4 checks passed
@tadash10 tadash10 deleted the patch-1 branch December 10, 2023 19:45
@tadash10 tadash10 restored the patch-1 branch December 10, 2023 19:46
@tadash10 tadash10 deleted the patch-1 branch December 10, 2023 19:52
@tadash10
Copy link
Contributor Author

How's it going, I hope you have a good week. After Update contributing.md #241 merged, note that I am not yet listed as a contributor. If you want me to address something of your preference, let me know.

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