Skip to content

docs(templated_uri): fix BaseUri docs to reflect path prefix support#327

Merged
kate-shine merged 3 commits intomainfrom
u/kchuranov/templated-uri-fix-base-uri-docs
Mar 19, 2026
Merged

docs(templated_uri): fix BaseUri docs to reflect path prefix support#327
kate-shine merged 3 commits intomainfrom
u/kchuranov/templated-uri-fix-base-uri-docs

Conversation

@kate-shine
Copy link
Copy Markdown
Contributor

BaseUri contains an optional path prefix (BasePath), but documentation incorrectly stated it only stores scheme and authority with no path.

BaseUri contains an optional path prefix (BasePath), but documentation
incorrectly stated it only stores scheme and authority with no path.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 18, 2026 14:10
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates BaseUri documentation to correctly describe support for an optional path prefix (BasePath), aligning crate docs and README with the actual type behavior.

Changes:

  • Clarified BaseUri docs to include optional path prefix support (not just scheme/authority).
  • Updated crate-level docs and README bullets for consistent BaseUri description.
  • Adjusted BaseUri Display docs to mention path output.

Reviewed changes

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

File Description
crates/templated_uri/src/lib.rs Updates crate-level BaseUri bullet to include optional path prefix.
crates/templated_uri/src/base_uri.rs Clarifies BaseUri rustdoc and updates Display formatting description.
crates/templated_uri/README.md Aligns README BaseUri description with path prefix support (and regenerates cargo-doc2readme metadata).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread crates/templated_uri/src/base_uri.rs Outdated
Comment thread crates/templated_uri/src/lib.rs Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.0%. Comparing base (0afb510) to head (6f399c6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #327   +/-   ##
=======================================
  Coverage   100.0%   100.0%           
=======================================
  Files         168      168           
  Lines       11903    11903           
=======================================
  Hits        11903    11903           

☔ 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.

…s and lib.rs

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@kate-shine kate-shine enabled auto-merge (squash) March 18, 2026 15:41
@kate-shine kate-shine merged commit d795ee1 into main Mar 19, 2026
27 checks passed
@kate-shine kate-shine deleted the u/kchuranov/templated-uri-fix-base-uri-docs branch March 19, 2026 12:19
Vaiz added a commit that referenced this pull request Apr 10, 2026
- ✨ Features

- Support redaction suppression.
([#332](#332))

- 🐛 Bug Fixes

- restore const on UriSafeString::from_static
([#328](#328))

- 📚 Documentation

- fix BaseUri docs to reflect path prefix support
([#327](#327))

- ♻️ Code Refactoring

- use re-exported macros instead of importing templated_uri_macros
directly ([#324](#324))
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.

4 participants