-
Notifications
You must be signed in to change notification settings - Fork 15.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: reorganize contributing docs (#27649)
- Loading branch information
Showing
28 changed files
with
150 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# LangChain Documentation | ||
|
||
For more information on contributing to our documentation, see the [Documentation Contributing Guide](https://python.langchain.com/docs/contributing/documentation) | ||
For more information on contributing to our documentation, see the [Documentation Contributing Guide](https://python.langchain.com/docs/contributing/how_to/documentation) |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# How-to Guides | ||
|
||
- [**Documentation**](documentation/index.mdx): Help improve our docs, including this one! | ||
- [**Code**](code/index.mdx): Help us write code, fix bugs, or improve our infrastructure. | ||
- [**Integrations**](integrations.mdx): Help us integrate with your favorite vendors and tools. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Reference | ||
|
||
- [**Repository Structure**](repo_structure.mdx): Understand the high level structure of the repository. | ||
- [**Review Process**](review_process.mdx): Learn about the review process for pull requests. | ||
- [**Frequently Asked Questions (FAQ)**](faq.mdx): Get answers to common questions about contributing. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Make your first docs PR | ||
|
||
This tutorial will guide you through making a simple documentation edit, like correcting a typo. | ||
|
||
### **Prerequisites** | ||
- GitHub account. | ||
- Familiarity with GitHub pull requests (basic understanding). | ||
|
||
--- | ||
|
||
## Editing a Documentation Page on GitHub** | ||
|
||
Sometimes you want to make a small change, like fixing a typo, and the easiest way to do this is to use GitHub's editor directly. | ||
|
||
### **Steps** | ||
|
||
1. **Navigate to the documentation page in the LangChain docs:** | ||
- On the documentation page, find the green "Edit this page" link at the bottom of the page. | ||
- Click the button to be directed to the GitHub editor. | ||
- If the file you're editing is a Jupyter Notebook (.ipynb) instead of a Markdown (.md, .mdx) | ||
file, we recommend following the steps in section 3. | ||
|
||
2. **Fork the repository:** | ||
- If you haven't already, GitHub will prompt you to fork the repository to your account. | ||
- Make sure to fork the repository into your **personal account and not an organization** ([why?](../reference/faq.mdx#how-do-i-allow-maintainers-to-edit-my-pr)). | ||
- Click the "Fork this repository" button to create a copy of the repository under your account. | ||
- After forking, you'll automatically be redirected to the correct editor. | ||
|
||
3. **Make your changes:** | ||
- Correct the typo directly in the GitHub editor. | ||
|
||
4. **Commit your changes:** | ||
- Click the "Commit changes..." button at the top-right corner of the page. | ||
- Give your commit a title like "Fix typo in X section." | ||
- Optionally, write an extended commit description. | ||
- Click "Propose changes" | ||
|
||
5. **Submit a pull request (PR):** | ||
- GitHub will redirect you to a page where you can create a pull request. | ||
- First, review your proposed changes to ensure they are correct. | ||
- Click **Create pull request**. | ||
- Give your PR a title like `docs: Fix typo in X section`. | ||
- Follow the checklist in the PR description template. | ||
|
||
## Getting a Review | ||
|
||
Once you've submitted the pull request, it will be reviewed by the maintainers. You may receive feedback or requests for changes. Keep an eye on the PR to address any comments. | ||
|
||
Docs PRs are typically reviewed within a few days, but it may take longer depending on the complexity of the change and the availability of maintainers. | ||
|
||
For more information on reviews, see the [Review Process](../reference/review_process.mdx). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Tutorials | ||
|
||
More coming soon! We are working on tutorials to help you make your first contribution to the project. | ||
|
||
- [**Make your first docs PR**](docs.mdx) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters