From 2adde3bdd0311148add74bcf3e62046b893ec2e1 Mon Sep 17 00:00:00 2001 From: Darius Cepulis Date: Tue, 10 Mar 2026 11:34:50 -0500 Subject: [PATCH] chore(site): migrate to videojs.org and clean up remaining redirects (#853) --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 2 +- .github/ISSUE_TEMPLATE/2.feature_request.yml | 2 +- .github/ISSUE_TEMPLATE/3.docs_feedback.yml | 2 +- .github/workflows/issue-triage.yml | 4 ++-- README.md | 4 ++-- site/README.md | 4 ++-- site/astro.config.mjs | 2 +- site/netlify.toml | 16 ++++++++++++++++ site/public/robots.txt | 2 +- ...-03-10-videojs-v10-beta-hello-world-again.mdx | 2 +- site/src/utils/jsonLd/schemas.ts | 12 ++++++------ 11 files changed, 34 insertions(+), 18 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml index 85617d07..4564a1b6 100644 --- a/.github/ISSUE_TEMPLATE/1.bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -9,7 +9,7 @@ body: value: | Thanks for taking the time to file a bug report! Please fill this template out as completely as possible. * If you are not reporting a bug, but want to ask a general question, use [discussions](https://github.com/videojs/v10/discussions) instead. - * Check the [docs](https://v10.videojs.org/docs). + * Check the [docs](https://videojs.org/docs). * Please check to see if there's an existing issue and replying there instead. * Please give as much details as you can. Ideally, include a [minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) - type: checkboxes diff --git a/.github/ISSUE_TEMPLATE/2.feature_request.yml b/.github/ISSUE_TEMPLATE/2.feature_request.yml index 49b479e5..313a8394 100644 --- a/.github/ISSUE_TEMPLATE/2.feature_request.yml +++ b/.github/ISSUE_TEMPLATE/2.feature_request.yml @@ -9,7 +9,7 @@ body: value: | Thanks for taking the time to file an enhancement report! Please fill this template out as completely as possible. * If you are not requesting a new feature or enhancement, but want to ask a general question, use [discussions](https://github.com/videojs/v10/discussions) instead. - * Check the [docs](https://v10.videojs.org/docs). + * Check the [docs](https://videojs.org/docs). * Please check to see if there's an existing issue or discussion and, if so, reply there instead. * Please provide as much detail as you can. - type: checkboxes diff --git a/.github/ISSUE_TEMPLATE/3.docs_feedback.yml b/.github/ISSUE_TEMPLATE/3.docs_feedback.yml index 2af04a2b..5791b873 100644 --- a/.github/ISSUE_TEMPLATE/3.docs_feedback.yml +++ b/.github/ISSUE_TEMPLATE/3.docs_feedback.yml @@ -8,7 +8,7 @@ body: value: | Thanks for helping us improve our documentation! Please fill this template out as completely as possible. * If you are not reporting a bug, but want to ask a general question, use [discussions](https://github.com/videojs/v10/discussions) instead. - * Check the [docs](https://v10.videojs.org/docs). + * Check the [docs](https://videojs.org/docs). * Please check to see if there's an existing issue and replying there instead. - type: checkboxes attributes: diff --git a/.github/workflows/issue-triage.yml b/.github/workflows/issue-triage.yml index 3f66cbb8..af4d14a9 100644 --- a/.github/workflows/issue-triage.yml +++ b/.github/workflows/issue-triage.yml @@ -59,14 +59,14 @@ jobs: 3. Escalate uncertainty: - Add `triage` label when classification is ambiguous, conflicting, or needs human judgment. 4. Suggest docs/resources when helpful: - - Use https://v10.videojs.org/llms.txt as the primary source to discover relevant docs links. + - Use https://videojs.org/llms.txt as the primary source to discover relevant docs links. - If likely already documented, suggest 1-3 relevant docs links with a short reason. - Prioritize repository/site docs over random sources. 5. Ask for missing critical info only when needed: - If reproduction or environment details are insufficient, post a short targeted follow-up. 6. Help users unblock when issue is about usage: - If the issue suggests the user is struggling to achieve something with the library, provide practical guidance. - - Suggest the most relevant documented approach with 1-3 links (from https://v10.videojs.org/llms.txt discovery). + - Suggest the most relevant documented approach with 1-3 links (from https://videojs.org/llms.txt discovery). - Include concise next steps or a minimal example/snippet when it materially helps. - If docs appear incomplete or unclear, call that out and add `triage` for human follow-up. 7. Planning recommendations (comment-only): diff --git a/README.md b/README.md index c4f3bed7..dcb38ecd 100644 --- a/README.md +++ b/README.md @@ -57,8 +57,8 @@ participating in this project you agree to abide by its terms. [v10-discussion]: https://github.com/videojs/video.js/discussions/9035 [heff-presentation]: https://players.brightcove.net/3737230800001/eyILA5XG7K_default/index.html?videoId=6379311036112 [coc]: https://github.com/videojs/video.js/blob/main/CODE_OF_CONDUCT.md -[site]: http://v10.videojs.org -[docs]: http://v10.videojs.org/docs +[site]: http://videojs.org +[docs]: http://videojs.org/docs [package]: https://www.npmjs.com/package/@videojs/core [package-badge]: https://img.shields.io/npm/v/@videojs/core?label=@videojs/core [discord]: https://discord.gg/JBqHh485uF diff --git a/site/README.md b/site/README.md index 9f4a65b7..df66e696 100644 --- a/site/README.md +++ b/site/README.md @@ -1,6 +1,6 @@ # Video.js Website -For docs, blog, and more: [v10.videojs.org](https://v10.videojs.org). +For docs, blog, and more: [videojs.org](https://videojs.org). Mostly a standard [Astro](https://astro.build/) project. @@ -10,7 +10,7 @@ Mostly a standard [Astro](https://astro.build/) project. ## Project Structure ```text -├── public/ # Static assets served as v10.videojs.org/[filename] +├── public/ # Static assets served as videojs.org/[filename] ├── scripts/ │ └── api-docs-builder/ # Generates API reference JSON from TypeScript sources ├── integrations/ # Custom Astro integrations (pagefind, llms-markdown, etc.) diff --git a/site/astro.config.mjs b/site/astro.config.mjs index 8abdb731..ec92062e 100644 --- a/site/astro.config.mjs +++ b/site/astro.config.mjs @@ -18,7 +18,7 @@ import remarkConditionalHeadings from './src/utils/remarkConditionalHeadings'; import { remarkReadingTime } from './src/utils/remarkReadingTime.mjs'; import shikiTransformMetadata from './src/utils/shikiTransformMetadata'; -const SITE_URL = 'https://v10.videojs.org'; +const SITE_URL = 'https://videojs.org'; // https://astro.build/config export default defineConfig({ diff --git a/site/netlify.toml b/site/netlify.toml index 93093480..8bfba4ca 100644 --- a/site/netlify.toml +++ b/site/netlify.toml @@ -51,3 +51,19 @@ from = "/html5-video-support" to = "/support" status = 307 + +# Misc v8 stragglers +[[redirects]] + from = "/getting-started" + to = "/docs" + status = 307 + +[[redirects]] + from = "/advanced" + to = "/docs" + status = 307 + +[[redirects]] + from = "/plugins" + to = "/docs" + status = 307 diff --git a/site/public/robots.txt b/site/public/robots.txt index 8ca37b34..39385263 100644 --- a/site/public/robots.txt +++ b/site/public/robots.txt @@ -1,3 +1,3 @@ User-agent: * -Sitemap: https://v10.videojs.org/sitemap-index.xml +Sitemap: https://videojs.org/sitemap-index.xml diff --git a/site/src/content/blog/2026-03-10-videojs-v10-beta-hello-world-again.mdx b/site/src/content/blog/2026-03-10-videojs-v10-beta-hello-world-again.mdx index 64874093..b5e4b2e8 100644 --- a/site/src/content/blog/2026-03-10-videojs-v10-beta-hello-world-again.mdx +++ b/site/src/content/blog/2026-03-10-videojs-v10-beta-hello-world-again.mdx @@ -338,7 +338,7 @@ Over time we'll expand into more use cases: creator-platform players, short-form The last year, and even just the last few months specifically have been a wild time to be building a new project like this. We're of course excited for how AI will create interesting interactive player features in the months and years to come and we have a few ideas of what those will be. For Beta, however, we've been focused on the *agent experience* of building video.js-based players with the help of AI. - Less-abstracted components and unstyled UI primitives so agents can do more with the code right in your project and need fewer external docs -- [llms.txt](https://v10.videojs.org/llms.txt) to make navigating Video.js docs more efficient, including [framework-specific llms.txt](https://vjs10-site.netlify.app/docs/framework/react/llms.txt) +- [llms.txt](https://videojs.org/llms.txt) to make navigating Video.js docs more efficient, including [framework-specific llms.txt](https://vjs10-site.netlify.app/docs/framework/react/llms.txt) - Markdown versions of every [individual doc](https://vjs10-site.netlify.app/docs/framework/react/reference/play-button.md). If your agent hits our site with the accept: text/markdown header — as many like Claude Code do — we'll send the markdown version of the page, saving your agent loads of unnecessary context bloat. - A growing set of AI skills in the repo, currently helping us build and soon will help you build too. diff --git a/site/src/utils/jsonLd/schemas.ts b/site/src/utils/jsonLd/schemas.ts index 35ecdfc3..6a958081 100644 --- a/site/src/utils/jsonLd/schemas.ts +++ b/site/src/utils/jsonLd/schemas.ts @@ -39,12 +39,12 @@ export function createTechArticleSchema(params: { author: { '@type': 'Organization', name: 'Video.js', - url: 'https://v10.videojs.org', + url: 'https://videojs.org', }, publisher: { '@type': 'Organization', name: 'Video.js', - url: 'https://v10.videojs.org', + url: 'https://videojs.org', }, inLanguage: 'en-US', }; @@ -96,7 +96,7 @@ export function createBlogPostingSchema(params: { publisher: { '@type': 'Organization', name: 'Video.js', - url: 'https://v10.videojs.org', + url: 'https://videojs.org', }, inLanguage: 'en-US', mainEntityOfPage: { @@ -132,7 +132,7 @@ export function createBlogCollectionSchema(params: { publisher: { '@type': 'Organization', name: 'Video.js', - url: 'https://v10.videojs.org', + url: 'https://videojs.org', }, inLanguage: 'en-US', }; @@ -180,7 +180,7 @@ export function createAuthorCollectionSchema(params: { publisher: { '@type': 'Organization', name: 'Video.js', - url: 'https://v10.videojs.org', + url: 'https://videojs.org', }, inLanguage: 'en-US', }; @@ -232,7 +232,7 @@ export function createProfilePageSchema(params: { publisher: { '@type': 'Organization', name: 'Video.js', - url: 'https://v10.videojs.org', + url: 'https://videojs.org', }, inLanguage: 'en-US', };