rgarcia / dochub Goto Github PK
View Code? Open in Web Editor NEWspeedy docs
Home Page: http://dochub.io/
License: Do What The F*ck You Want To Public License
speedy docs
Home Page: http://dochub.io/
License: Do What The F*ck You Want To Public License
On this page:
http://dochub.io/#css/linear-gradient
Notice in the syntax block at the top, the word "<angle>" links to:
mks://localhost/en/CSS/angle
The info is taken from MDN but the MDN page doesn't do that. I guess it's something DocHub is doing that causes this...?
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?
https://github.com/rgarcia/instacss/blob/master/static/js/collections/phpexts.js#L5
app try to search SectionScrape.js, but sectionscrape.js in models folder
Which basically prevents any- and every- thing from working.
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 ?
Hi there,
Today, I just noticed http://dochub.io/ is dead.
I'm so sad :( I think this is a wonderful tool, so easy to find MDN documentation.
Are you considering renew the domain ?
Thanks,
Cyril
Some important data, like "DEPRECATED" warnings are contained above the first
https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Date/getYear
vs.
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
goes to the #css route but doesn't change the nav
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'
...
Seams that the domain isn't prolonged
Is there some alternative ? (except locall of course)
The committed file for the MDN CSS data includes several between-page links that are broken.
cf. #29
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.
.
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.
With ruby docs (#28), it would be great if rails docs could be added, too!
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.
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
When I try to run node web.js it gives me following error:
TypeError: path.existsSync is not a function
PS. I run node web.js after running npm install.
None of them can work now
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.
Add ruby docs
For example, on http://localhost:5001/#jquery/delegate
, there is a link to the 'on' function, which is redirected to http://api.jquery.com/on
instead of http://localhost:5001/#jquery/on
.
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?
no : after and : before in CSS - although it is present in the MDN.
https://developer.mozilla.org/en/CSS/%3Aafter
https://developer.mozilla.org/en/CSS/%3Abefore
and no :first-letter - https://developer.mozilla.org/en/CSS/%3A%3Afirst-letter
Really like the project, would love to see some active development :)
When I visit dochub.io in Chrome, the page no longer loads and I get an error in the console.
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.
It seems that the scraper missed http://api.jquery.com/load/ but got http://api.jquery.com/load-event/.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.