Re: [go-nuts] Hosting godoc internally for private git server

2018-04-05 Thread Michael Levine
How can I make godoc being run on local source code use the godoc templates/assets properly from a locally hosted version of godoc? I tried the following: $ godoc -templates="$GOPATH/src/github.com/golang/gddo/gddo-server/assets" -html path/to/local/library > ~/destination/path/library.html I

Re: [go-nuts] Hosting godoc internally for private git server

2016-10-25 Thread stephenmw via golang-nuts
Yeah, I work on godoc.org and we essentially decided not to try to support the internal usecase. The reason is that you can just use the normal godoc tool. I recommend setting up a simple cron job to pull from github every so often and run the godoc tool. gddo is very very heavy for this small

Re: [go-nuts] Hosting godoc internally for private git server

2016-10-25 Thread Dmitry Savintsev
s/appenging/appengine (https://cloud.google.com/appengine/) On Tuesday, October 25, 2016 at 11:24:57 PM UTC+2, Dmitry Savintsev wrote: > > that's what we do - forking https://github.com/golang/gddo and adding the > custom authentication logic and fetching data from the GHE. > > I'd recommend to c

Re: [go-nuts] Hosting godoc internally for private git server

2016-10-25 Thread Dmitry Savintsev
that's what we do - forking https://github.com/golang/gddo and adding the custom authentication logic and fetching data from the GHE. I'd recommend to concentrate on building and customizing gddo-server and gosrc (don't try to build everything in gddo). We changed or added the following files:

Re: [go-nuts] Hosting godoc internally for private git server

2016-10-25 Thread Jonathan Yu
It looks like the source code for godoc.org is available, but there's not a whole lot of instructions on use (my guess is they don't intend for it to be used in your intranet): https://github.com/golang/gddo That means you'll need to roll up your sleeves and dig into the code, probably modifying i

Re: [go-nuts] Hosting godoc internally for private git server

2016-10-25 Thread Kareem Gan
Ah. But I need it to download the repositories from my organizations enterprise github server through. On Tue, Oct 25, 2016 at 09:55 Pietro Gagliardi wrote: > Is imitating golang.org not sufficient? It will still show you all the > packages in your $GOPATH in the Packages page: > > http://imgur.c

Re: [go-nuts] Hosting godoc internally for private git server

2016-10-25 Thread Pietro Gagliardi
Is imitating golang.org not sufficient? It will still show you all the packages in your $GOPATH in the Packages page: http://imgur.com/EGpqWsR > On Oct 25, 2016, at 10:36 AM, Kareem Gan wrote: > > So it's not possible? It would be really helpful if someone here has done it > already and share

Re: [go-nuts] Hosting godoc internally for private git server

2016-10-25 Thread Kareem Gan
So it's not possible? It would be really helpful if someone here has done it already and share the knowledge how. On Thursday, October 20, 2016 at 12:35:10 PM UTC-5, Pietro Gagliardi (andlabs) wrote: > > You can go get golang.org/x/tools/cmd/godoc and run the godoc tool > itself, which will imi

Re: [go-nuts] Hosting godoc internally for private git server

2016-10-20 Thread Pietro Gagliardi
You can go get golang.org/x/tools/cmd/godoc and run the godoc tool itself, which will imitate golang.org. This is different from godoc.org; that is harder to host locally. > On Oct 20, 2016, at 1:13 PM, Kareem Gan wrote: > > Hello. > > Is it possible to host godoc internally because we have o

[go-nuts] Hosting godoc internally for private git server

2016-10-20 Thread Kareem Gan
Hello. Is it possible to host godoc internally because we have our own git server and would like to host godoc internally so we can build documentation for our golang repositories. -- Best, Kareem Gan 01010011 01000101 -- You received this message because you are subscribed to the Google Group