diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 68e6167..5bc8da9 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -17,6 +17,7 @@ export default withMermaid({ sitemap: { hostname: 'https://mediabunny.dev', }, + lastUpdated: true, head: [ ['link', { rel: 'icon', type: 'image/png', href: '/mediabunny-logo.png' }], ['link', { rel: 'icon', type: 'image/svg+xml', href: '/mediabunny-logo.svg' }], diff --git a/docs/public/robots.txt b/docs/public/robots.txt new file mode 100644 index 0000000..32ad9f2 --- /dev/null +++ b/docs/public/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: https://mediabunny.dev/sitemap.xml \ No newline at end of file diff --git a/src/conversion.ts b/src/conversion.ts index 01fc278..a6dccfe 100644 --- a/src/conversion.ts +++ b/src/conversion.ts @@ -515,6 +515,9 @@ export class Conversion { /** * Whether this conversion, as it has been configured, is valid and can be executed. If this field is `false`, check * the `discardedTracks` field for reasons. + * + * Note: a conversion having discarded tracks does not automatically mean it is invalid; if the remaining, utilized + * tracks make for a valid output file, the conversion is still allowed. */ isValid = false; /** The list of tracks that are included in the output file. */