Skip to content

Conversation

@amotl
Copy link
Member

@amotl amotl commented Aug 4, 2025

What the title says. NB: Without a link checker, it wouldn't be possible to reorganize any content. Without a corresponding job on CI, nobody would notice.

@coderabbitai
Copy link

coderabbitai bot commented Aug 4, 2025

Walkthrough

This update revises documentation links across several markdown files. It modifies URL paths for LangChain, PyCaret, and MLflow example resources, reflecting changes in directory structure or file names within the referenced repositories. No content, logic, or public entity declarations were altered—only the target URLs of various documentation references.

Changes

Cohort / File(s) Change Summary
LangChain Documentation Links
docs/_include/links.md, docs/integrate/langchain/index.md
Updated all LangChain-related URLs by replacing the "llm-langchain" path segment with "langchain" in GitHub, MyBinder, and Colab links.
PyCaret and MLflow Example Links
docs/domain/ml/index.md, docs/domain/timeseries/advanced.md
Changed PyCaret example links from "automl" to "pycaret" directories; updated MLflow example links from "mlops-mlflow" to "mlflow"; updated classification example on GitHub from notebook to Python script.
LlamaIndex Example Link
docs/integrate/llamaindex/index.md
Changed the referenced GitHub file from main.py to demo_nlsql.py for the LlamaIndex NL query example.

Sequence Diagram(s)

No sequence diagram is generated, as all changes are limited to documentation link updates.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested reviewers

  • kneth
  • bmunkholm

Poem

A bunny hopped through docs today,
Tidying links along the way.
PyCaret, LangChain, all in line—
URLs now work just fine!
No code was harmed, just paths made neat,
A rabbit’s touch to keep docs sweet.
🐇✨

Note

⚡️ Unit Test Generation is now available in beta!

Learn more here, or try it out under "Finishing Touches" below.

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix-broken-links-2025W32

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.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

‼️ IMPORTANT
Auto-reply has been disabled for this repository in the CodeRabbit settings. The CodeRabbit bot will not respond to your replies unless it is explicitly tagged.

  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a7a1506 and 22f637c.

📒 Files selected for processing (5)
  • docs/_include/links.md (1 hunks)
  • docs/domain/ml/index.md (2 hunks)
  • docs/domain/timeseries/advanced.md (1 hunks)
  • docs/integrate/langchain/index.md (1 hunks)
  • docs/integrate/llamaindex/index.md (1 hunks)
