Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run angularjs documentation locally

Tags:

I have compiled the newest angular.js and find out that links in the doc all point to absolute URL angularjs.org/.... I want to be able to read the doc locally.

like image 278
honzajde Avatar asked Apr 28 '13 13:04

honzajde


People also ask

Do you need a Web server to run AngularJS?

While AngularJS applications are purely client-side code, and it is possible to open them in a web browser directly from the file system, it is better to serve them from an HTTP web server.


2 Answers

You have to run a webserver ("python -m SimpleHTTPServer) to properly browse the docs.

As an alternative, you might want to try Dash for offline documentation for many APIs - http://kapeli.com/dash

like image 113
manojlds Avatar answered Dec 13 '22 13:12

manojlds


"Dash" which is mentioned in another answer costs around $20.

For a free solution, check out http://devdocs.io/

Clone the angular source code in order to have access to the docs directory of all released (and yet unreleased) versions locally.

like image 24
Motin Avatar answered Dec 13 '22 12:12

Motin