Closed yboujraf closed 3 years ago
Hi @yboujraf,
It looks like you're also using the awesome typedoc-plugin-markdown plugin. If I recall correctly, that plugin only works with its own themes, which are what allow it to render the output as markdown. Since you're specifying the pages-plugin theme, the markdown plugin cannot correctly render. I was able to reproduce the issue locally. Because of how these two plugins function, I don't expect this workflow would ever be supported.
I also tried using these plugins together, using the markdown theme. Things are still broken, but I was able to make a few tweaks to start to get things working. I will do some more investigation to see if this is something I want to support in this plugin. Perhaps a "markdownMode" that would allow the pages to be rendered correctly when using this plugin in tandem with the markdown plugin? The only trick is how to support navigation. That might be something best left to consumers to write their own themes...
In the meantime, if you would like to use this plugin, I would suggest trying to uninstall the typedoc-plugin-markdown plugin from your project.
Dear @mipatterson
I have some scripts in my package.json :
One of them is to generate markdown document.
"docs:bitbucket": "rimraf ./docs/dist/bitbucket && npx typedoc --options ./typedoc/typedoc-config-bitbucket.ts",
I have a typedoc-config.ts per type of plugin I need to use for type doc
module.exports = {
inputFiles: ['./src/'],
mode: 'file',
includeDeclarations: true,
tsconfig: 'tsconfig.json',
out: './docs/dist/docs-bitbucket/',
excludePrivate: false,
excludeProtected: false,
excludeExternals: true,
readme: './README.md',
name: 'Probel SW-P-8 protocol Library',
ignoreCompilerErrors: true,
plugin: 'typedoc-plugin-markdown',
listInvalidSymbolLinks: true,
entryPoint: 'index',
categorizeByGroup: true,
media: './medias',
gitRemote: 'remote',
gitRevision: 'revision',
theme: 'bitbucket'
};
I don't know If I could do the same with yours plugin.
I am not using the command "typedoc" for generating docs.
is ther a way to generate the markdown &/or html in your plugin. It will be awsome? Then no issue to combine many plugins.
I used your last commit yesterday to be able to use the plugin without errors. Because the npm was not up-to-date but I think you released yesterday for a new version. Is it right. So I can use npm install instead to build your repo and copy the plugin into node_modules.
Best Regards, Youssef Best Regards, Youssef
Dear @mipatterson
When I remove the typedoc-plugin-markdown, I canuse your plugin to render my doc.
I opened an issue : typedoc-plugin-markdown
Best Regards, Youssef
I'm going to close this issue, since this plugin was designed for the standard HTML TypeDoc output. I'm concerned that trying to chase every type of possible markup output would be too time consuming.
Dear @mipatterson
I followed your tutorial to install your plugin but still with an error during the execution of the script :
typedoc-config-pages.ts
I am using :
thanks if you could highlight me the correct direction.
Best Regards, Youssef