Git Product home page Git Product logo

godocdash's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

godocdash's Issues

Generates empty docsets without errors

When I run godocdash I get an empty docset, a lot of logged lines but a positive exitcode. This is the output I get:

➜ godocdash
2019/07/31 14:37:50 ReadFile: open /usr/local/Cellar/go/1.12.7/libexec/http:/localhost:63161/lib/godoc/dirlist.html: no such file or directory
2019/07/31 14:37:50 ReadFile: open /usr/local/Cellar/go/1.12.7/libexec/http:/localhost:63161/lib/godoc/codewalk.html: no such file or directory
2019/07/31 14:37:50 lstat /usr/local/Cellar/go/1.12.7/libexec/http:/localhost:63161/lib/godoc/analysis: no such file or directory
2019/07/31 14:37:50 ReadFile: open /usr/local/Cellar/go/1.12.7/libexec/http:/localhost:63161/lib/godoc/example.html: no such file or directory
2019/07/31 14:37:50 ReadFile: open /usr/local/Cellar/go/1.12.7/libexec/http:/localhost:63161/lib/godoc/callgraph.html: no such file or directory
2019/07/31 14:37:50 ReadFile: open /usr/local/Cellar/go/1.12.7/libexec/http:/localhost:63161/lib/godoc/codewalkdir.html: no such file or directory
2019/07/31 14:37:50 ReadFile: open /usr/local/Cellar/go/1.12.7/libexec/http:/localhost:63161/lib/godoc/godoc.html: no such file or directory
2019/07/31 14:37:50 ReadFile: open /usr/local/Cellar/go/1.12.7/libexec/http:/localhost:63161/lib/godoc/error.html: no such file or directory
2019/07/31 14:37:50 lstat /usr/local/Cellar/go/1.12.7/libexec/http:/localhost:63161/lib/godoc/images: no such file or directory
2019/07/31 14:37:50 ReadFile: open /usr/local/Cellar/go/1.12.7/libexec/http:/localhost:63161/lib/godoc/implements.html: no such file or directory
2019/07/31 14:37:50 ReadFile: open /usr/local/Cellar/go/1.12.7/libexec/http:/localhost:63161/lib/godoc/methodset.html: no such file or directory
2019/07/31 14:37:50 lstat /usr/local/Cellar/go/1.12.7/libexec/http:/localhost:63161/lib/godoc/opensearch.xml: no such file or directory
2019/07/31 14:37:50 ReadFile: open /usr/local/Cellar/go/1.12.7/libexec/http:/localhost:63161/lib/godoc/package.html: no such file or directory
2019/07/31 14:37:50 ReadFile: open /usr/local/Cellar/go/1.12.7/libexec/http:/localhost:63161/lib/godoc/packageroot.html: no such file or directory
2019/07/31 14:37:50 ReadFile: open /usr/local/Cellar/go/1.12.7/libexec/http:/localhost:63161/lib/godoc/searchtxt.html: no such file or directory
2019/07/31 14:37:50 ReadFile: open /usr/local/Cellar/go/1.12.7/libexec/http:/localhost:63161/lib/godoc/searchdoc.html: no such file or directory
2019/07/31 14:37:50 ReadFile: open /usr/local/Cellar/go/1.12.7/libexec/http:/localhost:63161/lib/godoc/search.html: no such file or directory
2019/07/31 14:37:50 ReadFile: open /usr/local/Cellar/go/1.12.7/libexec/http:/localhost:63161/lib/godoc/searchcode.html: no such file or directory
killing godoc on http://localhost:63161

"Type" and "Function" definitions not being generated

I just generated a docset on my system (twice to be sure) and I can't see any "Type" or "Function" entries in the search index. It's documenting 1977 packages/constants/variables, but never any types or functions. I can see types and functions exposed on Package pages when I browse the generated docset.

Execution Environment
  • Go version: go1.10.4 linux/amd64 (from go version)
  • OS information:
                                           user@hostname
     MMMMMMMMMMMMMMMMMMMMMMMMMmds+.        OS: Mint 18.3 sylvia
     MMm----::-://////////////oymNMd+`     Kernel: x86_64 Linux 4.15.0-48-generic
     MMd      /++                -sNMd:    Uptime: 31d 18h 52m
     MMNso/`  dMM    `.::-. .-::.` .hMN:   Packages: 3344
     ddddMMh  dMM   :hNMNMNhNMNMNh: `NMm   Shell: zsh 5.1.1
         NMm  dMM  .NMN/-+MMM+-/NMN` dMM   Resolution: 6398x1440
         NMm  dMM  -MMm  `MMM   dMM. dMM   DE: Cinnamon 3.6.7
         NMm  dMM  -MMm  `MMM   dMM. dMM   WM: Muffin
         NMm  dMM  .mmd  `mmm   yMM. dMM   WM Theme: Linux Mint (Mint-X)
         NMm  dMM`  ..`   ...   ydm. dMM   GTK Theme: Mint-X [GTK2/3]
         hMM- +MMd/-------...-:sdds  dMM   Icon Theme: Mint-X-Grey
         -NMm- :hNMNNNmdddddddddy/`  dMM   Font: Noto Sans 9
          -dMNs-``-::::-------.``    dMM   CPU: Intel Core i7-7600U CPU @ 3.9GHz
           `/dMNmy+/:-------------:/yMMM   GPU: Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2) 
              ./ydNMMMMMMMMMMMMMMMMMMMMM   RAM: 5572MiB / 15918MiB
                 \.MMMMMMMMMMMMMMMMMMM    
    

  • Godoc version: Just installed this morning via go get (latest)
  • Godocdash version: Just installed this morning via go get (latest)

To reproduce:

$ godocdash --silent --name test
$ sqlite3 test.docset/Contents/Resources/docSet.dsidx
SQLite version 3.11.0 2016-02-15 17:29:24
Enter ".help" for usage hints.
sqlite> SELECT COUNT(*) FROM searchIndex;
1977
sqlite> SELECT DISTINCT type FROM searchIndex;
Package
Constant
Variable

Support for windows

In my windows 10 64-bit, go get is failed with following error:

go get github.com/wuudjac/godocdash
# github.com/mattn/go-sqlite3
exec: "gcc": executable file not found in %PATH%

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.