Skip to content

Conversation

@meatsnails
Copy link
Collaborator

@meatsnails meatsnails commented Jan 3, 2026

Summary by Sourcery

Add documentation template and navigation entry for an example module.

Documentation:

  • Add a new example module documentation page describing structure and guidelines for documenting module command groups.
  • Register the example module documentation page in the docs navigation under Modules.

@meatsnails meatsnails self-assigned this Jan 3, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 3, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@sourcery-ai
Copy link
Contributor

sourcery-ai bot commented Jan 3, 2026

Reviewer's Guide

Adds a new example module documentation page and wires it into the docs navigation under Modules.

File-Level Changes

Change Details Files
Wire new example module documentation into the Modules section of the docs navigation.
  • Insert new entry for the example module docs page in the Modules subsection of the nav configuration
zensical.toml
Create an example module documentation template for user modules.
  • Add front matter metadata for the example module docs page including title and tags
  • Provide introductory section outlining purpose of the module docs
  • Add a command group template section describing how to document commands, permissions, and flags, including an example shell command invocation block
docs/content/user/modules/example_module_docs.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@coderabbitai
Copy link

coderabbitai bot commented Jan 3, 2026

Walkthrough

Adds a new module documentation page with command-group guidance, updates site navigation to include that page, and appends multiple Q&A sections to the FAQ index.

Changes

Cohort / File(s) Summary
Documentation: New Module Doc
docs/content/user/modules/example_module_docs.md
New markdown file with YAML front matter (title, tags) and structured content: Introduction and a Command Group (template/guideline) section including sample command syntax and notes on grouping/formatting.
Documentation: FAQ Updates
docs/content/faq/index.md
Appended two new FAQ sections ("General Questions" and "Support Questions") containing multiple Q&A entries about self-hosting, support options, planned features, feature requests, and help channels.
Navigation Configuration
zensical.toml
Added a navigation entry under User Guide > Modules pointing to user/modules/example_module_docs.md.

Sequence Diagram(s)

(omitted — changes are documentation/configuration additions without new cross-component control flow)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Pre-merge checks and finishing touches

❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Title check ❓ Inconclusive The title '[DRAFT] docs' is overly vague and generic, failing to clearly identify the main changes which include example module documentation, navigation updates, and FAQ additions. Use a more descriptive title that captures the primary changes, such as '[DRAFT] Add example module documentation template and FAQ sections' or similar.
✅ Passed checks (2 passed)
Check name Status Explanation
Description check ✅ Passed The description accurately relates to the changeset, mentioning the example module documentation page and navigation registration, though it omits the FAQ additions introduced in the same PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/docs

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.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 3, 2026

📚 Documentation Preview

Type URL Version Message
Production https://tux.atl.dev - -
Preview https://22834719-tux-docs.allthingslinux.workers.dev 22834719-bbe3-47a5-9620-00644a0ebbbb Preview: tux@1d9fc200c9b045002a87fc0851f743a2c53f41a3 on 1135/merge by meatsnails (run 256)

@sentry
Copy link

sentry bot commented Jan 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 40.13%. Comparing base (cd1f20e) to head (3c45907).
⚠️ Report is 13 commits behind head on main.
✅ All tests successful. No failed tests found.

