Skip to content

Commit cb43006

Browse files
committed
Merge branch 'production' of github.com:cloudflare/cloudflare-docs into production
2 parents 66d069a + 66b99da commit cb43006

File tree

71 files changed

+524
-248
lines changed

Some content is hidden

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

71 files changed

+524
-248
lines changed

.github/workflows/anchor-link-audit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838

3939
- run: npm run build
4040
env:
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4142
NODE_OPTIONS: "--max-old-space-size=4192"
4243

4344
- name: Install dependencies

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
## TODO: content formatting checks
4848
- run: npm run build
4949
env:
50+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5051
NODE_OPTIONS: "--max-old-space-size=4192"
5152
RUN_LINK_CHECK: true
5253

.github/workflows/publish-preview.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
- run: npm run build
3333
name: Build
3434
env:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3536
NODE_OPTIONS: --max-old-space-size=4096
3637
- name: Deploy to Cloudflare Workers
3738
env:

astro.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import rehypeMermaid from "./src/plugins/rehype/mermaid.ts";
1616
import rehypeAutolinkHeadings from "./src/plugins/rehype/autolink-headings.ts";
1717
import rehypeExternalLinks from "./src/plugins/rehype/external-links.ts";
1818
import rehypeHeadingSlugs from "./src/plugins/rehype/heading-slugs.ts";
19+
import rehypeShiftHeadings from "./src/plugins/rehype/shift-headings.ts";
1920

2021
async function autogenSections() {
2122
const sections = (
@@ -67,6 +68,7 @@ export default defineConfig({
6768
rehypeAutolinkHeadings,
6869
// @ts-expect-error plugins types are outdated but functional
6970
rehypeTitleFigure,
71+
rehypeShiftHeadings,
7072
],
7173
},
7274
image: {

0 commit comments

Comments
 (0)