Closed dskvr closed 6 years ago
Most pieces are in place, next I need to modularize some components used in here so they are reusable.
@dskvr This is looking great. I ran the build-serve-docs
script, and the resulting documentation looks very nice.
After this is settled and merged, we can follow up with improvements to the documentation, itself. For example, in the API documentation, it's listing all of the API constructor params in a single block of text. We can improve this by moving those out into an ApiArgs
interface. Will generate much nicer documentation.
Anyway, I'm in favor of proceeding with this approach after a fixup/squash of the commits herein. Nice work!
Closing in favor of #69
Sample typedoc/gitbook implementation for an EOS typescript repository.
Typescript implementations are a bit more difficult due to lack of support for static files (tutorials, guides, explainer docs, etc). Solution would appear to be copying the files and then prepending the
SUMMARY.md
file dynamically based on files in docs/static, some ugly psuedocodeThe above is not presently implemented due to a desire to maintain a separation of concerns between the repository and the documentation generation itself. There's some obvious solutions to this, from unideal and easy to ideal and difficult.
typedoc-plugin-markdown
(likely easier) There's a possibility this isn't possible with the Typedoc API and it creates maintenance overheadTODO: