mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-06 05:25:04 +00:00
docs: fix grammar and typo in Documentation style guide (#32741)
fixed grammer and one typo in the Documentation style guide
This commit is contained in:
@@ -79,7 +79,7 @@ Here are some high-level tips on writing a good how-to guide:
|
|||||||
|
|
||||||
### Conceptual guide
|
### Conceptual guide
|
||||||
|
|
||||||
LangChain's conceptual guide falls under the **Explanation** quadrant of Diataxis. These guides should cover LangChain terms and concepts
|
LangChain's conceptual guides fall under the **Explanation** quadrant of Diataxis. These guides should cover LangChain terms and concepts
|
||||||
in a more abstract way than how-to guides or tutorials, targeting curious users interested in
|
in a more abstract way than how-to guides or tutorials, targeting curious users interested in
|
||||||
gaining a deeper understanding and insights of the framework. Try to avoid excessively large code examples as the primary goal is to
|
gaining a deeper understanding and insights of the framework. Try to avoid excessively large code examples as the primary goal is to
|
||||||
provide perspective to the user rather than to finish a practical project. These guides should cover **why** things work the way they do.
|
provide perspective to the user rather than to finish a practical project. These guides should cover **why** things work the way they do.
|
||||||
@@ -105,7 +105,7 @@ Here are some high-level tips on writing a good conceptual guide:
|
|||||||
### References
|
### References
|
||||||
|
|
||||||
References contain detailed, low-level information that describes exactly what functionality exists and how to use it.
|
References contain detailed, low-level information that describes exactly what functionality exists and how to use it.
|
||||||
In LangChain, this is mainly our API reference pages, which are populated from docstrings within code.
|
In LangChain, these are mainly our API reference pages, which are populated from docstrings within code.
|
||||||
References pages are generally not read end-to-end, but are consulted as necessary when a user needs to know
|
References pages are generally not read end-to-end, but are consulted as necessary when a user needs to know
|
||||||
how to use something specific.
|
how to use something specific.
|
||||||
|
|
||||||
@@ -127,17 +127,17 @@ Each category serves a distinct purpose and requires a specific approach to writ
|
|||||||
|
|
||||||
Here are some other guidelines you should think about when writing and organizing documentation.
|
Here are some other guidelines you should think about when writing and organizing documentation.
|
||||||
|
|
||||||
We generally do not merge new tutorials from outside contributors without an actue need.
|
We generally do not merge new tutorials from outside contributors without an acute need.
|
||||||
We welcome updates as well as new integration docs, how-tos, and references.
|
We welcome updates as well as new integration docs, how-tos, and references.
|
||||||
|
|
||||||
### Avoid duplication
|
### Avoid duplication
|
||||||
|
|
||||||
Multiple pages that cover the same material in depth are difficult to maintain and cause confusion. There should
|
Multiple pages that cover the same material in depth are difficult to maintain and cause confusion. There should
|
||||||
be only one (very rarely two), canonical pages for a given concept or feature. Instead, you should link to other guides.
|
be only one (very rarely two) canonical pages for a given concept or feature. Instead, you should link to other guides.
|
||||||
|
|
||||||
### Link to other sections
|
### Link to other sections
|
||||||
|
|
||||||
Because sections of the docs do not exist in a vacuum, it is important to link to other sections frequently,
|
Because sections of the docs do not exist in a vacuum, it is important to link to other sections frequently
|
||||||
to allow a developer to learn more about an unfamiliar topic within the flow of reading.
|
to allow a developer to learn more about an unfamiliar topic within the flow of reading.
|
||||||
|
|
||||||
This includes linking to the API references and conceptual sections!
|
This includes linking to the API references and conceptual sections!
|
||||||
|
Reference in New Issue
Block a user