Skip to content

Conversation

LegendsOfXania
Copy link
Contributor

@LegendsOfXania LegendsOfXania commented Aug 7, 2025

Heya! Here are a few minor changes and corrections to the documentation (nothing major, just small adjustments/improvements).

Summary by CodeRabbit

  • Documentation
    • Updated several tutorial sections to clarify that multiple extensions (Entity, RoadNetwork, and Quest) must be installed before starting.
    • Adjusted a search query reference in the cinematics documentation for improved accuracy.
    • Changed the difficulty level of the custom commands tutorial from "Normal" to "Hard."
    • Updated the PlaceholderAPI documentation to include a new custom placeholder for tracked objective locations.

Copy link
Contributor

coderabbitai bot commented Aug 7, 2025

Walkthrough

This update revises several documentation files. It clarifies extension requirements in multiple tutorials, updates a search argument for cinematic entries, adjusts a difficulty label, and amends the list of supported placeholders in the PlaceholderAPI documentation to include a new tracked objectives locations placeholder.

Changes

Cohort / File(s) Change Summary
Extension Requirement Warnings
documentation/docs/docs/03-creating-stories/04-entity-extension/index.mdx, documentation/docs/docs/03-creating-stories/05-questing/index.mdx, documentation/docs/docs/03-creating-stories/06-road-network/index.mdx
Updated warning sections to consistently specify that the Quest, Entity, and RoadNetwork extensions are required before starting tutorials. Headings standardized to "Required Extensions."
Cinematic Entry Search Update
documentation/docs/docs/03-creating-stories/02-cinematics/index.mdx
Changed the argument for the EntrySearch component from 'cinematic' to 'camera_cinematic' to refine search results.
Difficulty Label Adjustment
documentation/docs/docs/03-creating-stories/07-advanced-interactions/02-custom-commands.mdx
Changed the document's difficulty metadata from "Normal" to "Hard."
PlaceholderAPI Documentation
documentation/docs/docs/05-helpful-features/03-placeholderapi.mdx
Updated to reflect support for five custom placeholders, adding %typewriter_tracked_objectives_locations% with description and usage notes.

Sequence Diagram(s)

Not applicable; changes are limited to documentation and metadata updates.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~7 minutes

Suggested reviewers

  • gabber235

Poem

A hop through docs, a warning here,
Extensions listed, crystal clear.
Placeholders grow, five in the row,
Cinematic searches now better show.
Difficulty climbs, but don’t despair—
With every change, we’re halfway there!
🐇✨

Note

🔌 MCP (Model Context Protocol) integration is now available in Early Access!

Pro users can now connect to remote MCP servers under the Integrations page to get reviews and chat conversations that understand additional development context.


📜 Recent review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between b094612 and cbeb5d7.

