Skip to content

fix: link portal header title to the current project index - #1601

Merged
alexxu-amd merged 1 commit into
developfrom
fix/header-title-self-link
Jul 23, 2026
Merged

fix: link portal header title to the current project index#1601
alexxu-amd merged 1 commit into
developfrom
fix/header-title-self-link

Conversation

@pmoutsias-amd

Copy link
Copy Markdown
Contributor

Summary

In the shared portal header, the project title on the left ({{ project }} {{ version }}) was hardcoded to link to a single fixed portal index for every site that uses this flavor. On component sites this sent users to the wrong index page instead of their own.

This changes the title link to pathto(root_doc), the standard Sphinx idiom for the current build's own index, so each site's header title links to its own landing page.

Test plan

  • Build a component doc site with this flavor and confirm the header title links to that site's own index
  • Build the main portal site and confirm the header title still resolves to its index

The shared multi-tenant portal flavor hardcoded the header title link to
a single project's index, so every site using it sent users to that hub
instead of their own landing page. Link the title to the current build's
root document so each site's title returns to its own index.
@alexxu-amd
alexxu-amd merged commit 3400aaf into develop Jul 23, 2026
3 of 7 checks passed
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.

2 participants