A
A
Alexey Stupenkov2019-03-02 13:51:49
go
Alexey Stupenkov, 2019-03-02 13:51:49

Is there a documentation generator for the built-in language?

There is a lot of go code that implements functions for the built-in lua language. I would like to write a comment next to the go function for each implementation of the lua function on go. Which will then be collected in one documentation on lua functions. So that when developing on go, describe the created lua functions in the text of the go code. And then only export lua function descriptions.
Those. there is a function in go

//! network:Find(string) - ищет значение в сети
func Find(value string) error {
}

It gave only:
network:Find(string) - searches for a value in the network
And additional comments on the go text that are not related to lua functions were not exported to the documentation.
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Stupenkov, 2019-03-04
@alexstup

https://github.com/plaid/transcribe

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question