最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

@knodestypedoc-plugin-pages for 0.22.x cannot find my .md file - Stack Overflow

programmeradmin1浏览0评论

I am trying to setup @knodes/[email protected] to include additional markdown pages to my documentation, however I cannot seems to setup the plugin correctly and keeps getting the following error :

Error: [@knodes/typedoc-plugin-pages] ⇒ In "README_DOC.md:9:1 (in expansion of {@page})", could not find a page for "cssDocumentation.md" (resolved as "pages/cssDocumentation.md"). Known pages are []

Right now my cssDocumentation is located in pages/cssDocumentation under the root folder. Inside the root folder I have my typedoc.json file :

"$schema": ".json",
    "entryPoints": ["./src/index.ts"],
    "name": "MyProject",
    "plugin": ["@knodes/typedoc-plugin-pages"],
    "pluginPages": {
        "pages": [
            {
                "name": "Additionnal documentation",
                "source": "cssDocumentation.md"
            }
        ]
    }
    "readme": "./README.md"

And the Readme, also inside the root folder, uses {@page cssDocumentation.md}

发布评论

评论列表(0)

  1. 暂无评论