❌ Your project check has failed because the head coverage (40.13%) is below the target coverage (80.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1135      +/-   ##
==========================================
- Coverage   40.24%   40.13%   -0.11%     
==========================================
  Files         204      205       +1     
  Lines       14373    14444      +71     
  Branches     1686     1686              
==========================================
+ Hits         5784     5797      +13     
- Misses       8589     8647      +58     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

🧹 Nitpick comments (2)
docs/content/user/modules/example_module_docs.md (1)

1-9: Consider a more descriptive title for user-facing documentation.

The title "example_module_docs" uses underscores and doesn't clearly indicate this is template documentation. Consider a title like "Module Documentation Template" or "Example Module" for better clarity.

🔎 Suggested improvement
 ---
-title: example_module_docs
+title: Module Documentation Template
 tags:
   - user-guide
   - features
   - example
 ---
 
-# example_module_docs
+# Module Documentation Template
zensical.toml (1)

31-41: Consider reordering the navigation entry.

The new example documentation is placed before index.md in the Modules navigation. Typically, index pages appear first in the navigation hierarchy for better organization and user experience. Consider moving this entry after the index, or if this placement is intentional for testing purposes in this draft PR, it may be worth adding a comment.

🔎 Suggested reordering
         { "Modules" = [
-            "user/modules/example_module_docs.md",
             "user/modules/index.md",
+            "user/modules/example_module_docs.md",
             "user/modules/fun.md",
             "user/modules/info.md",
             "user/modules/levels.md",
             "user/modules/moderation.md",
             "user/modules/snippets.md",
             "user/modules/tools.md",
             "user/modules/utility.md",
         ] },
📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between cd1f20e and 3f4630e.

📒 Files selected for processing (2)
  • docs/content/user/modules/example_module_docs.md
  • zensical.toml
🧰 Additional context used
📓 Path-based instructions (1)
**/*.md

📄 CodeRabbit inference engine (.cursor/rules/rules.mdc)

Follow documentation standards as defined in docs/docs.mdc, docs/patterns.mdc, docs/principals.mdc, docs/structure.mdc, docs/style.mdc, and docs/syntax.mdc

Files:

  • docs/content/user/modules/example_module_docs.md
🪛 LanguageTool
docs/content/user/modules/example_module_docs.md

[grammar] ~20-~20: Ensure spelling is correct
Context: ...s in this case are when module contains multuiple related commands I.E ban & unban If a c...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~21-~21: Ensure spelling is correct
Context: ... have any commands then they can be "by themeselves" in the module docs Firstly give a ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~25-~25: Ensure spelling is correct
Context: ...nd has when using it and what each flag corosponds to sh command <flag1> <flag2>

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~25-~25: Ensure spelling is correct
Context: ...sing it and what each flag corosponds to sh command <flag1> <flag2>

(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: Run All Tests (3.13.8)

Comment on lines +11 to +13
## Introduction

Introduces the module and gives a brief overview of it's purpose and what it offers.
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

Fix grammatical error: use "its" instead of "it's".

"Its" is the possessive form; "it's" means "it is".

🔎 Proposed fix
 ## Introduction
 
-Introduces the module and gives a brief overview of it's purpose and what it offers.
+Introduces the module and gives a brief overview of its purpose and what it offers.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
## Introduction
Introduces the module and gives a brief overview of it's purpose and what it offers.
## Introduction
Introduces the module and gives a brief overview of its purpose and what it offers.
🤖 Prompt for AI Agents
In docs/content/user/modules/example_module_docs.md around lines 11 to 13, the
text uses the contraction "it's" where the possessive "its" is required; update
the sentence "Introduces the module and gives a brief overview of it's purpose
and what it offers." to use "its" (i.e., "its purpose") so the possessive form
is correct.

Comment on lines +15 to +21
<!-- Groups in this case are when module contains multuiple related commands I.E ban & unban
If a command dosen't have any commands then they can be "by themeselves" in the module docs -->

## Command Group (Template/Guideline)
>
>Groups in this case are when module contains multuiple related commands I.E ban & unban
If a command dosen't have any commands then they can be "by themeselves" in the module docs
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

Fix multiple spelling errors and blockquote formatting.

This section contains several issues:

  1. Spelling errors: "multuiple" → "multiple", "dosen't" → "doesn't", "themeselves" → "themselves"
  2. Malformed blockquote: lines 20-21 are missing the > prefix
  3. Redundant content between HTML comment and blockquote
🔎 Proposed fix
-<!-- Groups in this case are when module contains multuiple related commands I.E ban & unban
-If a command dosen't have any commands then they can be "by themeselves" in the module docs -->
+<!-- Groups in this case are when module contains multiple related commands I.E ban & unban
+If a command doesn't have any commands then they can be "by themselves" in the module docs -->
 
 ## Command Group (Template/Guideline)
->
->Groups in this case are when module contains multuiple related commands I.E ban & unban
-If a command dosen't have any commands then they can be "by themeselves" in the module docs
+
+> Groups in this case are when module contains multiple related commands I.E ban & unban.
+> If a command doesn't have any commands then they can be "by themselves" in the module docs.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<!-- Groups in this case are when module contains multuiple related commands I.E ban & unban
If a command dosen't have any commands then they can be "by themeselves" in the module docs -->
## Command Group (Template/Guideline)
>
>Groups in this case are when module contains multuiple related commands I.E ban & unban
If a command dosen't have any commands then they can be "by themeselves" in the module docs
<!-- Groups in this case are when module contains multiple related commands I.E ban & unban
If a command doesn't have any commands then they can be "by themselves" in the module docs -->
## Command Group (Template/Guideline)
> Groups in this case are when module contains multiple related commands I.E ban & unban.
> If a command doesn't have any commands then they can be "by themselves" in the module docs.
🧰 Tools
🪛 LanguageTool

[grammar] ~20-~20: Ensure spelling is correct
Context: ...s in this case are when module contains multuiple related commands I.E ban & unban If a c...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~21-~21: Ensure spelling is correct
Context: ... have any commands then they can be "by themeselves" in the module docs Firstly give a ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

🤖 Prompt for AI Agents
In docs/content/user/modules/example_module_docs.md around lines 15 to 21, fix
spelling and formatting: correct "multuiple" → "multiple", "dosen't" →
"doesn't", and "themeselves" → "themselves"; ensure the blockquote lines 20–21
have the leading ">" so the quoted guideline renders properly; and remove the
redundant duplicate text (either the HTML comment or the blockquote) so only one
clear guideline remains.

Comment on lines +23 to +25
**Firstly** give a brief overview of the command(s) what it does and what its ment to be used for. \
**Secondly** ==Specify any server permisions== needed for both the bot and the user to run. \
**Finally** specifiy ==all of the flags== the command has when using it and what each flag corosponds to
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

Correct multiple spelling errors in the template guidelines.

Several typos need correction:

  • "ment" → "meant"
  • "permisions" → "permissions"
  • "specifiy" → "specify"
  • "corosponds" → "corresponds"
🔎 Proposed fix
-**Firstly** give a brief overview of the command(s) what it does and what its ment to be used for. \
-**Secondly** ==Specify any server permisions== needed for both the bot and the user to run. \
-**Finally** specifiy ==all of the flags== the command has when using it and what each flag corosponds to
+**Firstly** give a brief overview of the command(s) what it does and what its meant to be used for. \
+**Secondly** ==Specify any server permissions== needed for both the bot and the user to run. \
+**Finally** specify ==all of the flags== the command has when using it and what each flag corresponds to
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
**Firstly** give a brief overview of the command(s) what it does and what its ment to be used for. \
**Secondly** ==Specify any server permisions== needed for both the bot and the user to run. \
**Finally** specifiy ==all of the flags== the command has when using it and what each flag corosponds to
**Firstly** give a brief overview of the command(s) what it does and what its meant to be used for. \
**Secondly** ==Specify any server permissions== needed for both the bot and the user to run. \
**Finally** specify ==all of the flags== the command has when using it and what each flag corresponds to
🧰 Tools
🪛 LanguageTool

[grammar] ~25-~25: Ensure spelling is correct
Context: ...nd has when using it and what each flag corosponds to sh command <flag1> <flag2>

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~25-~25: Ensure spelling is correct
Context: ...sing it and what each flag corosponds to sh command <flag1> <flag2>

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

🤖 Prompt for AI Agents
In docs/content/user/modules/example_module_docs.md around lines 23 to 25, fix
the spelling mistakes in the template guidance: change "ment" to "meant",
"permisions" to "permissions", "specifiy" to "specify", and "corosponds" to
"corresponds", preserving the original sentence structure and emphasis markers.

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

🧹 Nitpick comments (1)
docs/content/faq/index.md (1)

13-35: Structure and content are clear; minor capitalization inconsistency to address.

The new Q&A sections are well-organized and provide helpful guidance. However, there's a capitalization inconsistency with "GitHub": line 29 uses lowercase "github" while line 35 uses "Github". For consistency with proper nouns, both should use "GitHub".

🔎 Proposed capitalization fix
-**A:** Open a github issue with the "[FEATURE]" or open a pull-request and we'll think about it.
+**A:** Open a GitHub issue with the "[FEATURE]" or open a pull-request and we'll think about it.
-**A:** Feel free to open a Github issue or ask in the [Discord](https://discord.gg/gpmSjcjQxg).
+**A:** Feel free to open a GitHub issue or ask in the [Discord](https://discord.gg/gpmSjcjQxg).
📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3f4630e and 3c45907.

📒 Files selected for processing (1)
  • docs/content/faq/index.md
🧰 Additional context used
📓 Path-based instructions (1)
**/*.md

📄 CodeRabbit inference engine (.cursor/rules/rules.mdc)

Follow documentation standards as defined in docs/docs.mdc, docs/patterns.mdc, docs/principals.mdc, docs/structure.mdc, docs/style.mdc, and docs/syntax.mdc

Files:

  • docs/content/faq/index.md
🪛 LanguageTool
docs/content/faq/index.md

[style] ~33-~33: Using many exclamation marks might seem excessive (in this case: 4 exclamation marks for a text that’s 919 characters long)
Context: ...tions Q: I need help setting up Tux! A: Feel free to open a Github issu...

(EN_EXCESSIVE_EXCLAMATION)

⏰ 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: Run All Tests (3.13.8)
  • GitHub Check: Sourcery review

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.

3 participants