Skip to content

Conversation

amotl
Copy link
Member

@amotl amotl commented Oct 4, 2025

Copy link

coderabbitai bot commented Oct 4, 2025

Walkthrough

Documentation updates across multiple sections: added links include, introduced new tutorial and how-to index pages, renamed “Usage” to “Tutorial” in several toctrees, added promotional blocks for CrateDB Cloud free tier, adjusted intros and section titles, and updated a header in the InfluxDB integration page.

Changes

Cohort / File(s) Summary of changes
Shared links include
docs/_include/links.md
Added link: CrateDB Cloud Console (https://console.cratedb.cloud/).
Document feature pages
docs/feature/document/index.md, docs/feature/document/tutorial.md
Renamed toctree label from Usage to Tutorial; revised tutorial text, added marketing-focused intro, include for links, and promotional/quick-start blocks.
Full-text search tutorials
docs/feature/search/fts/index.md, docs/feature/search/fts/tutorial.md
Updated toctree and anchors from Usage to Tutorial; added links include; inserted CrateDB Cloud free-tier promo block in “Creating the Table”.
Time series learning pages
docs/topic/timeseries/learn/query.md, docs/topic/timeseries/learn/with-metadata.md
Added links include; inserted Cloud free-tier promo blocks; added aliases/topics; minor content tweaks; renamed a section to “Analyzing Data”.
Tutorials and How-to indexes
docs/tutorial/index.md, docs/howto/index.md
Added new index pages with tutorial cards, academy card, categorized rubrics (years), and feedback notes.
Handbook updates
docs/handbook/index.md
Consolidated navigation to a single handbook entry; extended toctree with howto and tutorial indexes; added descriptive line under “All features”.
InfluxDB integration header
docs/integrate/influxdb/usage.md
Header text changed from “Import data from InfluxDB” to “Load data from InfluxDB”.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested labels

new content

Suggested reviewers

  • bmunkholm
  • kneth
  • surister

Poem

In pages I hop, with paws so light,
Linking clouds to stars in night.
Tutorials bloom, a tidy trail—
From usage to tut, we set the sail.
Free-tier fields where queries play,
A happy hare docs-guides the way. 🐇✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Title Check ✅ Passed The title clearly conveys that the pull request applies Diátaxis principles to index how-to guides and tutorials, matching the main objective of reorganizing and indexing content.
Description Check ✅ Passed The description provides context about phasing out previous repositories, applying Diátaxis principles, and reintegrating content with links to preview environments and related references, clearly relating to the changeset.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch howto-guides-tutorials

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@amotl amotl changed the title Howto guides tutorials Diátaxis: Index how-to guides and tutorials Oct 4, 2025
@amotl amotl marked this pull request as ready for review October 4, 2025 15:31
@amotl amotl added cross linking Linking to different locations of the documentation. guidance Matters of layout, shape, and structure. labels Oct 4, 2025
coderabbitai[bot]

This comment was marked as resolved.

@amotl amotl force-pushed the howto-guides-tutorials branch from 637b088 to 42d887e Compare October 6, 2025 21:04
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: 3

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
docs/topic/timeseries/learn/with-metadata.md (1)

145-151: Fix schema names in SQL examples

Tables are created under the doc schema, but several queries switch to devices.* or omit the schema entirely. Running these snippets as-is will error out for readers following the tutorial. Please align the examples with the defined table names.

 SELECT *
-FROM devices.readings r
-JOIN devices.info i ON r.device_id = i.device_id
+FROM doc.devices_readings r
+JOIN doc.devices_info i ON r.device_id = i.device_id
 LIMIT 30;
FROM 
-    devices_readings r
+    doc.devices_readings r
JOIN 
-    devices_info i ON r.device_id = i.device_id
+    doc.devices_info i ON r.device_id = i.device_id
-FROM 
-    devices_readings r, max_timestamp m
+FROM 
+    doc.devices_readings r, max_timestamp m-FROM 
-    devices_info
+FROM 
+    doc.devices_info

Also applies to: 195-212, 244-285

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 637b088 and 42d887e.

📒 Files selected for processing (11)
  • docs/_include/links.md (1 hunks)
  • docs/feature/document/index.md (1 hunks)
  • docs/feature/document/tutorial.md (3 hunks)
  • docs/feature/search/fts/index.md (2 hunks)
  • docs/feature/search/fts/tutorial.md (2 hunks)
  • docs/handbook/index.md (2 hunks)
  • docs/howto/index.md (1 hunks)
  • docs/integrate/influxdb/usage.md (1 hunks)
  • docs/topic/timeseries/learn/query.md (2 hunks)
  • docs/topic/timeseries/learn/with-metadata.md (3 hunks)
  • docs/tutorial/index.md (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • docs/integrate/influxdb/usage.md
🚧 Files skipped from review as they are similar to previous changes (4)
  • docs/_include/links.md
  • docs/howto/index.md
  • docs/feature/search/fts/tutorial.md
  • docs/topic/timeseries/learn/query.md
🧰 Additional context used
🧠 Learnings (5)
📓 Common learnings
Learnt from: bmunkholm
PR: crate/cratedb-guide#340
File: docs/home/index.md:84-97
Timestamp: 2025-09-25T19:31:54.320Z
Learning: In the CrateDB Guide docs (MyST), the CrateDB Cloud card on the homepage should link to `getting-started` using `:link-type: ref` instead of the previous `cloud:index` intersphinx target. This change was implemented in PR #340 to direct users to the getting started section rather than directly to the Cloud documentation.
📚 Learning: 2025-09-25T19:31:54.320Z
Learnt from: bmunkholm
PR: crate/cratedb-guide#340
File: docs/home/index.md:84-97
Timestamp: 2025-09-25T19:31:54.320Z
Learning: In the CrateDB Guide docs (MyST), the CrateDB Cloud card on the homepage should link to `getting-started` using `:link-type: ref` instead of the previous `cloud:index` intersphinx target. This change was implemented in PR #340 to direct users to the getting started section rather than directly to the Cloud documentation.

Applied to files:

  • docs/feature/document/tutorial.md
  • docs/topic/timeseries/learn/with-metadata.md
📚 Learning: 2025-08-09T11:00:03.578Z
Learnt from: amotl
PR: crate/cratedb-guide#236
File: docs/index.md:312-316
Timestamp: 2025-08-09T11:00:03.578Z
Learning: In the CrateDB Guide documentation, locally stale references (such as `(reference-architectures)=`, `(domain)=`, and similar anchor labels) should be retained even when they appear unused within the repository, as external projects might still reference them. This ensures backward compatibility for external documentation and projects.

Applied to files:

  • docs/feature/document/tutorial.md
  • docs/topic/timeseries/learn/with-metadata.md
📚 Learning: 2025-08-23T04:22:52.597Z
Learnt from: amotl
PR: crate/cratedb-guide#235
File: docs/start/going-further.md:20-38
Timestamp: 2025-08-23T04:22:52.597Z
Learning: In the CrateDB Guide repository, the prefix `crate-reference:` in documentation links (like `crate-reference:index`) is an intersphinx reference that points to external content in the CrateDB Reference Manual documentation. These references are intentionally not pointing to local files within the repository.

Applied to files:

  • docs/topic/timeseries/learn/with-metadata.md
📚 Learning: 2025-10-06T16:40:16.322Z
Learnt from: amotl
PR: crate/cratedb-guide#0
File: :0-0
Timestamp: 2025-10-06T16:40:16.322Z
Learning: In the crate/cratedb-guide repository, documentation is organized by content type: files in `docs/feature/`, `docs/integrate/`, and `docs/ingest/` are reference material designed for quick access, while `docs/start/` contains learning path content. Reference material sections use top-right reference layouts for efficient navigation.

Applied to files:

  • docs/tutorial/index.md
🪛 markdownlint-cli2 (0.18.1)
docs/topic/timeseries/learn/with-metadata.md

59-59: Reference links and images should use a label that is defined
Missing link or image reference definition: "cratedb cloud console"

(MD052, reference-links-images)

docs/tutorial/index.md

50-50: Bare URL used

(MD034, no-bare-urls)

⏰ 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

Comment on lines +35 to +38
:::{div}
The fastest and easiest way to get started with CrateDB is by deploying a
free tier (CRFREE) cluster on [CrateDB Cloud][CrateDB Cloud Console]. Otherwise,
see the {ref}`install` section about to run CrateDB yourself.
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Polish the installation sentence

Same wording nit here—please change “see the … section about to run CrateDB yourself” to “see the … section to run CrateDB yourself.”

🤖 Prompt for AI Agents
In docs/feature/document/tutorial.md around lines 35 to 38, fix the wording in
the installation sentence: replace “see the {ref}`install` section about to run
CrateDB yourself” with “see the {ref}`install` section to run CrateDB yourself”
so the sentence reads fluently; update the text accordingly without altering
other surrounding content or formatting.

Comment on lines +58 to +60
The fastest and easiest way to get started with CrateDB is by deploying a
free tier (CRFREE) cluster on [CrateDB Cloud][CrateDB Cloud Console]. Otherwise,
see the {ref}`install` section about to run CrateDB yourself.
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Tighten the installation sentence

“see the … section about to run CrateDB yourself” reads awkwardly. Suggest rephrasing to “see the … section to run CrateDB yourself.”

🧰 Tools
🪛 markdownlint-cli2 (0.18.1)

59-59: Reference links and images should use a label that is defined
Missing link or image reference definition: "cratedb cloud console"

(MD052, reference-links-images)

🤖 Prompt for AI Agents
In docs/topic/timeseries/learn/with-metadata.md around lines 58 to 60, the
sentence "see the {ref}`install` section about to run CrateDB yourself" is
awkward; change it to "see the {ref}`install` section to run CrateDB yourself."
Update the phrasing only (remove "about") and ensure punctuation/spacing remains
correct and the reference link syntax stays intact.

Comment on lines +48 to +55
:::{card}
:width: 50%
:link: https://learn.cratedb.com/
:link-alt: The CrateDB Academy
:class-header: sd-text-center sd-fs-5 sd-align-minor-center sd-font-weight-bold sd-text-capitalize
:class-body: sd-text-center sd-fs-5
:class-footer: text-smaller
Academy Courses
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

Resolve the MD034 bare‑URL lint warning

markdownlint flags the :link: https://learn.cratedb.com/ attribute as a bare URL. Please convert it to use a named reference (e.g., define [CrateDB Academy]: https://learn.cratedb.com/ in /_include/links.md and change the card to :link: CrateDB Academy with the matching :link-type:) so the docs build passes.

🧰 Tools
🪛 markdownlint-cli2 (0.18.1)

50-50: Bare URL used

(MD034, no-bare-urls)

🤖 Prompt for AI Agents
In docs/tutorial/index.md around lines 48 to 55, the card uses a bare URL in the
:link: attribute which triggers MD034; replace the bare URL with a named
reference (change :link: https://learn.cratedb.com/ to :link: CrateDB Academy
and add :link-type: reference on the card), and add a corresponding link
definition in /_include/links.md such as a single-line entry mapping "CrateDB
Academy" to https://learn.cratedb.com/ so the markdownlint warning is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cross linking Linking to different locations of the documentation. guidance Matters of layout, shape, and structure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant