• This repository has been archived on 23/Jan/2023
  • Stars
    star
    119
  • Rank 297,930 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 15 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

jQAPI - Alternative jQuery Documentation Browser

jQAPI - Alternative jQuery Documentation Browser

All development and issue handling of jQAPI V3 is happening in the jqapi/jqapi repository. See you there! :)

What is jQAPI? / Why was it born?

This is a alternative interface to the official jQuery documentation. First and foremost I want to point out that the content is solely the work of the awesome jQuery team and contributers (used under the MIT license).

Back in 2011 I started to work professionally as a web-developer and I was mainly using jQuery and Ruby on Rails. When I was navigating the RoR docs, I was using RailsAPI, which is also a alternative browser to the official documentation. A big shoutout goes to [whoever](made railsapi.com), the creator of the RailsAPI website. jQAPI was heavily inspired by it.

As much as I loved the speed of finding things I needed in RailsAPI, I hated how much time I had to spend on the official jQuery docs to find the information I was looking for. Back then there was a different website for the jQuery docs, but even with the 'newer' interface (which looks sleak, no doubt) I am not entirely happy.

To cut a long story short: I built a interface modeled after RailsAPI in a couple of days, because I wanted it. Once shared with the world it was very well accepted and used among many developers.

Ever since I released a couple of versions of jQAPI which was built with Ruby as the back-end (the scraper, XML -> JSON part) and JavaScript/jQuery for the front-end.

Now you are looking at the all-JS version of jQAPI, which uses Node.js to transform the content. On top of that, this version includes extended documentation for the project and is mostly covered by tests. That way I hope more people will contribute to the project.

It was quite for a while because I was busy with life and different projects. But with your help (feedback, bug reporting, contributing) I hope that we can keep it active and save developers around the world time looking for needed information, and therefore give them more time to write actual code.

Features

How does it work

Development

Getting started

Tasks

All tasks can be executed with npm run <task-name>, alternatively with yarn run <task-name>, if you are a cool kid.

clean

Removes the ./www folder and re-creates it.

copy:html

Copies all ./src/*.html files to ./www.

copy:assets

Copies ./src/assets to ./www/assets.

copy

Runs copy:html & copy:assets.

build:js

Bundles the JS with Browserify and applies the Babelify transform which transpiles the ES2015 code.

The entry file is ./src/index.js and the output file is ./www/build.js.

build:js:prod

Same as build:js, but minifies the output with Uglify.

build:css

Bundles and compiles the CSS with Stylus.

The entry file is ./src/index.styl and the output file is ./www/build.css.

build:css:prod

Same as build:css, but minifies the output with CSSO.

build

Runs build:js & build:css.

build:prod

Runs build:js:prod & build:css:prod.

watch:js

Same as build:js, but watches the build for changes and incremntally re-builds it with Watchify.

watch:css

Same as build:css, but watches any ./src/**/*.styl for changes and re-runs the build:css task with Chokidar.

watch

Runs watch:js & watch:css.

serve

Serves the ./www folder with BrowserSync. Whenever one of the ./www/build.* files changes, the browser will automatically reload.

update

Runs ./lib/update.js which will clone/update the official jQuery documention repo, transforms the XML to JSON and builds the ./www/entries.json index.

update:daemon

Same as update, but runs continuously. TODO: forever

test:lib

Runs all the lib tests in ./test/lib with Mocha.

test:frontend

Runs all the frontend tests in ./test/frontend with Karma. It also will watch for changes in in the tests and re-runs them without restarting the headless browser.

test:frontend:once

Same as test:frontend, but will only run once.

test

Runs test:lib & test:frontend:once.

start

Runs copy & serve & watch. If you want to work on jQAPI, run this tasks. But keep in mind that the clean task must have been run before if it's the first time you run start.

production

Runs clean & copy & build:prod & update. If you want to generate a fresh release for production, run this task.

lint

This will lint all *.js files with Standard.

Writing Tests

License

Licensed under the MIT License.

More Repositories

1

ketchup-plugin

Tasty jQuery Form Validation
JavaScript
184
star
2

remount-router

A simple file-based router for Express.js with automatic routes remounting on file changes without the need to restart the server.
JavaScript
66
star
3

brosho-plugin

Design your Markup in the Browser with this jQuery Plugin.
JavaScript
53
star
4

nuxt-bulma-slim

Nuxt.js module to automatically make a slim Bulma build of used features with Purgecss
JavaScript
46
star
5

wandersage

A interactive notebook for the terminal
Shell
28
star
6

lehm

A file-generator that gets out of your way.
JavaScript
18
star
7

generator-grail

Yeoman Generator for a modular One Page Application with Gulp, CoffeeScript, Stylus, Browserify, BrowserSync and Mocha. Vue.js, jQuery, Semantic-UI, Socket.IO, Fastclick, Cheerio and Should.js optional on top. Minimal Express.js, Mongoose and Socket.IO Server Framework, if wanted. Authentication Boilerplate with JsonWebToken and Bcrypt, if wanted. Component Generators.
CoffeeScript
14
star
8

scaffold-plugin

This is a little collection of tools that help me to speed up jQuery Plugin Development.
JavaScript
13
star
9

cross-domain-ajax-demo

Demo for 'The jQuery Cross-Domain Ajax Guide'.
JavaScript
13
star
10

self-caching-offline-website

HTML5 localStorage, Application Cache and a breeze of jQuery
CoffeeScript
12
star
11

bashbundle

Bundle text files into a single .sh file. Extract by execute. Or use it to build a installer with dependencies.
Shell
7
star
12

slim-time-picker

jQuery Slim Time Picker Plugin
JavaScript
5
star
13

jquery-api-scrape

Screen scraping http://api.jquery.com and building a navigation
Ruby
5
star
14

farscroll-plugin

Clone that scrollbar far away
CoffeeScript
5
star
15

tutorial-show-demo

Source code for the tutorial 'Show your demos like a champ: Iframe + jQuery + CSS3'
JavaScript
3
star
16

pairs

A web remote control
HTML
3
star
17

pushpublic

git push == publicise content
JavaScript
3
star
18

wordpress-plugin-detection

Example for the tutorial 'Plugin Detection for your WordPress Theme'
3
star
19

quasi

Virtually a Node Framework
CoffeeScript
2
star
20

vuha

Full Stack Web Development Kit - With Vue.js and Hapi.js in the spotlight
Vue
1
star
21

htmllint-simple-cli

A simple CLI-wrapper for htmllint
JavaScript
1
star
22

teil-old

Check out the latest version at ->
JavaScript
1
star
23

jsmars

Core War MARS written in JS for the 10K Contest.
JavaScript
1
star
24

_boilerplate

A ever expanding collection of boilerplate code, powered by templates
HTML
1
star
25

piffle

Static Showdown 2016 Hackathon Entry - Finished 1st Place Solo, 2nd Place Overall
Vue
1
star
26

nobo

Node.js Framework.
JavaScript
1
star
27

eatwatch

Homemade Eat Watch.
JavaScript
1
star
28

follow-ng

A app for automatic following on Twitter which you are not allowed to use by their TOS
CoffeeScript
1
star
29

ouroboros

Ouroboros is a collection of various JavaScript tools and frameworks which aims to speed up developing Single Page Applications. The application comes with a user registration and login system.
CoffeeScript
1
star
30

line-length-break

Atom Editor Package - breaks all lines that go over the preferred line length
CoffeeScript
1
star