From: Eduardo San Martin Morote Date: Wed, 1 Sep 2021 12:08:42 +0000 (+0200) Subject: docs: api title X-Git-Tag: @pinia/nuxt@0.0.2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9a4cc2ebdd90af5d2bab96e5b52618c6016fcf30;p=thirdparty%2Fvuejs%2Fpinia.git docs: api title --- diff --git a/packages/docs/run-typedoc.js b/packages/docs/run-typedoc.js index e428151a..bb88de4e 100644 --- a/packages/docs/run-typedoc.js +++ b/packages/docs/run-typedoc.js @@ -2,7 +2,7 @@ const { createTypeDocApp } = require('./typedoc-markdown') const path = require('path') createTypeDocApp({ - name: 'Pinia', + name: 'API Documentation', entryPoints: [ path.resolve(__dirname, '../pinia/src/index.ts'), path.resolve(__dirname, '../testing/src/index.ts'), diff --git a/packages/docs/typedoc-markdown.js b/packages/docs/typedoc-markdown.js index cf5234e9..af4a64d4 100644 --- a/packages/docs/typedoc-markdown.js +++ b/packages/docs/typedoc-markdown.js @@ -47,6 +47,8 @@ exports.createTypeDocApp = function createTypeDocApp(config = {}) { if (page.url !== 'index.md' && page.contents) { page.contents = prependYAML(page.contents, { sidebar: 'auto', + // TODO: figure out a way to point to the source files? + editLinks: false, sidebarDepth: 3, }) }