Skip to content

updates all aside text to sentence case#5572

Merged
sarah11918 merged 6 commits intomainfrom
aside-case
Dec 3, 2023
Merged

updates all aside text to sentence case#5572
sarah11918 merged 6 commits intomainfrom
aside-case

Conversation

@sarah11918
Copy link
Copy Markdown
Member

@sarah11918 sarah11918 commented Dec 3, 2023

Description (required)

This changes all of our aside (e.g. "tip", "note" etc.) custom titles to sentence case.

The Astro Docs site automatically converts all text written as a :::note[custom title] to uppercase, as a design choice.

Starlight, however, displays text exactly as written. Moreover, the design choice for Starlight is to NOT show this text as all upper case. So, existing asides had to be checked to make sure all custom title text was written in sentence case.

We used @vasfvitor 's find and replace algorithm to convert every custom title to sentence case, then manually inspected for proper nouns (e.g. Astro, StackBlitz, RSS) and manually added capitals.

image

@vercel
Copy link
Copy Markdown

vercel bot commented Dec 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview Dec 3, 2023 5:15pm

@vasfvitor
Copy link
Copy Markdown
Contributor

LGTM!

sarah11918 and others added 3 commits December 3, 2023 13:02
@sarah11918 sarah11918 merged commit 56ba19d into main Dec 3, 2023
@sarah11918 sarah11918 deleted the aside-case branch December 3, 2023 17:16
yanthomasdev added a commit that referenced this pull request Dec 8, 2023
Update file with PR #5217 #5305 #5572

Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
ematipico pushed a commit that referenced this pull request Jan 26, 2024
Co-authored-by: Vitor Ayres <vasfvitor@gmail.com>
ematipico pushed a commit that referenced this pull request Jan 26, 2024
Update file with PR #5217 #5305 #5572

Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
trueberryless added a commit to trueberryless/withastro-docs that referenced this pull request Oct 30, 2024
yanthomasdev added a commit that referenced this pull request Nov 4, 2024
* update translation #5364

* update translation #5572

* update translation #8585

* update translation #9082

---------

Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
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