Re: [angular.js] angular js offline docs.

10,850 views
Skip to first unread message

Misko Hevery

unread,
Jun 6, 2012, 7:28:25 PM6/6/12
to ang...@googlegroups.com
we had this working, but when we upgraded to the new docs, we broke this feature. The simplest thing to do is to download the docs locally on your disk from here: http://code.angularjs.org


On Wed, Jun 6, 2012 at 2:43 PM, gary lucas <lucas...@gmail.com> wrote:
I realize this is kind of a weird question for the group.

I spend quite a few weekends in area's with no internet connection, I'd like to be able to review the Angular Documentation offline.

I tried an android app 'Offline Browser' however it was unable to capture the menus.

Is there a way to pull an offline copy of the documentation (HTML, PDF etc), anyone have any ideas how I might go about that?

Thank you,

Gary Lucas

--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To view this discussion on the web visit https://groups.google.com/d/msg/angular/-/IskohR6HR4wJ.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/angular?hl=en.

dal...@k3integrations.com

unread,
Aug 6, 2012, 9:50:51 PM8/6/12
to ang...@googlegroups.com, mi...@hevery.com
Maybe I'm a bit slow, but how can I download them all from there? I see a directory listing and I can click through those directories to get to sub-directories and even to the 1.0.1/index.html page for the docs, but anytime I try to right-click and "Save link as…" it just downloads the next, single HTML page. Is there a .zip or something somewhere for downloading the full package or is there some Chrome trick I'm not aware of for downloading a full directory structure?

Thanks!
To unsubscribe from this group, send email to angular+unsubscribe@googlegroups.com.

Dinesh P.R.

unread,
Aug 22, 2012, 12:47:43 AM8/22/12
to ang...@googlegroups.com, mi...@hevery.com, dal...@k3integrations.com
The file "http://code.angularjs.org/1.0.1/angular-1.0.1.tgz" contains the docs folder and files.  You can try using this.  But for some reason it is not working for me. 
To unsubscribe from this group, send email to angular+u...@googlegroups.com.

Greg Weber

unread,
Aug 22, 2012, 9:31:53 AM8/22/12
to ang...@googlegroups.com, mi...@hevery.com, dal...@k3integrations.com
I run a web server from the folder: angular-1.0.1 and browse to: http://localhost:3000/docs-1.0.1/

Igor Minar

unread,
Aug 22, 2012, 10:52:48 AM8/22/12
to ang...@googlegroups.com, mi...@hevery.com, dal...@k3integrations.com
since our documentation uses $location in html5 mode (history.pushState) you need a webserver with rewriting rules, just like the one we have in our repo under lib/nodeserver/server.js.

we should either have a build of the docs that don't use html5 mode or distribute the docs with a simple webserver...

/i


mauro...@gmail.com

unread,
Sep 4, 2012, 5:27:00 PM9/4/12
to ang...@googlegroups.com, mi...@hevery.com, dal...@k3integrations.com
Greg Weber wrote:
I run a web server from the folder: angular-1.0.1 and browse to: http://localhost:3000/docs-1.0.1/
 
Thanks, that worked for me as well. I use the offline docs because the online ones frequently don't work (404 show up in the web console).

mjst...@googlemail.com

unread,
Oct 9, 2012, 4:35:32 AM10/9/12
to ang...@googlegroups.com, mi...@hevery.com, dal...@k3integrations.com
Maybe someone can help me out ...
How exactly would I run this server? (I am on Windows, and node.js noob).
I assumed I could run node /lib/nodeserver/server.js in the shell, and it would work. Even though the server runs, and I even see in the shell that it rewrites the docs to html files, in the browser I get 404 "index.html not found" etc. errors.

Ivaylo Kovatchev

unread,
Oct 9, 2012, 5:33:41 AM10/9/12
to ang...@googlegroups.com, mi...@hevery.com, dal...@k3integrations.com, mjst...@googlemail.com
You probably have a server running already. You don't need jode.js you can just put this in an apache htdocs folder.
Message has been deleted

John Lehmann

unread,
Apr 7, 2013, 7:22:13 PM4/7/13
to ang...@googlegroups.com, mi...@hevery.com, dal...@k3integrations.com
I'd also like to run the webserver to view docs offline, but it looks like  /lib/nodeserver/server.js no longer exists.  I'm looking at cc042c42b or April 4, 2013 version of the angular repo.  What's the easiest way?

thanks

Clint Checketts

unread,
Apr 7, 2013, 10:19:24 PM4/7/13
to ang...@googlegroups.com


To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.

To post to this group, send email to ang...@googlegroups.com.

Andrea Reginato

unread,
Apr 8, 2013, 3:11:17 AM4/8/13
to ang...@googlegroups.com
I use Dash and I can see my AngularJS docs offline as you need.

John Lehmann

unread,
Apr 10, 2013, 9:55:16 AM4/10/13
to ang...@googlegroups.com
Thanks Clint. 

Does this assume that I've already built angular with "grunt package"?  If not, what directory do I need to browse to, because everything I look at in the docs dirs show me fragments or send me to the web.

If so, I'm stuck on that step and will have to figure out why I'm getting the error below.  

$ grunt package
/Users/john/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/grunt-0.0.6/lib/grunt/project.rb:18:in `open': No such file or directory - repos (Errno::ENOENT)
from /Users/john/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/grunt-0.0.6/lib/grunt/project.rb:18:in `entries'
from /Users/john/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/grunt-0.0.6/lib/grunt/project.rb:18:in `generate_files'
from /Users/john/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/grunt-0.0.6/lib/grunt/server.rb:13:in `block in <class:Server>'
from /Users/john/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/sinatra-1.3.5/lib/sinatra/base.rb:1356:in `configure'
from /Users/john/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/grunt-0.0.6/lib/grunt/server.rb:13:in `<class:Server>'
from /Users/john/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/grunt-0.0.6/lib/grunt/server.rb:2:in `<module:Grunt>'
from /Users/john/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/grunt-0.0.6/lib/grunt/server.rb:1:in `<top (required)>'
from /Users/john/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/grunt-0.0.6/bin/grunt:5:in `<top (required)>'
from /Users/john/.rbenv/versions/1.9.3-p125/bin/grunt:23:in `load'
from /Users/john/.rbenv/versions/1.9.3-p125/bin/grunt:23:in `<main>'

John Lehmann

unread,
Apr 10, 2013, 10:20:03 AM4/10/13
to ang...@googlegroups.com
Well, I'm pretty sure that I do need to build first (according to the docs), and my problem seems to be related to being able to run grunt at all. I've requested help here: https://github.com/gruntjs/grunt/issues/757

thanks.

--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/EbPkj_553ow/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
Message has been deleted

Ismatjon Qalandarov

unread,
Nov 13, 2013, 1:01:56 PM11/13/13
to ang...@googlegroups.com
Hello. I just got the latest version of angularjs from http://code.angularjs.org/1.2.0/angular-1.2.0.zip. And put the unpacked folder into my apache document root, but when I go to docs folder from my browser it work partially. What am I doing wrong?

Jehan Tremback

unread,
May 18, 2014, 9:31:58 PM5/18/14
to ang...@googlegroups.com
Perhaps some simple markdown docs wouldn't be the end of the world?
Reply all
Reply to author
Forward
0 new messages