From 534cf8c800627a15116e0706593d07be8d0ff55c Mon Sep 17 00:00:00 2001 From: Niccolo Borgioli Date: Mon, 3 Feb 2025 11:16:34 +0100 Subject: [PATCH] better theme for typedoc --- package.json | 1 + pnpm-lock.yaml | 19 +++++++++++++++++++ typedoc.json | 3 +++ 3 files changed, 23 insertions(+) diff --git a/package.json b/package.json index 3915458..e7a2718 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ "npm-run-all": "^4.1.5", "playwright": "^1.50.1", "typedoc": "^0.27.6", + "typedoc-material-theme": "^1.3.0", "typescript": "^5.7.3", "vitest": "^3.0.4" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index da3e1b7..fe15f9b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -26,6 +26,9 @@ importers: typedoc: specifier: ^0.27.6 version: 0.27.6(typescript@5.7.3) + typedoc-material-theme: + specifier: ^1.3.0 + version: 1.3.0(typedoc@0.27.6(typescript@5.7.3)) typescript: specifier: ^5.7.3 version: 5.7.3 @@ -243,6 +246,9 @@ packages: '@jridgewell/sourcemap-codec@1.5.0': resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} + '@material/material-color-utilities@0.3.0': + resolution: {integrity: sha512-ztmtTd6xwnuh2/xu+Vb01btgV8SQWYCaK56CkRK8gEkWe5TuDyBcYJ0wgkMRn+2VcE9KUmhvkz+N9GHrqw/C0g==} + '@mswjs/interceptors@0.37.6': resolution: {integrity: sha512-wK+5pLK5XFmgtH3aQ2YVvA3HohS3xqV/OxuVOdNx9Wpnz7VE/fnC+e1A7ln6LFYeck7gOJ/dsZV6OLplOtAJ2w==} engines: {node: '>=18'} @@ -1258,6 +1264,12 @@ packages: resolution: {integrity: sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==} engines: {node: '>= 0.4'} + typedoc-material-theme@1.3.0: + resolution: {integrity: sha512-4vY68NUBBkMc3gKAltDtvT0KbIYX1uaFAT/3brDwhnUxhfTiYRtfg8VXR2lr8f+9VNDh7BfEtj8gpRO7Y93TWQ==} + engines: {node: '>=18.0.0', npm: '>=8.6.0'} + peerDependencies: + typedoc: ^0.25.13 || ^0.26.x || ^0.27.x + typedoc@0.27.6: resolution: {integrity: sha512-oBFRoh2Px6jFx366db0lLlihcalq/JzyCVp7Vaq1yphL/tbgx2e+bkpkCgJPunaPvPwoTOXSwasfklWHm7GfAw==} engines: {node: '>= 18'} @@ -1565,6 +1577,8 @@ snapshots: '@jridgewell/sourcemap-codec@1.5.0': {} + '@material/material-color-utilities@0.3.0': {} + '@mswjs/interceptors@0.37.6': dependencies: '@open-draft/deferred-promise': 2.2.0 @@ -2717,6 +2731,11 @@ snapshots: possible-typed-array-names: 1.0.0 reflect.getprototypeof: 1.0.10 + typedoc-material-theme@1.3.0(typedoc@0.27.6(typescript@5.7.3)): + dependencies: + '@material/material-color-utilities': 0.3.0 + typedoc: 0.27.6(typescript@5.7.3) + typedoc@0.27.6(typescript@5.7.3): dependencies: '@gerrit0/mini-shiki': 1.27.2 diff --git a/typedoc.json b/typedoc.json index 1fdad13..8937d32 100644 --- a/typedoc.json +++ b/typedoc.json @@ -5,6 +5,9 @@ "name": "Occulto", "includeVersion": true, + "plugin": ["typedoc-material-theme"], + "themeColor": "#cb9820", + "excludeInternal": true, "excludePrivate": true }