This can be also achieved using simple *wget *command for that. Example: 
snippet <https://gitlab.com/snippets/1977141>

I have a similar issue with that. I'm using GitLab for my projects and I 
have decide to create and share with some handy GitLab CI YAML templates 
for Go projects that will automatically generate a static HTML Go 
documentation without any external packages: 
https://gitlab.com/tymonx/gitlab-ci

Example: Go Logger documentation 
<https://tymonx.gitlab.io/go-logger/doc/pkg/gitlab.com/tymonx/go-logger/logger/>

Two nice features:

   - Embedded Go source code files
   - Search box is referencing to GitLab

TB

On Thursday, September 20, 2012 at 8:27:13 AM UTC+2, Mike Chaten wrote:
>
> Is there a way to generate static html + css + js from godoc instead of 
> having it served via net/http? I need to serve up documentation from an 
> apache server that I don't control. As far as I can tell, the -html flag 
> only outputs html with invalid links to *.go files.
>
> Thanks,
> -Mike
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/7bfbdee1-742e-4997-9cfb-ab7b39d8ea76%40googlegroups.com.

Reply via email to