- Action to transform the output of dokkaHtml to a mdx format, typically used in combination with Docusaurus.
- Typically, you should use
destas a path to your docs folder, andfolderas name for the folder that should be generated within the docs folder (folderis added to all the ids). - This also generates a JSON which can be imported for the sidebar.
- This is compatible with Dokka 1.7.20 (newer versions will likely work to some extent)
- This require the @graphglue/dokka-docusaurus npm module
- This requires that
.sourcefiles are handled by webpack asasset/source
Required The path of the packages output of dokkaHTML, typically something like build/dokka/html
Required The modules in src which should be added to the documentation
Required The path where to copy the generated files
Required Name of the folder in dest which is created to store the output
uses: graphglue/dokka-html-mdx-transform@v1.7.20
with:
src: "build/dokka/html/my-library"
modules: |
module1
module2
dest: "website/docs"
folder: "dokka"