My plan is to use my tiny dependencies manager(theme, controller, etc..) to sync versions of all the apps at once, and generate their documentation automatically.

Show thread

@neauoire probably way too verbose for you but a cabal collaborator recently used jsdocs to create auto-generating api docs

github.com/cabal-club/cabal-cl

@neauoire that's pretty decent, i think a description str would help a lot of people for certain functions

@cblgh what I'm missing tho, is a better parsing/printing of the default values for optional parameters.

@neauoire yeah for cabal's docs we opted for [optionalArg]

i don't know how you would solve parsing. maybe an opts object in the function signature, with parameters defined somewhere per function

Follow

@cblgh @neauoire Whoa, interesting coincidence, I'm also working on my own JS documentation generator these days!
I want to list the functions, the params and the documentation and I used esprima for extracting them. The code is very small, I commited this yesterday: github.com/ShinyTrinkets/twofo

@cblgh @neauoire It's actually for a bigger project that converts static files, into inter-reactive files.
Version 0.3 is 99% ready :D

Sign in to participate in the conversation
Mastodon 🔐 privacytools.io

Fast, secure and up-to-date instance. PrivacyTools provides knowledge and tools to protect your privacy against global mass surveillance.

Website: privacytools.io
Matrix Chat: chat.privacytools.io
Support us on OpenCollective, many contributions are tax deductible!