Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 17 additions & 7 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,26 @@ const config = {
categorizeByGroup: true,
treatWarningsAsErrors: true,
watch: process.env.TYPEDOC_WATCH,
sidebar: {
categoryLabel: "API reference",
indexLabel: " ",
position: 5,
},
out: "usage/sdk/api",
// TODO sidebar should not have version number, but this doesn't seem to do that
// sidebar: {
// categoryLabel: "API reference",
// indexLabel: " ",
// position: 5,
// },
out: "docs/usage/sdk/api",
tsconfig: "../packages/sdk/tsconfig.json",
readme: "none",
exclude: [
// TODO what set of files we should exclude exactly? (by adding these, we got rid of all warnigs)
"../node_modules/**",
"../packages/sdk/src/generated/**",
"../packages/trackerless-network/dist/generated/**",
"../packages/dht/dist/generated/**"
]
},
],
path.resolve("plugins", "refine-docs"),
// TODO re-enable this
// path.resolve("plugins", "refine-docs"),
],

presets: [
Expand Down
Loading
Loading