Giter VIP home page Giter VIP logo

dochub's People

Contributors

joliss avatar liyanchang avatar nerian avatar rgarcia avatar vecter avatar yonran avatar

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  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  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  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  avatar  avatar  avatar  avatar

dochub's Issues

scrape made js-mdn.json empty

I downloaded and installed dochub on 19 Sep 2013.

To update the content I did following:

cd scraper
npm install
(cd js-mdn; node scrape.js)

But after doing this, my ../../data/static/js-mdn.json contains just "[]" and therefore I cannot see any content when clicked on JavaScript link on the localhost:5000 website.

Bookmark + not working menu

Hello, I have issues with site.

1: when run from bookmark I can see only input. (changed to http://dochub.io/ as workaround)
2: Now when I click on Menu button nothing happens.
(console.log)

Failed to load resource
router.js:123Creating route for css
router.js:123Creating route for html
router.js:123Creating route for javascript
router.js:123Creating route for dom
router.js:123Creating route for jquery
router.js:123Creating route for php
router.js:123Creating route for python
router.js:156Setting language to css
languageview.js:79[setActive: CSS = true.]
languageview.js:26[Rendering CSS.]
languageview.js:92[Fetching CSS.]
fullwindow.js:23[Window height: 479.]
GET http://dochub.io/img/glyphicons-halflings.png 404 (Not Found)
2searchresults.js:37[Data loaded, rendering models.]
fullwindow.js:23[Window height: 479.]
languageview.js:98[Success fetching CSS.]
GET http://dochub.io/skins/common/icons/icon-trans.gif 404 (Not Found)
18event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future.

for every click: event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future.

node web.js execute error

Hello:
I'm using windows8 and powershell, and the command fails, cli prompts as following:

PS F:\PHPnow-1.5.6\htdocs\portal_new> node web.js

module.js:340
    throw err;
Error: Cannot find module 'F:\PHPnow-1.5.6\htdocs\portal_new\web.js'
...

How to find attributes ?

Hi,

I'm testing your website and I like how you used the basic Boostrap template to build a doc center for helping developpers in their work.

But maybe some improvement should be released, like HTML attributes. They cruelly miss ! I mean they can't even be found by the search engine.

Will that issue be resolved soon ?

Ajax loads are big, slow

Hi,
I love the design of dochub but it's currently too slow to be my day-to-day reference. I appreciate the search bar appearing early, but it's still tough to use This could be mitigated either with deep links or by pulling down less Javascript on every search.

Would be happy to help work on this; I appreciate your thoughts.

Kevin

Make the scraping configurable

I'd ideally like to be able to swap-in and swap out components easily. If Python isn't relevant to me but a JS framework is, I'd like the ability to have dochub read my user dir for preferences and pull down any docs I need, relying on filename convention for namespacing and NPM for distribution.

E.g.

~/.dochub/config
~/.dochub/BackBone

npm install dochub-BackBone

More than happy to contribute this if you agree.

Site no longer works

When I visit dochub.io in Chrome, the page no longer loads and I get an error in the console.

dochub.io is down

Seams that the domain isn't prolonged
Is there some alternative ? (except locall of course)

scraper for js/css returns empty array

It seems there is something wrong with scrapper for js & css. It returns an empty list when running it.

No problem for PHP for example.

Setting log level to "debug" shows a lot of [debug] No routes for host: null. skipping..

PHP cross-reference links broken

Clicking on cross-reference links within the PHP documentation leads to a page with an error. For example, clicking the "array types" link at the top of the array docs leads to http://dochub.io/language.types.array.php which displays a "Cannot GET /function.count.php" error. It does this for every link I've clicked on.

It seems like the links are relative on PHP's site, so is there a way to change them or handle the link type on the GET call?

scrape.js regexp doesn't work

for example in css-mdn/scrape.js (44 str.)
spidey.route('developer.mozilla.org', /\/en\/CSS\/*/, function ($, url) {

works only with old code
spidey.route('developer.mozilla.org', '/en/CSS/*', function ($, url) {

also in css-mdn, dom-mdn, html-mdn, js-mdn

Debounce auto-search

When I start typing there is a noticable freeze (especially a single letter). Perhaps you can debounce the search based on time or the length of the string?

Add support for mdn DOM docs

This is a great Workflow! I'd just love to see DOM docs in there.

I tried to add in DOM docs by copying the js docs example and updating the type to "dom" and the $data source to http://dochub.io/data/dom-mdn.json

The results display properly, but the enter key doesn't load the docs in my browser.

Anyways, this seems like a simple enough update - I can make a pull request with my slightly broken attempt.

add rails docs

With ruby docs (#28), it would be great if rails docs could be added, too!

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.