Skip to content

Commit 3b4678d

Browse files
authored
Merge pull request #102 from eviltester/88-update-docusaurus-version
updated docusaurus
2 parents b6ae225 + 6b8b0ac commit 3b4678d

10 files changed

Lines changed: 12626 additions & 22139 deletions

File tree

PACKAGE_MANAGER_POLICY.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ This repository is **pnpm-first**.
2424

2525
- changelog references to npm remain as historical records.
2626

27-
4. `docs-src` transitional scope:
28-
29-
- Until Docusaurus migration is completed, `docs-src` may retain its own lockfile/tooling behavior.
30-
3127
## Disallowed Locations For `npm`/`npx`
3228

3329
- `.github/workflows/*`

apps/anywaydata/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ COPY scripts ./scripts
1414

1515
RUN pnpm install --frozen-lockfile
1616
RUN node -e "require.resolve('@rolldown/binding-linux-x64-musl')" >/dev/null 2>&1 || (pnpm install --force --frozen-lockfile --config.minimumReleaseAge=0 && node -e "require.resolve('@rolldown/binding-linux-x64-musl')")
17-
RUN cd docs-src && npm ci
18-
RUN cd docs-src && npm run anywaydata
17+
RUN pnpm --dir docs-src run anywaydata
1918
RUN pnpm run build:web
2019
RUN node ./scripts/merge-web-build-into-docs-build.js
2120

@@ -24,4 +23,3 @@ WORKDIR /usr/share/nginx/html
2423

2524
COPY --from=builder /app/build/ ./
2625

27-

docs-src/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Website
22

3-
This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.
3+
This website is built using [Docusaurus 3](https://docusaurus.io/), a modern static website generator.
44

55
### Installation
66

@@ -39,4 +39,3 @@ GIT_USER=<Your GitHub username> pnpm run deploy
3939
```
4040

4141
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
42-

docs-src/docs/030-data-formats/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
"type": "generated-index",
66
"description": "Learn about the different data formats that AnyWayData.com supports for conversion, importing and exporting."
77
},
8-
"collapsed": false
8+
"collapsed": true
99
}

docs-src/docs/040-test-data/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
"type": "generated-index",
66
"description": "The Data can be populated with randomly generated data using a data set definition with field types from Faker, Regular Expressions, or pairwise combinatorial testing for enum parameters."
77
},
8-
"collapsed": false
8+
"collapsed": true
99
}

docs-src/docusaurus.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ const config = {
1212
url: 'https://anywaydata.com',
1313
baseUrl: '/',
1414
onBrokenLinks: 'throw',
15-
onBrokenMarkdownLinks: 'warn',
15+
markdown: {
16+
hooks: {
17+
onBrokenMarkdownLinks: 'warn',
18+
},
19+
},
1620
favicon: 'img/favicon.ico',
1721

1822
// GitHub pages deployment config.

0 commit comments

Comments
 (0)