docs: enable hybrid rendering (#9823)

* docs: enable hybrid rendering

* build: move generate -> build

Co-authored-by: Daniel Roe <daniel@roe.dev>
This commit is contained in:
Sébastien Chopin 2022-12-22 18:53:36 +01:00 committed by GitHub
parent 32e01de8d8
commit 3dcf463fa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 61 additions and 42 deletions

View File

@ -1,4 +1,5 @@
# Local version of the website theme
WEBSITE_THEME=/my/path/to/website-theme
OPEN_COLLECTIVE_API_KEY=
NUXT_OPEN_COLLECTIVE_API_KEY=
NUXT_GITHUB_TOKEN=

View File

@ -3,14 +3,14 @@
"private": true,
"scripts": {
"dev": "yarn gendocs && nuxi dev",
"build": "yarn gendocs && nuxi generate",
"build": "yarn gendocs && nuxi build",
"build:ci": "cd .. && corepack enable && pnpm install && pnpm build:stub && cd docs && yarn build",
"gendocs": "jiti ./scripts/gen-docs.ts"
},
"devDependencies": {
"jiti": "^1.16.0",
"nuxt": "^3.0.0",
"nuxt-website-theme": "^0.1.27",
"nuxt-website-theme": "^0.2.0",
"pathe": "^1.0.0",
"scule": "^1.0.0",
"untyped": "^1.2.0"

View File

@ -987,24 +987,24 @@ __metadata:
languageName: node
linkType: hard
"@nuxt/content@npm:^2.2.2":
version: 2.2.2
resolution: "@nuxt/content@npm:2.2.2"
"@nuxt/content@npm:^2.3.0":
version: 2.3.0
resolution: "@nuxt/content@npm:2.3.0"
dependencies:
"@nuxt/kit": ^3.0.0-rc.13
"@nuxt/kit": v3.0.0
consola: ^2.15.3
defu: ^6.1.1
destr: ^1.2.1
destr: ^1.2.2
detab: ^3.0.2
html-tags: ^3.2.0
json5: ^2.2.1
knitwork: ^1.0.0
listhen: ^1.0.0
listhen: ^1.0.1
mdast-util-to-hast: ^12.2.4
mdurl: ^1.0.1
ohash: ^1.0.0
pathe: ^1.0.0
property-information: ^6.1.1
property-information: ^6.2.0
rehype-external-links: ^2.0.1
rehype-raw: ^6.1.1
rehype-slug: ^5.1.0
@ -1012,22 +1012,22 @@ __metadata:
rehype-sort-attributes: ^4.0.0
remark-emoji: ^3.0.2
remark-gfm: ^3.0.1
remark-mdc: ^1.1.1
remark-mdc: ^1.1.3
remark-parse: ^10.0.1
remark-rehype: ^10.1.0
remark-squeeze-paragraphs: ^5.0.1
scule: ^1.0.0
shiki-es: ^0.1.2
slugify: ^1.6.5
socket.io-client: ^4.5.3
ufo: ^1.0.0
socket.io-client: ^4.5.4
ufo: ^1.0.1
unified: ^10.1.2
unist-builder: ^3.0.0
unist-util-position: ^4.0.3
unist-util-visit: ^4.1.1
unstorage: ^1.0.0
unstorage: ^1.0.1
ws: ^8.11.0
checksum: 3f955f32c99c1c87ede44bd8014ab73811e61d92314ac6dd297ec4a258d21843cfe2271fe318780dfcd57a5d943df79c673a8764c82ec28bb09aadf344aaa879
checksum: 1812a5f2f52949821f1ff69fa098b4480cbc7c5951c2c41876fcbf58414a978d5e7be51c70b8c1912321367b15329f2c8cbb1a7697b6602c5c97e5b455be369d
languageName: node
linkType: hard
@ -1038,7 +1038,7 @@ __metadata:
languageName: node
linkType: hard
"@nuxt/kit@npm:3.0.0, @nuxt/kit@npm:^3.0.0, @nuxt/kit@npm:^3.0.0-rc.12, @nuxt/kit@npm:^3.0.0-rc.13, @nuxt/kit@npm:^3.0.0-rc.14, @nuxt/kit@npm:^3.0.0-rc.9":
"@nuxt/kit@npm:3.0.0, @nuxt/kit@npm:^3.0.0, @nuxt/kit@npm:^3.0.0-rc.12, @nuxt/kit@npm:^3.0.0-rc.14, @nuxt/kit@npm:^3.0.0-rc.9, @nuxt/kit@npm:v3.0.0":
version: 3.0.0
resolution: "@nuxt/kit@npm:3.0.0"
dependencies:
@ -4054,6 +4054,13 @@ __metadata:
languageName: node
linkType: hard
"destr@npm:^1.2.2":
version: 1.2.2
resolution: "destr@npm:1.2.2"
checksum: 3906b49513a64d8442dacb8b798c59d66257ded4ccd2ef1d99b58644d4aa6b30ca61f9a9823d3dcbc78b4db812596e53e85e499f39a498b3b165a045b5228b2b
languageName: node
linkType: hard
"destroy@npm:1.2.0, destroy@npm:^1.0.4":
version: 1.2.0
resolution: "destroy@npm:1.2.0"
@ -4138,7 +4145,7 @@ __metadata:
dependencies:
jiti: ^1.16.0
nuxt: ^3.0.0
nuxt-website-theme: ^0.1.27
nuxt-website-theme: ^0.2.0
pathe: ^1.0.0
scule: ^1.0.0
untyped: ^1.2.0
@ -6939,6 +6946,22 @@ __metadata:
languageName: node
linkType: hard
"listhen@npm:^1.0.1":
version: 1.0.1
resolution: "listhen@npm:1.0.1"
dependencies:
clipboardy: ^3.0.0
colorette: ^2.0.19
defu: ^6.1.1
get-port-please: ^2.6.1
http-shutdown: ^1.2.2
ip-regex: ^5.0.0
node-forge: ^1.3.1
ufo: ^1.0.0
checksum: 5e102a35afce5ef46609279c4ef35749b971bdc5f2e809d4e817e88dbef08eaafa1a34943ad9a2705f01e7f734dc3727ff851a982ed7753b6bbee04294773218
languageName: node
linkType: hard
"loader-utils@npm:^2.0.0":
version: 2.0.4
resolution: "loader-utils@npm:2.0.4"
@ -8906,14 +8929,14 @@ __metadata:
languageName: node
linkType: hard
"nuxt-website-theme@npm:^0.1.27":
version: 0.1.27
resolution: "nuxt-website-theme@npm:0.1.27"
"nuxt-website-theme@npm:^0.2.0":
version: 0.2.0
resolution: "nuxt-website-theme@npm:0.2.0"
dependencies:
"@docsearch/css": ^3.3.0
"@docsearch/js": ^3.3.0
"@nuxt-themes/typography": ^0.1.4
"@nuxt/content": ^2.2.2
"@nuxt/content": ^2.3.0
"@nuxthq/studio": ^0.3.4
"@nuxthq/ui": ^0.1.17
"@nuxtjs/algolia": ^1.3.1
@ -8932,7 +8955,7 @@ __metadata:
tailwindcss-border-gradient-radius: ^3.0.1
three: ^0.147.0
vue-lite-youtube-embed: ^1.0.4
checksum: baf95425e0a1a0f56d1cc644d217221ed199fb70ba624803ce381c9fd0e533e85d2503ea36860b154cd1ef850eeda9a0ea471c51a2752f8a8a46f4b9492b1083
checksum: 22aa0013538c441953dac69036a0adcc877b8a02a90a97843132e86b4c677a66e41319a9c23a60c2fda139e335a4eb9ef8048d1a136b2cddce9fa7346a8c3a8a
languageName: node
linkType: hard
@ -10071,13 +10094,20 @@ __metadata:
languageName: node
linkType: hard
"property-information@npm:^6.0.0, property-information@npm:^6.1.1":
"property-information@npm:^6.0.0":
version: 6.1.1
resolution: "property-information@npm:6.1.1"
checksum: 654b1e5c3578e1d522bd22b7cf48881f5054789969ddbefea22e5359805fda5dbf0c5ef76bb26516da26fedac8752587ddc4c8f3b9e16bc0c6e7feb8b6086864
languageName: node
linkType: hard
"property-information@npm:^6.2.0":
version: 6.2.0
resolution: "property-information@npm:6.2.0"
checksum: 23afce07ba821cbe7d926e63cdd680991961c82be4bbb6c0b17c47f48894359c1be6e51cd74485fc10a9d3fd361b475388e1e39311ed2b53127718f72aab1955
languageName: node
linkType: hard
"proto-list@npm:~1.2.1":
version: 1.2.4
resolution: "proto-list@npm:1.2.4"
@ -10390,9 +10420,9 @@ __metadata:
languageName: node
linkType: hard
"remark-mdc@npm:^1.1.1":
version: 1.1.1
resolution: "remark-mdc@npm:1.1.1"
"remark-mdc@npm:^1.1.3":
version: 1.1.3
resolution: "remark-mdc@npm:1.1.3"
dependencies:
flat: ^5.0.2
js-yaml: ^4.1.0
@ -10404,11 +10434,11 @@ __metadata:
micromark-factory-whitespace: ^1.0.0
micromark-util-character: ^1.1.0
parse-entities: ^4.0.0
scule: ^0.3.2
scule: ^1.0.0
stringify-entities: ^4.0.3
unist-util-visit: ^4.1.1
unist-util-visit-parents: ^5.1.1
checksum: c9ecb0d226b330fcbf235af73e89c62789d4b5d510696272f6d81888d830295637e166d8e94f4c6bd3398c62f4eeaa6296c73dd12fdbc01afb45ed867c0bf9c7
checksum: a018dbada071dbb69e315b6f3a5578b1d8033f9ab39c0db9c40127c5fdb0098a119e1a602677f06f4a86d5d7edc799e6e457759370d24fbc52e97b86972c4abb
languageName: node
linkType: hard
@ -11021,18 +11051,6 @@ __metadata:
languageName: node
linkType: hard
"socket.io-client@npm:^4.5.3":
version: 4.5.3
resolution: "socket.io-client@npm:4.5.3"
dependencies:
"@socket.io/component-emitter": ~3.1.0
debug: ~4.3.2
engine.io-client: ~6.2.3
socket.io-parser: ~4.2.0
checksum: ebd2dbddece9e8b5926e8f20ed3d0620bdb07de70ece8fb6fa786690f543f420e2ea784a37e46ac470af3cc11f0199d9ecabd8f30eaf63c80974c3eaa7e8a9b0
languageName: node
linkType: hard
"socket.io-client@npm:^4.5.4":
version: 4.5.4
resolution: "socket.io-client@npm:4.5.4"
@ -11045,7 +11063,7 @@ __metadata:
languageName: node
linkType: hard
"socket.io-parser@npm:~4.2.0, socket.io-parser@npm:~4.2.1":
"socket.io-parser@npm:~4.2.1":
version: 4.2.1
resolution: "socket.io-parser@npm:4.2.1"
dependencies:
@ -11996,7 +12014,7 @@ __metadata:
languageName: node
linkType: hard
"unstorage@npm:^1.0.0, unstorage@npm:^1.0.1":
"unstorage@npm:^1.0.1":
version: 1.0.1
resolution: "unstorage@npm:1.0.1"
dependencies: