Skip to content

lib-portal: page paths relative to the portalScope key - #92

Merged
rymsha merged 2 commits into
masterfrom
claude/guillotine-pr-review-92srxb
Oct 9, 2026
Merged

rymsha merged 2 commits into
masterfrom
claude/guillotine-pr-review-92srxb

Conversation

@rymsha

@rymsha rymsha commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Docs for enonic/xp#12441 (enonic/xp#12442): page paths are relative to the content the portalScope key names, and baseUrl is the configured Base URL followed by its path below the site or project.

🤖 Generated with Claude Code

https://claude.ai/code/session_01L8TCeZWgJjKTDhmntR9JtB


Generated by Claude Code

Copilot AI balanced review requested due to automatic review settings October 9, 2026 09:03

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.

🟡 Changes recommended

Scope reuse guidance incorrectly includes pages outside a nested content scope, and one parameter description is grammatically incomplete.

2 open findings
What changed in this PR

Documents XP’s updated portal-scope URL semantics.

Changes:

  • Defines paths relative to the content named by portalScope.key.
  • Clarifies baseUrl composition and affected return types.
  • Updates XP 8.1 upgrade guidance.
File Description
docs/​upgrade.adoc Updates migration guidance for portalScope().
docs/​libraries/​lib-portal.adoc Revises portal scope, URL parts, and HTML processing reference documentation.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/libraries/lib-portal.adoc Outdated
Comment thread docs/libraries/lib-portal.adoc Outdated
@rymsha
rymsha merged commit 208487d into master Oct 9, 2026
2 checks passed
@rymsha
rymsha deleted the claude/guillotine-pr-review-92srxb branch October 9, 2026 10:44
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