mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
chore(site): migrate to videojs.org and clean up remaining redirects (#853)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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
|
||||
|
||||
+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