Skip to content

docs: Add documentation outline - #184

Merged
nielsenko merged 3 commits into
serverpod:mainfrom
nielsenko:docs-outline
Oct 7, 2025
Merged

nielsenko merged 3 commits into
serverpod:mainfrom
nielsenko:docs-outline

Conversation

@nielsenko

@nielsenko nielsenko commented Oct 1, 2025 •

Copy link
Copy Markdown
Collaborator

Description

Adds documentation scaffolds in the form of an outline (think potential end goal), and a history document (to give context).

Related Issues

Pre-Launch Checklist

  • This update focuses on a single feature or bug fix
  • I have read and followed the Dart Style Guide and formatted the code using dart format (N/A - documentation only)
  • I have referenced at least one issue this PR fixes or is related to
  • I have updated/added relevant documentation
  • I have added new tests to verify the changes (N/A - documentation only)
  • All existing and new tests pass successfully
  • I have documented any breaking changes below

Breaking Changes

  • No breaking changes

Summary by CodeRabbit

  • Documentation

    • Added a detailed history and design overview explaining architecture, routing, typing, WebSocket support, performance considerations, and migration guidance.
    • Introduced a comprehensive documentation outline covering core concepts, routing internals, middleware patterns, headers, WebSockets, state management, static files, adapters, testing, performance, migration from Shelf, advanced topics, API reference, and examples.
  • Chores

    • Expanded ignore patterns to exclude generated documentation output, with existing ignores preserved.

@coderabbitai

coderabbitai Bot commented Oct 1, 2025 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

📝 Walkthrough

Walkthrough

Adds documentation files under doc/ and updates .pubignore to include doc/site. No source code or public APIs are changed.

Changes

Cohort / File(s) Summary
Ignore configuration
`.pubignore`
Adds ignore entry for `doc/site` while keeping existing ignores; no functional code impact.
Documentation
`doc/history.md`, `doc/outline.md`
Introduces project history/architecture write-up and a comprehensive documentation outline covering concepts, routing, middleware, headers, WebSockets, performance, migration, and structure.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Out of Scope Changes Check ⚠️ Warning In addition to the requested outline, the PR introduces a history document (doc/history.md) and updates .pubignore to ignore doc/site, which were not part of the scope defined by issue #139. These additions expand beyond the linked issue’s requirement of an outline. Please separate the history document and .pubignore changes into a distinct pull request or link them to a relevant issue to keep this PR focused solely on the documentation outline.
✅ Passed checks (4 passed)
Check name Status Explanation
Title Check ✅ Passed The title “docs: Add documentation outline” succinctly conveys the primary intent of the pull request by focusing on the addition of the documentation outline, which is the main change requested in issue #139. It is concise, clear, and uses a conventional prefix for documentation changes without extraneous details.
Linked Issues Check ✅ Passed The changes directly implement the documentation outline specified in issue #139 by adding doc/outline.md and structuring topics as required, satisfying the core objective of creating a scaffold for Relic’s documentation.
Description Check ✅ Passed The pull request description follows the repository template by including a detailed Description section that explains what was added, a Related Issues section closing issue #139, a Pre-Launch Checklist reflecting documentation-only changes, and a Breaking Changes section. All required template headings are present and appropriately filled out.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.

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.

@codecov

codecov Bot commented Oct 1, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.85%. Comparing base (2338114) to head (06a2d95).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #184   +/-   ##
=======================================
  Coverage   91.85%   91.85%           
=======================================
  Files          85       85           
  Lines        3155     3155           
  Branches     1630     1630           
=======================================
  Hits         2898     2898           
  Misses        257      257           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nielsenko
nielsenko force-pushed the docs-outline branch 3 times, most recently from 7e82b38 to a347a1e Compare October 3, 2025 08:52
@nielsenko nielsenko changed the title doc: Add history.md docs: Add history.md Oct 3, 2025
@nielsenko nielsenko changed the title docs: Add history.md docs: Add documentation outline Oct 3, 2025
@nielsenko nielsenko self-assigned this Oct 6, 2025
@nielsenko
nielsenko requested a review from Copilot October 6, 2025 11:15
@nielsenko

Copy link
Copy Markdown
Collaborator Author

@CodeRabbit review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds comprehensive documentation planning materials to support the development of Relic's documentation. It provides a detailed outline of the intended documentation structure and a history document explaining Relic's origins and design decisions.

  • Creates a comprehensive documentation structure outline covering all major features and concepts
  • Adds historical context document explaining Relic's relationship to Shelf and Serverpod
  • Updates .pubignore to exclude documentation site files from publication

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
doc/outline.md Comprehensive documentation structure outline with sections for core concepts, routing, middleware, WebSockets, and advanced topics
doc/history.md Historical context document explaining Relic's origins, design decisions, and differences from Shelf
.pubignore Adds doc/site exclusion to prevent documentation site files from being included in package publication

Comment thread doc/history.md Resolved
Comment thread doc/history.md Resolved
@coderabbitai

coderabbitai Bot commented Oct 6, 2025

Copy link
Copy Markdown
Contributor
✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

♻️ Duplicate comments (2)
doc/history.md (2)

112-113: Use ctx when storing the context property.

Inside the middleware closure we only have the ctx parameter; indexing the ContextProperty with this won’t compile. Let’s align with the previous feedback.

-      _currentUser[this] = user;  // Type-safe assignment
+      _currentUser[ctx] = user;  // Type-safe assignment

11-11: Fix the spelling of “successful”.

Correct the typo to keep the doc polished.

-Shelf has been hugely succesful in the Dart eco-system.
+Shelf has been hugely successful in the Dart ecosystem.
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2338114 and 3833356.

📒 Files selected for processing (3)
  • .pubignore (1 hunks)
  • doc/history.md (1 hunks)
  • doc/outline.md (1 hunks)

Comment thread doc/history.md Resolved
@nielsenko
nielsenko marked this pull request as ready for review October 6, 2025 11:22
@nielsenko
nielsenko requested a review from a team October 6, 2025 11:23

@SandPod SandPod left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Outline looks good to me as a target end goal. I guess we should remove or transform these files once it is implemented?

@nielsenko
nielsenko merged commit 2910d7a into serverpod:main Oct 7, 2025
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.

Documentation outline

3 participants