-
Notifications
You must be signed in to change notification settings - Fork 58
LCORE-424: Fixed documentation styling #579
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
LCORE-424: Fixed documentation styling #579
Conversation
WalkthroughDocumentation update: removed an inline CSS style block and adjusted a code sample in docs/providers.md by adding a trailing comma after "pymilvus>=2.4.10" and inserting an empty line. No code or public API changes. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests
Tip 👮 Agentic pre-merge checks are now available in preview!Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.
Please see the documentation for more information. Example: reviews:
pre_merge_checks:
custom_checks:
- name: "Undocumented Breaking Changes"
mode: "warning"
instructions: |
Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).Please share your feedback with us on this Discord post. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (6)
docs/providers.md (6)
217-223: YAML indentation is invalid for list item fields.provider_type and config must be indented under the list item.
Apply this diff:
- inference: - - provider_id: openai - provider_type: remote::openai - config: - api_key: ${env.OPENAI_API_KEY} + inference: + - provider_id: openai + provider_type: remote::openai + config: + api_key: ${env.OPENAI_API_KEY}
248-253: YAML list indentation under models looks off.Ensure the model object is indented under models.
Apply this diff:
- models: - - model_id: gpt-4-turbo # local label - provider_id: openai - model_type: llm - provider_model_id: gpt-4-turbo # provider label + models: + - model_id: gpt-4-turbo # local label + provider_id: openai + model_type: llm + provider_model_id: gpt-4-turbo # provider label
23-23: Fix typo: “atributes” → “attributes”.Apply this diff:
-The tables below summarize each provider category, containing the following atributes: +The tables below summarize each provider category, containing the following attributes:
231-231: Fix typo: “deffinition” → “definition”.Apply this diff:
-**Note:** The `provider_type` attribute uses schema `<type>::<name>` and comes from the deffinition on upstream. +**Note:** The `provider_type` attribute uses schema `<type>::<name>` and comes from the definition upstream.
39-39: Dependency name typo: itellm → litellm.This will mislead users installing dependencies for Azure.
Apply this diff:
-| azure | remote | `itellm` | ❌ | +| azure | remote | `litellm` | ❌ |
1-285: Remove leftover <style> block from docs/404.htmlFound a <style> block at docs/404.html (lines 5–17) — remove it or externalize the CSS to avoid GitHub Markdown rendering issues.
🧹 Nitpick comments (7)
docs/providers.md (7)
67-67: Missing comma between dependencies.Add a comma after mcp>=1.8.1 for consistency/readability.
Apply this diff:
-| meta-reference | inline | `matplotlib`, `pillow`, `pandas`, `scikit-learn`, `mcp>=1.8.1` `aiosqlite`, `psycopg2-binary`, `redis`, `pymongo` | ✅ | +| meta-reference | inline | `matplotlib`, `pillow`, `pandas`, `scikit-learn`, `mcp>=1.8.1`, `aiosqlite`, `psycopg2-binary`, `redis`, `pymongo` | ✅ |
37-37: Normalize dependency list formatting.Use commas between packages for consistency.
Apply this diff:
-| sentence-transformers | inline | `torch torchvision torchao>=0.12.0 --extra-index-url https://download.pytorch.org/whl/cpu`, `sentence-transformers --no-deps` | ❌ | +| sentence-transformers | inline | `torch`, `torchvision`, `torchao>=0.12.0 --extra-index-url https://download.pytorch.org/whl/cpu`, `sentence-transformers --no-deps` | ❌ |
124-126: Split combined package name and fix spacing.Present torch and torchtune separately; add spaces after commas.
Apply this diff:
-| torchtune-cpu | inline | `numpy`, `torch torchtune>=0.5.0`, `torchao>=0.12.0 --extra-index-url https://download.pytorch.org/whl/cpu`| ❌ | -| torchtune-gpu | inline | `numpy`,`torch torchtune>=0.5.0`, `torchao>=0.12.0` | ❌ | +| torchtune-cpu | inline | `numpy`, `torch`, `torchtune>=0.5.0`, `torchao>=0.12.0 --extra-index-url https://download.pytorch.org/whl/cpu` | ❌ | +| torchtune-gpu | inline | `numpy`, `torch`, `torchtune>=0.5.0`, `torchao>=0.12.0` | ❌ |
80-80: Unify heading casing: DatasetIO vs Datasetio.Use DatasetIO to match the ToC and other references.
Apply this diff:
-## Datasetio Providers +## DatasetIO Providers
152-152: Tiny formatting nit: add space after comma.Apply this diff:
-| rag-runtime | inline | `chardet`,`pypdf`, `tqdm`, `numpy`, `scikit-learn`, `scipy`, `nltk`, `sentencepiece`, `transformers` | ❌ | +| rag-runtime | inline | `chardet`, `pypdf`, `tqdm`, `numpy`, `scikit-learn`, `scipy`, `nltk`, `sentencepiece`, `transformers` | ❌ |
215-215: Remove extra spacing in bolded phrase.Apply this diff:
- Add the provider instance under the **corresponding** providers section: + Add the provider instance under the **corresponding** providers section:
190-194: Remove trailing comma in TOML array (docs/providers.md:190-194).Python's tomllib parses the trailing comma (verified), but some TOML parsers are stricter — remove it to make the snippet copy/paste-safe.
- llslibdev = [ - "openai>=1.0.0", - "pymilvus>=2.4.10", - - # add your dependencies here - ] + llslibdev = [ + "openai>=1.0.0", + "pymilvus>=2.4.10" + # add your dependencies here + ]
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
docs/providers.md(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: build-pr
- GitHub Check: e2e_tests
tisnik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Removed unsupported <style> tags from Markdown tables to ensure compatibility with GitHub’s Markdown parser.
Type of change
Related Tickets & Documents
Checklist before requesting a review
Testing
Summary by CodeRabbit