diff --git a/.gitignore b/.gitignore index f3c24951..80f11cf7 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,6 @@ sites/*/dist sites/*/.astro sites/*/.cache build/ -.docusaurus/ # Misc .DS_Store diff --git a/cloudflare/_headers b/cloudflare/_headers index a37ea054..7653e226 100644 --- a/cloudflare/_headers +++ b/cloudflare/_headers @@ -2,8 +2,8 @@ # is copied into the build output by the publish workflow, so that it is not # uploaded to S3/CloudFront where it would be publicly readable at /_headers. # -# Unlike the docusaurus build, astro emits a single content hashed asset -# directory shared by every language, so no per locale rules are needed. +# The build emits a single content hashed asset directory shared by every +# language, so no per locale rules are needed. # Content hashed build output (js, css, fonts). The file name changes with the # content, so these can be cached forever. diff --git a/cloudflare/_redirects b/cloudflare/_redirects index 07d47db9..d758d5ef 100644 --- a/cloudflare/_redirects +++ b/cloudflare/_redirects @@ -1,7 +1,7 @@ # Redirects for legacy URLs and routes the site no longer serves directly. # The api reference and the runner docs are separate products, published in -# english only. Docusaurus served an empty localized copy of them. +# english only, so they have no localized copy. /zh-cn/api/* /api/:splat 301 /zh-tw/api/* /api/:splat 301 /zh-cn/runner/* /runner/:splat 301 diff --git a/packages/content-loader/src/categories.ts b/packages/content-loader/src/categories.ts index 681b36cb..b49a9033 100644 --- a/packages/content-loader/src/categories.ts +++ b/packages/content-loader/src/categories.ts @@ -2,7 +2,7 @@ import { promises as fs } from 'node:fs'; import path from 'node:path'; import type { Segment } from './segments.js'; -/** `_category_.json`, the docusaurus per directory sidebar metadata. */ +/** `_category_.json`, the per directory sidebar metadata. */ export interface CategoryMeta { label?: string; position?: number; @@ -41,7 +41,7 @@ export function slugifyLabel(label: string): string { } /** - * Route id of the index page docusaurus generates for a category. + * Route id of the index page generated for a category. * * Top level categories are declared by `sidebars.js` without a slug and end up * under `/category/