langchaingo
langchaingo copied to clipboard
docs: finish first version of documentation site
The documentation site is currently missing a lot of content and needs work.
To import code from the examples directory in an mdx file you must write this at the start of the file:
import CodeBlock from "@theme/CodeBlock";
import ExampleLLM from "@examples/llm-chain-example/llm_chain.go";
Then write this where the code should be:
<CodeBlock language="go">{ExampleLLM}</CodeBlock>
@FluffyKebab what URL renders index.md? I can see the API reference but not the more verbose descriptions. Thanks
The index.mdx in /docs/ directory is rendered in /docs/. This is the page you are redirected to when visiting /.
Hi, I would like to contribute to the documentation site. Is there any established process that can help me get started? Thanks!
Hi, I would like to contribute to the documentation site. Is there any established process that can help me get started? Thanks!
We really should have a document that is about that.. Would you be open to authoring a guide?