Repository navigation
cmd/doc: generate whole stdlib documentation - #564
Conversation
Signed-off-by: Sam Alba <[email protected]>
Signed-off-by: Sam Alba <[email protected]>
Signed-off-by: Sam Alba <[email protected]>
|
Hey @samalba -- I just tried this, works mostly good! A few things:
NOTE: It's very likely we'll end up doing custom stuff for docs generation that only works with our own website (not generic markdown anymore). For instance generating You can try this yourself:
{
"label": "Reference",
"position": 5,
"collapsed": true
}
{
"label": "Universe",
"position": 1,
"collapsed": true
}
|
|
@samalba Also -- is it possible to extract the package level documentation? (just like godoc does). As in, not the docs of cloudformation.#Stack but the doc of cloudformation itself. I think it would be extremely useful. We could explain high level what the package does (e.g. cloudformation) and put a small example at the top: |
Yes I thought it was already the check, let me check |




Adds support for generating whole stdlib documentation (markdown, json, text) and write it to the local filesystem:
Example:
cc @aluzzardi @slumbering for docs website integration
PS: I've also fixed formatting and typos on aws packages (
aws/rdsandaws/elbwere broken, cc @TomChv)