Skip to content

chore(config): fix v8 edit links and social meta tags, remove unused options - #4867

Draft
thetaPC wants to merge 1 commit into
docs/config-examplesfrom
chore/docusaurus-config
Draft

thetaPC wants to merge 1 commit into
docs/config-examplesfrom
chore/docusaurus-config

Conversation

@thetaPC

@thetaPC thetaPC commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Issue URL: N/A

What is the current behavior?

  • "Edit this page" on v8 API pages opens the v9 file, and every API page's link only views the file. The api/ branch in editUrl dates from fix(docs): edit github url #2370, when API pages were edited in ionic-framework.
  • og:image, og:type and og:site_name are output with name=. Open Graph specifies property, and some crawlers ignore name.
  • The config carries options nothing uses: organizationName and projectName (only read by docusaurus deploy, while the site deploys on Vercel), the deploy script, empty customFields and themes, and a commented-out dropdown.

What is the new behavior?

  • The api/ branch is removed, so API pages fall through to the default edit link for their version.
  • themeConfig.image sets the social image, so Docusaurus outputs og:image, twitter:image and twitter:card itself. og:type and og:site_name use property.
  • The unused options and the deploy script are removed.
  • The config is typed as a Docusaurus Config for editor autocomplete, and a wrong VersionOptions annotation on versions is dropped.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Compared with a build of the parent branch, only the social meta tags and the edit links on the 189 API pages change.

Stacked on #4866.

@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ionic-docs Ready Ready Preview Nov 18, 2026 4:05am UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — cfb04d11 Deployed Nov 18, 2026 by vercel[bot]
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