Skip to content

Commit abb2df9

Browse files
authored
[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
1 parent 4c3c819 commit abb2df9

File tree

12,086 files changed

+462939
-482563
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

12,086 files changed

+462939
-482563
lines changed

.github/CODEOWNERS

Lines changed: 126 additions & 129 deletions
Large diffs are not rendered by default.

.github/workflows/ci.yml

Lines changed: 0 additions & 63 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
on: [push, workflow_dispatch]
2+
3+
jobs:
4+
publish:
5+
runs-on: ubuntu-22.04
6+
permissions:
7+
contents: read
8+
name: Publish to Cloudflare Pages
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-node@v4
12+
with:
13+
node-version: 22.x
14+
cache: npm
15+
- run: npm ci
16+
- uses: actions/cache/restore@v4
17+
with:
18+
path: |
19+
node_modules/.astro/_astro
20+
node_modules/.astro/assets
21+
key: static
22+
- run: npx astro build
23+
env:
24+
NODE_OPTIONS: --max-old-space-size=4096
25+
- run: npx wrangler pages deploy --project-name cloudflare-docs dist
26+
env:
27+
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
28+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
29+
- uses: actions/cache/save@v4
30+
with:
31+
path: |
32+
node_modules/.astro/_astro
33+
node_modules/.astro/assets
34+
key: static
35+

.gitignore

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,27 @@
1+
# build output
2+
dist/
3+
# generated types
4+
.astro/
5+
6+
# dependencies
7+
node_modules/
8+
9+
# logs
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
pnpm-debug.log*
14+
15+
# environment variables
16+
.env
17+
.env.production
18+
19+
# macOS-specific files
120
.DS_Store
2-
node_modules
3-
*.lock
4-
*.log
5-
*.backup
6-
7-
/dist
8-
/public
9-
/assets/jsconfig.json
10-
/resources/_gen/images
21+
/test-results/
22+
/playwright-report/
23+
/blob-report/
24+
/playwright/.cache/
25+
26+
.wrangler
1127
/assets/secrets

.vscode/devdocs.code-snippets

Lines changed: 0 additions & 228 deletions
This file was deleted.

Makefile

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)