docs stuff
Some checks failed
Actions / Build and Push Documentation (push) Failing after 11s

This commit is contained in:
cswimr 2025-02-09 16:15:10 -06:00
parent 04f1990165
commit d68183942b
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
6 changed files with 16 additions and 7 deletions

View file

@ -28,7 +28,7 @@ jobs:
else
export SITE_URL="https://packwizjs.csw.im"
fi
bun docs --hostedBaseUrl $SITE_URL --useHostedBaseUrlForAbsoluteLinks true
bun docs --loglevel verbose --hostedBaseUrl $SITE_URL --useHostedBaseUrlForAbsoluteLinks true
- name: Deploy documentation to Meli
run: |
GREEN='\033[0;32m'
@ -40,7 +40,7 @@ jobs:
echo "${YELLOW}Deploying to ${BLUE}Meli ${YELLOW}on branch ${GREEN}$CI_ACTION_REF_NAME_SLUG${YELLOW}...\n"
npx -p "@getmeli/cli" meli upload ./docs/html \
npx -p "@getmeli/cli" meli upload ./.generated_docs/html \
--url "https://meli.csw.im" \
--site "${{ vars.MELI_SITE_ID }}" \
--token "${{ secrets.MELI_SITE_SECRET }}" \

2
.gitignore vendored
View file

@ -178,4 +178,4 @@ dist
.direnv/
# Documentation
docs/
.generated_docs/

View file

@ -1,5 +1,7 @@
# PackwizJS
[![Documentation](https://packwizjs.csw.im/coverage.svg)](https://packwizjs.csw.im)
A simple JavaScript module to parse the contents of Packwiz index files.
## Installation

View file

@ -11,6 +11,7 @@
"devDependencies": {
"@getmeli/cli": "1.2.0",
"@types/bun": "latest",
"@typhonjs-typedoc/ts-lib-docs": "^2024.12.25",
"@typhonjs-typedoc/typedoc-theme-dmt": "0.3.1",
"eslint": "9.20.0",
"eslint-config-standard": "17.1.0",
@ -84,6 +85,8 @@
"@types/ws": ["@types/ws@8.5.14", "", { "dependencies": { "@types/node": "*" } }, "sha512-bd/YFLW+URhBzMXurx7lWByOu+xzU9+kb3RboOteXYDfW+tr+JZa99OyNmPINEGB/ahzKrEuc8rcv4gnpJmxTw=="],
"@typhonjs-typedoc/ts-lib-docs": ["@typhonjs-typedoc/ts-lib-docs@2024.12.25", "", { "peerDependencies": { "typedoc": ">=0.25.0 || 0.26.x || 0.27.x || 0.28.x || 0.29.x || 0.30.x || 0.31.x" } }, "sha512-3yC+j9Sp1kLdgbiV9fTeeYZFugmuZQoUBFzZpUP5iK9Yj0oP+1ZvBw6CDdcqEjXOMO44teQZhfuhAlDNT6Pujg=="],
"@typhonjs-typedoc/typedoc-theme-dmt": ["@typhonjs-typedoc/typedoc-theme-dmt@0.3.1", "", { "dependencies": { "cheerio": "^1.0.0" }, "peerDependencies": { "typedoc": ">=0.27.3 <0.28" } }, "sha512-f0nRR0ZF+tJ0KqCTfBwidS+JpaKPWVHftnNN51zlzm8BnQsaJ0MnVmN2vpdpPXTpZJgQuwZ1Y/NDV9ALqHPI7g=="],
"acorn": ["acorn@8.14.0", "", { "bin": { "acorn": "bin/acorn" } }, "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA=="],

View file

@ -8,12 +8,13 @@
"devDependencies": {
"@getmeli/cli": "1.2.0",
"@types/bun": "latest",
"@typhonjs-typedoc/ts-lib-docs": "^2024.12.25",
"@typhonjs-typedoc/typedoc-theme-dmt": "0.3.1",
"eslint": "9.20.0",
"eslint-config-standard": "17.1.0",
"typedoc": "0.27.7",
"typedoc-plugin-markdown": "4.4.1",
"typedoc-plugin-coverage": "3.4.1",
"@typhonjs-typedoc/typedoc-theme-dmt": "0.3.1"
"typedoc-plugin-markdown": "4.4.1"
},
"peerDependencies": {
"typescript": "^5.0.0"

View file

@ -5,7 +5,7 @@
"outputs": [
{
"name": "html",
"path": "./docs/html",
"path": "./.generated_docs/html",
"options": {
"navigation": {
"includeCategories": true,
@ -34,9 +34,12 @@
"style": "compact",
},
"sourceLinkTemplate": "https://c.csw.im/GalacticFactory/PackwizJS/src/commit/{gitRevision}/{path}#L{line}",
"coverageLabel": "Documentation Coverage",
"coverageOutputType": "all",
"plugin": [
"typedoc-plugin-coverage",
"@typhonjs-typedoc/typedoc-theme-dmt"
"@typhonjs-typedoc/typedoc-theme-dmt",
"@typhonjs-typedoc/ts-lib-docs"
],
"categorizeByGroup": true
}