mirror of
https://github.com/zoriya/v10.git
synced 2026-08-05 05:37:21 +00:00
chore(site): migrate to videojs.org and clean up remaining redirects (#853)
This commit is contained in:
+2
-2
@@ -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.)
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
User-agent: *
|
||||
|
||||
Sitemap: https://v10.videojs.org/sitemap-index.xml
|
||||
Sitemap: https://videojs.org/sitemap-index.xml
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user