-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Docs Site] Migrate to Starlight (#16096)
* [Starlight] Add config and misc files * [Starlight] Add .github changes * [Starlight] Remove Hugo directories * [Starlight] Remove Hugo VSCode snippets and components * [Starlight] Add README * [Starlight] Add public * [Starlight] Add assets * [Starlight] Add components * [Starlight] Add utils * [Starlight] Add schemas * [Starlight] Add icons * [Starlight] Add custom pages * [Starlight] Add custom CSS * [Starlight] Add env.d.ts * [Starlight] Add Apps/Videos/Plans/Pages data files * [Starlight] Add changelogs * [Starlight] Add glossary * [Starlight] Add partials * [Starlight] Add compatibility dates * [Starlight] Add learning paths * [Starlight] Add notifications * [Starlight] Add products * [Starlight] Add Workers AI models * [Starlight] Add content collections config * [Starlight] Add docs * [Starlight] Add Wrangler changelogs * [Starlight] Temporarily remove ci.yml * [Starlight] Filter Wrangler changelogs, remove redundant functions * [Starlight] MD in AnchorHeading & CompatibilityDates fix
- Loading branch information
Showing
12,086 changed files
with
462,939 additions
and
482,563 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
on: [push, workflow_dispatch] | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-22.04 | ||
permissions: | ||
contents: read | ||
name: Publish to Cloudflare Pages | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22.x | ||
cache: npm | ||
- run: npm ci | ||
- uses: actions/cache/restore@v4 | ||
with: | ||
path: | | ||
node_modules/.astro/_astro | ||
node_modules/.astro/assets | ||
key: static | ||
- run: npx astro build | ||
env: | ||
NODE_OPTIONS: --max-old-space-size=4096 | ||
- run: npx wrangler pages deploy --project-name cloudflare-docs dist | ||
env: | ||
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
- uses: actions/cache/save@v4 | ||
with: | ||
path: | | ||
node_modules/.astro/_astro | ||
node_modules/.astro/assets | ||
key: static | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,27 @@ | ||
# build output | ||
dist/ | ||
# generated types | ||
.astro/ | ||
|
||
# dependencies | ||
node_modules/ | ||
|
||
# logs | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
|
||
# environment variables | ||
.env | ||
.env.production | ||
|
||
# macOS-specific files | ||
.DS_Store | ||
node_modules | ||
*.lock | ||
*.log | ||
*.backup | ||
|
||
/dist | ||
/public | ||
/assets/jsconfig.json | ||
/resources/_gen/images | ||
/test-results/ | ||
/playwright-report/ | ||
/blob-report/ | ||
/playwright/.cache/ | ||
|
||
.wrangler | ||
/assets/secrets |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.