-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate single page #19
Comments
@cristaloleg |
ping @cristaloleg |
Woah, have missed your previous comment. So, my case was "I want to collect all the declarations in 1 HTML file". Suppose I've a Go module with 3 packages |
Is it supposed for one module or for all parsed packages? The page might be very long. So if it is created, it might be best to list the items as an index table. |
Yep, well, there was a filter to skip mocks or few codegen packages. Agree, it can be long, but you've 1 doc which is super easy to grep and host (not the best cast but was good solution for one of our projects and non-tech team). |
So it is a page merged all package pages. And how to handle source code pages? If std and 3rd-party dependencies are excluded, using external source code, and disabling some other features (id-ref pages and method-implementation pages), it might be feasible for small Go modules. |
Exactly. Source code pages was linked to the local machine, so running doc generator will produce local working HTML page. |
In package doc pages, there are many links to other packages. It might be not a good idea to disable these links, And currently, Golds will generate a page for each source code file. As you only need one page, I think you might don't want the source code pages to be generated. |
Aha, it looks this is an overthinking. |
Probably should be, but this was out of scope for my original questions :) |
OK, I will add this to the todo list now. The last question: how to determine your private packages? |
Yep, exactly, packages in the current directory. |
Hi, thank for the
golds
it's amazing. I was looking for a param, where I can generate docs for few packages (with a common root, but probably it's not so important) but haven't found.Is there a chance that this param can be added? Thanks!
The text was updated successfully, but these errors were encountered: