-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
include endo, agoric-sdk reference doc in search #927
Comments
TypeError from typedoc plugin for vitepress (solved)@0xpatrickdev noted typedoc-plugin-markdown Vitepress theme I tried it out today, but without luck: followed the quickstart instructions diff --git a/package.json b/package.json
index 5ee1a4f85..e9bb2a0dd 100644
--- a/package.json
+++ b/package.json
@@ -34,6 +34,8 @@
"prettier-plugin-jsdoc": "^1.0.0",
"type-coverage": "^2.27.1",
"typedoc": "^0.25.7",
+ "typedoc-plugin-markdown": "^4.0.0-next.53",
+ "typedoc-vitepress-theme": "^1.0.0-next.0",
"typescript": "^5.3.3"
},
"engines": {
diff --git a/typedoc.json b/typedoc.json
index 685abaab4..9853ceb79 100644
--- a/typedoc.json
+++ b/typedoc.json
@@ -6,6 +6,7 @@
"packages/cosmic-proto/"
],
"name": "API documentation of Agoric SDK ",
+ "plugin": ["typedoc-plugin-markdown", "typedoc-vitepress-theme"],
"entryPointStrategy": "packages",
"out": "api-docs",
"includeVersion": true, $ yarn typedoc
yarn run v1.22.19
$ /home/connolly/projects/agoric-sdk/node_modules/.bin/typedoc
[info] Loaded plugin typedoc-plugin-markdown
[error] The plugin typedoc-vitepress-theme could not be loaded.
[error] TypeError: typedoc_plugin_markdown_1.MarkdownPluginOptionsReader is not a constructor
at load (/home/connolly/projects/agoric-sdk/node_modules/typedoc-vitepress-theme/dist/index.js:46:27)
at loadPlugins (/home/connolly/projects/agoric-sdk/node_modules/typedoc/dist/lib/utils/plugins.js:31:23)
at async Application.bootstrapWithPlugins (/home/connolly/projects/agoric-sdk/node_modules/typedoc/dist/lib/application.js:194:13)
at async main (/home/connolly/projects/agoric-sdk/node_modules/typedoc/dist/lib/cli.js:42:15) cc @turadg p.s. progress with typedoc-plugin-markdown alone@0xpatrickdev suggested, in
and I was able to reproduce his results. It lacks navigation links. @0xpatrickdev suggested https://www.npmjs.com/package/vitepress-sidebar looks like a popular approach. |
We're reconsidering this approach: #1032 (comment) |
@LuqiPan suggested it.
I like the idea enough to make an issue for it :)
Tasks
The text was updated successfully, but these errors were encountered: