docs: reformat all the documentation pages#10554
docs: reformat all the documentation pages#10554kacperlukawski merged 5 commits intodocs-snippets-formattingfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
I think that only docs-website/**/*.mdx files should be modified (actual documentation, manually added).
docs-website/**/*.md files are API references, automatically generated from docstrings (see here), so pre-commit hooks should not touch them. Or we can instead create a pre-commit hook that makes changes to docstrings.
0e7b8b3 to
67c57c4
Compare
anakin87
left a comment
There was a problem hiding this comment.
I had a look and it seems a good result. Feel free to merge.
67c57c4 to
d7b095e
Compare
d7b095e to
fab46e8
Compare
|
@anakin87 Another preview is ready, this time with max 88 characters per line (except for longer document content sometimes). I think it's better. I also found some malformed code snippets (tabs mixed with spaces, or positional arguments after keyword arguments, I'll fix separately). |
Looks ok! |
* feat: allow setting line length * docs: reformat all the documentation pages * Revert "docs: reformat all the documentation pages" This reverts commit 0b36a91. * docs: reformat only .mdx files * docs: rerun formatting with 88 characters per line
This reverts commit c3a9db1.
* style: enable ruff formatting on docs-website * docs: reformat AmazonBedrockDocumentEmbedder docs * fix: do not run code snippets formatting on .md files * feat: allow setting line length * feat: include logging to detect malformed snippets * docs: reformat all the documentation pages (#10554) * feat: allow setting line length * docs: reformat all the documentation pages * Revert "docs: reformat all the documentation pages" This reverts commit 0b36a91. * docs: reformat only .mdx files * docs: rerun formatting with 88 characters per line * Revert "docs: reformat all the documentation pages (#10554)" This reverts commit c3a9db1. * feat: add coloring to logs * docs: reformat the docs with pre-commit
Related Issues
Notes for the reviewer
See: #10552
Checklist
fix:,feat:,build:,chore:,ci:,docs:,style:,refactor:,perf:,test:and added!in case the PR includes breaking changes.