🧰 Additional context used
🧠 Learnings (4)
📓 Common learnings
Learnt from: amotl
PR: crate/cratedb-guide#204
File: docs/integrate/mcp/community.md:22-33
Timestamp: 2025-05-18T12:50:36.393Z
Learning: In the CrateDB Guide repository, the prefix `ctk:` in documentation links (like `ctk:query/mcp/server`) is an intersphinx reference that points to external content in the CrateDB Toolkit documentation at https://cratedb-toolkit.readthedocs.io/. These references are intentionally not pointing to local files within the repository.
Learnt from: amotl
PR: crate/cratedb-guide#204
File: docs/integrate/mcp/community.md:8-20
Timestamp: 2025-05-18T12:50:38.681Z
Learning: In the CrateDB guide repository, references with the `ctk:` prefix (like `ctk:query/mcp/landscape`) are intersphinx references that link to resources in the cratedb-toolkit repository (https://github.com/crate/cratedb-toolkit/tree/main/doc), which are rendered at https://cratedb-toolkit.readthedocs.io/. These are valid cross-references between separate Sphinx documentation sets, not local file references.
📚 Learning: in the cratedb guide repository, references with the `ctk:` prefix (like `ctk:query/mcp/landscape`) ...
Learnt from: amotl
PR: crate/cratedb-guide#204
File: docs/integrate/mcp/community.md:8-20
Timestamp: 2025-05-18T12:50:38.681Z
Learning: In the CrateDB guide repository, references with the `ctk:` prefix (like `ctk:query/mcp/landscape`) are intersphinx references that link to resources in the cratedb-toolkit repository (https://github.com/crate/cratedb-toolkit/tree/main/doc), which are rendered at https://cratedb-toolkit.readthedocs.io/. These are valid cross-references between separate Sphinx documentation sets, not local file references.

Applied to files:

  • docs/integrate/llamaindex/index.md
  • docs/_include/links.md
  • docs/integrate/langchain/index.md
  • docs/domain/timeseries/advanced.md
  • docs/domain/ml/index.md
📚 Learning: in the cratedb guide repository, the prefix `ctk:` in documentation links (like `ctk:query/mcp/serve...
Learnt from: amotl
PR: crate/cratedb-guide#204
File: docs/integrate/mcp/community.md:22-33
Timestamp: 2025-05-18T12:50:36.393Z
Learning: In the CrateDB Guide repository, the prefix `ctk:` in documentation links (like `ctk:query/mcp/server`) is an intersphinx reference that points to external content in the CrateDB Toolkit documentation at https://cratedb-toolkit.readthedocs.io/. These references are intentionally not pointing to local files within the repository.

Applied to files:

  • docs/_include/links.md
  • docs/domain/timeseries/advanced.md
📚 Learning: in the cratedb guide documentation, particularly for mcp-related pages, the author prefers a 1-colum...
Learnt from: amotl
PR: crate/cratedb-guide#204
File: docs/integrate/mcp/community.md:6-8
Timestamp: 2025-05-18T13:25:11.786Z
Learning: In the CrateDB Guide documentation, particularly for MCP-related pages, the author prefers a 1-column grid layout for multiple cards to stack them vertically rather than side by side, as this is an intentional design choice.

Applied to files:

  • docs/_include/links.md
🪛 markdownlint-cli2 (0.17.2)
docs/_include/links.md

32-32: Link and image reference definitions should be needed
Unused link or image reference definition: "langchain and cratedb: code examples"

(MD053, link-image-reference-definitions)


33-33: Link and image reference definitions should be needed
Unused link or image reference definition: "langchain-similarity-binder"

(MD053, link-image-reference-definitions)


34-34: Link and image reference definitions should be needed
Unused link or image reference definition: "langchain-similarity-colab"

(MD053, link-image-reference-definitions)


35-35: Link and image reference definitions should be needed
Unused link or image reference definition: "langchain-similarity-github"

(MD053, link-image-reference-definitions)


36-36: Link and image reference definitions should be needed
Unused link or image reference definition: "langchain-rag-sql-binder"

(MD053, link-image-reference-definitions)


37-37: Link and image reference definitions should be needed
Unused link or image reference definition: "langchain-rag-sql-colab"

(MD053, link-image-reference-definitions)


38-38: Link and image reference definitions should be needed
Unused link or image reference definition: "langchain-rag-sql-github"

(MD053, link-image-reference-definitions)

⏰ 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). (1)
  • GitHub Check: Build docs
🔇 Additional comments (4)
docs/integrate/llamaindex/index.md (1)

111-111: demo_nlsql.py Link Confirmed
The file at topic/machine-learning/llama-index/demo_nlsql.py returns HTTP 200 on the main branch, so the link in docs/integrate/llamaindex/index.md is valid. No changes required.

docs/integrate/langchain/index.md (1)

219-225: LGTM – links updated to new langchain/ folder

The GitHub, Colab and Binder URLs reflect the repo re-org and look syntactically correct (URL-encoded path for Binder included).
No further action needed, just merge once CI passes.

docs/domain/timeseries/advanced.md (1)

271-277: Notebook links verified – paths are valid

Both Merlion and PyCaret notebooks return HTTP 200 at their new locations, so the links will resolve correctly. No further changes are needed.

docs/domain/ml/index.md (1)

293-294: Good catch – MLflow notebook links updated

Links point to the new mlflow/ folder and look correct.
No issues spotted.

Comment on lines +32 to +38
[LangChain and CrateDB: Code Examples]: https://github.com/crate/cratedb-examples/tree/main/topic/machine-learning/langchain
[langchain-similarity-binder]: https://mybinder.org/v2/gh/crate/cratedb-examples/main?labpath=topic%2Fmachine-learning%2Flangchain%2Fvector_search.ipynb
[langchain-similarity-colab]: https://colab.research.google.com/github/crate/cratedb-examples/blob/main/topic/machine-learning/langchain/vector_search.ipynb
[langchain-similarity-github]: https://github.com/crate/cratedb-examples/blob/main/topic/machine-learning/langchain/vector_search.ipynb
[langchain-rag-sql-binder]: https://mybinder.org/v2/gh/crate/cratedb-examples/main?labpath=topic%2Fmachine-learning%2Flangchain%2Fcratedb-vectorstore-rag-openai-sql.ipynb
[langchain-rag-sql-colab]: https://colab.research.google.com/github/crate/cratedb-examples/blob/main/topic/machine-learning/langchain/cratedb-vectorstore-rag-openai-sql.ipynb
[langchain-rag-sql-github]: https://github.com/crate/cratedb-examples/blob/main/topic/machine-learning/langchain/cratedb-vectorstore-rag-openai-sql.ipynb
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

New LangChain link definitions are currently unused – will break markdownlint

markdownlint (MD053) flags all seven newly-added definitions as “unused”.
Unless they are referenced in another file that is included after linting runs, either:

  1. Remove the definitions, or
  2. Add at least one reference to each, so the linter sees them as used.

Failing to do so will keep CI red.

- [LangChain and CrateDB: Code Examples]: https://github.com/crate/cratedb-examples/tree/main/topic/machine-learning/langchain
- … (delete the other six unused definitions) …

Or create references in the affected pages.

Committable suggestion skipped: line range outside the PR's diff.

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

32-32: Link and image reference definitions should be needed
Unused link or image reference definition: "langchain and cratedb: code examples"

(MD053, link-image-reference-definitions)


33-33: Link and image reference definitions should be needed
Unused link or image reference definition: "langchain-similarity-binder"

(MD053, link-image-reference-definitions)


34-34: Link and image reference definitions should be needed
Unused link or image reference definition: "langchain-similarity-colab"

(MD053, link-image-reference-definitions)


35-35: Link and image reference definitions should be needed
Unused link or image reference definition: "langchain-similarity-github"

(MD053, link-image-reference-definitions)


36-36: Link and image reference definitions should be needed
Unused link or image reference definition: "langchain-rag-sql-binder"

(MD053, link-image-reference-definitions)


37-37: Link and image reference definitions should be needed
Unused link or image reference definition: "langchain-rag-sql-colab"

(MD053, link-image-reference-definitions)


38-38: Link and image reference definitions should be needed
Unused link or image reference definition: "langchain-rag-sql-github"

(MD053, link-image-reference-definitions)

🤖 Prompt for AI Agents
In docs/_include/links.md around lines 32 to 38, the newly added LangChain link
definitions are flagged as unused by markdownlint (MD053), causing CI failures.
To fix this, either remove these unused link definitions or add references to
each link in the markdown content so the linter recognizes them as used.
Alternatively, ensure these links are referenced in other files included before
linting runs.

Comment on lines +274 to +276
[automl-classify-github]: https://github.com/crate/cratedb-examples/blob/main/topic/machine-learning/pycaret/automl_classification_with_pycaret.py
[automl-classify-colab]: https://colab.research.google.com/github/crate/cratedb-examples/blob/main/topic/machine-learning/pycaret/automl_classification_with_pycaret.ipynb
[automl-forecasting-github]: https://github.com/crate/cratedb-examples/blob/main/topic/machine-learning/pycaret/automl_timeseries_forecasting_with_pycaret.ipynb
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Mismatch between .py and .ipynb formats for the classification tutorial

GitHub link now targets automl_classification_with_pycaret.py, while the Colab link still uses the notebook version.
If the notebook has been converted to a script, provide a script-friendly Colab link or keep both files aligned to avoid confusing readers.

🤖 Prompt for AI Agents
In docs/domain/ml/index.md around lines 274 to 276, the GitHub link points to a
Python script (.py) for the classification tutorial, but the Colab link still
points to the notebook (.ipynb) version, causing inconsistency. To fix this,
either update the Colab link to a script-friendly version if available or ensure
both links consistently point to the same format (both .py or both .ipynb) to
avoid confusing readers.

@amotl amotl marked this pull request as ready for review August 4, 2025 23:54
@amotl amotl merged commit 2fd07d0 into main Aug 4, 2025
3 checks passed
@amotl amotl deleted the fix-broken-links-2025W32 branch August 4, 2025 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants