Skip to content

enhance(rari-doc): use root short-title in pageTitle #220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

caugner
Copy link
Contributor

@caugner caugner commented May 23, 2025

Description

Updates the pageTitle to use the root's short-title instead of title.

Motivation

Makes the titles more concise, e.g.:

-display - CSS: Cascading Style Sheets | MDN
+display - CSS | MDN

-<a>: The Anchor element - HTML: HyperText Markup Language | MDN
+<a>: The Anchor element - HTML | MDN

Note that this does not affect the title of the landing pages themselves:

-CSS: Cascading Style Sheets | MDN
+CSS: Cascading Style Sheets | MDN

-HTML: HyperText Markup Language | MDN
+HTML: HyperText Markup Language | MDN

Additional details

Related issues and pull requests

Related:

@caugner caugner requested review from Rumyra and fiji-flo May 23, 2025 16:00
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