dotnet tool install -g DocFxMarkdownGen
# to update
dotnet tool update -g DocFxMarkdownGen
If a message telling you to add dotnet tools to your PATH
after install comes up, do as it says. You should now be able to use the dfmg
command.
Personally I like to put my docs in the docs
folder at the root of my repository, so let's just work with that.
yarn create docusaurus docs https://github.com/Jan0660/dfmg-template.git
# avoid git messing us up
rm -rf docs/.git
Note that you may need to modify docfx.json
according to your project structure.
Done! All you need to do now is to edit docusaurus.config.js
to suit your project and generate api documentation with the generate.sh
script.