Skip to content

Commit

Permalink
Update readme to describe typedoc docs
Browse files Browse the repository at this point in the history
  • Loading branch information
NateWilliams2 committed Mar 15, 2024
1 parent 92c7a24 commit ccae4f6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# Vocdoni SDK Docs

Here you can generate the Vocdoni SDK documentation from the JSDocs annotations on the source code. It uses the package
[`jsdoc-to-mdx`](https://github.com/naver/jsdoc-to-mdx) that untherneath uses the well known `jsdoc-to-markdown` library.
Here you can generate the Vocdoni SDK documentation directly from the code using TypeDoc. It uses the package [typedoc-plugin-markdown](https://www.npmjs.com/package/typedoc-plugin-markdown) to generate markdown files.

This library export the JSDocs to `.mdx` format, which is compatible with docusaurus instances.
This library exports the TypeDoc to `.md` format, which is compatible with docusaurus instances.

### How to generate the docs

Expand All @@ -20,4 +19,4 @@ yarn build
```

This will generate a `temp_docs` folder with all generated documentation. It also copies de `../README.md` into
`temp_docs/sdk.md` to use it as docusaurus main page.
`temp_docs/README.md` to use it as docusaurus main page.

0 comments on commit ccae4f6

Please sign in to comment.