Skip to content

Revert "fix .md urls not rendering partials"#2777

Open
atharvadeosthale wants to merge 1 commit intomainfrom
revert-2776-fix-md-docs-partials
Open

Revert "fix .md urls not rendering partials"#2777
atharvadeosthale wants to merge 1 commit intomainfrom
revert-2776-fix-md-docs-partials

Conversation

@atharvadeosthale
Copy link
Member

@atharvadeosthale atharvadeosthale commented Mar 2, 2026

Reverts #2776

Summary by CodeRabbit

  • Refactor
    • Simplified markdown processing by removing partial file resolution functionality. Content is now returned in its original form without additional processing transformations.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 2, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6c37c17 and 4ca9307.

📒 Files selected for processing (2)
  • src/hooks.server.ts
  • src/lib/server/markdown.ts
💤 Files with no reviewable changes (1)
  • src/lib/server/markdown.ts

Walkthrough

This pull request removes the markdown partial processing feature from the codebase. The processMarkdownWithPartials function, which previously resolved and inlined partial markdown files with caching, has been completely removed from src/lib/server/markdown.ts. The corresponding usage in src/hooks.server.ts has been updated to return the original markdown content directly via getMarkdownContent without processing. The dynamic/static markdown handling functionality remains unchanged.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Revert "fix .md urls not rendering partials"' directly and accurately describes the main change: reverting a previous commit that implemented markdown partials processing functionality.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch revert-2776-fix-md-docs-partials

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.

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.

1 participant