📒 Files selected for processing (1)
  • documentation/docs/docs/05-helpful-features/03-placeholderapi.mdx (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • documentation/docs/docs/05-helpful-features/03-placeholderapi.mdx
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • 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
Contributor

@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: 0

🧹 Nitpick comments (4)
documentation/docs/docs/05-helpful-features/03-placeholderapi.mdx (1)

68-68: Fix spelling error (“locatabe” → “locatable”).

Minor typo in the new description.

- - `%tracked_objectives_locations%`: Returns the locations of the tracked locatabe objectives. (Format can be changed in the [snippets](./05-snippets.mdx))
+ - `%tracked_objectives_locations%`: Returns the locations of the tracked locatable objectives. (Format can be changed in the [snippets](./05-snippets.mdx))
documentation/docs/docs/03-creating-stories/04-entity-extension/index.mdx (1)

10-12: Use a less-severe admonition type for prerequisites

:::danger renders with a red “error” style that we usually reserve for destructive or critical warnings. A prerequisite notice is informative rather than hazardous, so warning keeps the visual hierarchy consistent with the rest of the docs.

-:::danger[Required Extensions]
+:::warning[Required Extensions]
documentation/docs/docs/03-creating-stories/05-questing/index.mdx (1)

14-16: Alphabetise the extension list for consistency

Across the docs we usually list the prerequisites alphabetically (Entity, Quest, RoadNetwork). Keeping the same order avoids tiny diffs and helps readers scan quickly.

-You must have installed the Quest, Entity and RoadNetwork Extensions before starting this tutorial.
+You must have installed the Entity, Quest and RoadNetwork Extensions before starting this tutorial.
documentation/docs/docs/03-creating-stories/06-road-network/index.mdx (1)

14-16: Maintain consistent ordering of prerequisite extensions

For uniformity with other pages, list the extensions alphabetically:

-You must have installed the RoadNetwork, Entity and Quest Extensions before starting this tutorial.
+You must have installed the Entity, Quest and RoadNetwork Extensions before starting this tutorial.
📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 66d7d65 and 6d7c7af.

📒 Files selected for processing (6)
  • documentation/docs/docs/03-creating-stories/02-cinematics/index.mdx (1 hunks)
  • documentation/docs/docs/03-creating-stories/04-entity-extension/index.mdx (1 hunks)
  • documentation/docs/docs/03-creating-stories/05-questing/index.mdx (1 hunks)
  • documentation/docs/docs/03-creating-stories/06-road-network/index.mdx (1 hunks)
  • documentation/docs/docs/03-creating-stories/07-advanced-interactions/02-custom-commands.mdx (1 hunks)
  • documentation/docs/docs/05-helpful-features/03-placeholderapi.mdx (1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: in the typewriter project's documentation mdx files, minimal front matter that includes only the `di...
Learnt from: Marten-Mrfc
PR: gabber235/Typewriter#333
File: documentation/docs/docs/03-creating-stories/04-entity-extension/04-activities.mdx:1-3
Timestamp: 2025-05-11T07:03:22.666Z
Learning: In the Typewriter project's documentation MDX files, minimal front matter that includes only the `difficulty` field is acceptable. Additional fields like `title`, `id`, or `sidebar_label` are not required even if the heading is present in the document body.

Applied to files:

  • documentation/docs/docs/05-helpful-features/03-placeholderapi.mdx
  • documentation/docs/docs/03-creating-stories/07-advanced-interactions/02-custom-commands.mdx
🪛 LanguageTool
documentation/docs/docs/05-helpful-features/03-placeholderapi.mdx

[grammar] ~68-~68: Ensure spelling is correct
Context: ...`: Returns the locations of the tracked locatabe objectives. (Format can be changed in t...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

🔇 Additional comments (3)
documentation/docs/docs/05-helpful-features/03-placeholderapi.mdx (1)

64-70: Confirm placeholder prefix consistency.

All existing placeholders use the %typewriter_…% prefix except the newly added %tracked_objectives_locations%.
If the missing prefix is intentional (e.g., because the underlying PAPI registration differs), ignore this comment; otherwise, consider renaming for consistency.

documentation/docs/docs/03-creating-stories/07-advanced-interactions/02-custom-commands.mdx (1)

2-2: Difficulty metadata update – looks good

The bump from “Normal” to “Hard” is appropriate given the tutorial’s complexity. No further action needed.

documentation/docs/docs/03-creating-stories/02-cinematics/index.mdx (1)

27-27: Confirm EntrySearch slug registration

It looks like all live docs have been updated to use <EntrySearch entryName='camera_cinematic'/>. The only remaining occurrences of 'cinematic' are in versioned_docs/v* (historical snapshots), which should stay unchanged. Please verify:

  • The editor actually registers an entry with the exact slug camera_cinematic.
  • Any other code or config (e.g. editor manifests, example projects) referencing the old cinematic slug have been updated accordingly.

Copy link
Contributor

@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: 0

🧹 Nitpick comments (1)
documentation/docs/docs/05-helpful-features/03-placeholderapi.mdx (1)

68-68: Fix typo in description of the new placeholder.

locatabelocatable.

-%typewriter_tracked_objectives_locations%`: Returns the locations of the tracked locatabe objectives. (Format can be changed in the [snippets](./05-snippets.mdx))
+%typewriter_tracked_objectives_locations%`: Returns the locations of the tracked locatable objectives. (Format can be changed in the [snippets](./05-snippets.mdx))
📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 6d7c7af and b094612.

📒 Files selected for processing (1)
  • documentation/docs/docs/05-helpful-features/03-placeholderapi.mdx (1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-05-11T07:03:22.666Z
Learnt from: Marten-Mrfc
PR: gabber235/Typewriter#333
File: documentation/docs/docs/03-creating-stories/04-entity-extension/04-activities.mdx:1-3
Timestamp: 2025-05-11T07:03:22.666Z
Learning: In the Typewriter project's documentation MDX files, minimal front matter that includes only the `difficulty` field is acceptable. Additional fields like `title`, `id`, or `sidebar_label` are not required even if the heading is present in the document body.

Applied to files:

  • documentation/docs/docs/05-helpful-features/03-placeholderapi.mdx
🪛 LanguageTool
documentation/docs/docs/05-helpful-features/03-placeholderapi.mdx

[grammar] ~68-~68: Ensure spelling is correct
Context: ...`: Returns the locations of the tracked locatabe objectives. (Format can be changed in t...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

⏰ 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: Test Documentation Build
🔇 Additional comments (1)
documentation/docs/docs/05-helpful-features/03-placeholderapi.mdx (1)

64-64: Placeholder count statement aligns with list – looks good.

The header now correctly reflects the addition of the fifth custom placeholder.

@Marten-Mrfc Marten-Mrfc self-assigned this Aug 8, 2025
@Marten-Mrfc
Copy link
Collaborator

Very good spots and changes! Thanks again!

@Marten-Mrfc Marten-Mrfc merged commit 53f2971 into gabber235:develop Aug 8, 2025
1 of 2 checks passed
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