Dhruv Manek
7aeb6a24f7
fix(docs): rename doc dev_guide.templates.css to dev_guide.templates.css-styling
...
Closes #580
2011-10-07 18:20:20 -07:00
dandoyon
091c173632
docs(started): fixing pluralization
2011-10-05 13:47:43 -07:00
Igor Minar
2e9fed7b6c
fix(e2e): add index-nocache.html to run e2e tests without cache
...
using appcache while running e2e tests was causing the following
problems:
- Safari would occasionally reload the app (as a result of the appcache
refresh) during the angular.validator.asychronous test, which would
result in test failure and false positivy.
- Firefox6 would run the tests very slowly, disabling the cache resolved
the latency issues
- Sometimes tests would run with stale code pulled from cache, which
would result in flaky tests.
2011-09-26 23:51:55 +02:00
Vojta Jina
13f92de624
feat(docs): use html5 history api for all routing in the docs app
...
- Configure our docs app to use new $location with html5 history api!
- Update simple node web server to serve index.html for all links
(rewritting).
- Update .htaccess file to serve index.html for all links (rewritting).
- At runtime determine the base href path and attach it to the DOM. We
needed the absolute URL to get all browsers to work well.
- Because of the above, we also need to dynamically determine all needed
js/css resources and add them to the DOM. This was needed because FF6
would eagerly fetch resources with wrong URL since the base element is
added to the dom at runtime.
- All content html files were moved to the partials directory, because
with the new html5 urls it was impossible to tell if request for
http://domain/api/angular.filter.html was an html5 url for the html
filter doc page, or an xhr/appcache request for the content html file
for the html filter.
f
2011-09-26 23:51:53 +02:00
Igor Minar
3ace81b92a
fix(e2e tests): use prop() instead of attr() and quote attributes
...
Because of changes in jQuery, we need to use element().prop() instead of element().attr() to retrieve className and other element properties.
Additionally all attribute selectors (e.g. input[name=value]) must have value quoted if it contains dots (".").
2011-09-16 02:44:35 +02:00
Igor Minar
a2a830e227
feat (jquery): upgrade everything to jQuery 1.6.4
...
Closes #556
2011-09-16 02:44:27 +02:00
Vojta Jina
4b4292edb8
style: fix some missing semi-colons and spaces, typos
2011-09-08 23:00:59 +02:00
Vojta Jina
8fa79066e2
doc($location): $location docs + using $location guide
2011-09-08 23:00:59 +02:00
Vojta Jina
4421f3d435
fix(docs): update docs to reflect new $location and fix e2e tests
2011-09-08 23:00:59 +02:00
Igor Minar
e54909f5ef
fix(docs): use window.execScript instead of window.eval on IE
...
IE's window.eval doesn't execute in the global context, so we have to
use window.execScript instead which works like window.eval on normal
browsers. However execScript throws an exception when an empty string is
passed in, so I created a workaround with a workaround.
2011-09-06 14:57:37 -07:00
Igor Minar
7f0b97e02c
test(jsonp): fixing jsonp e2e tests
...
- buzz api keeps on throttling our requests which makes our build fail
so I'm disabling the buzz demo e2e test
- the $xhr service jsonp test was modified to use jsonp on angularjs.org
instead of buzz api for the same reason as mentioned above
2011-09-02 16:17:05 -07:00
Igor Minar
bc6e0cc954
docs(guide/tutorial/misc): sync with google docs
2011-09-02 10:44:19 -07:00
Igor Minar
ff2cb86d5d
style(e2e tests): shorten jquery/jqlite describe
2011-08-31 23:03:58 -07:00
Misko Hevery
3c80cf3df6
style(docs): improve the formatting of events in docs
2011-08-31 14:34:56 -07:00
Misko Hevery
08d09ecbaa
feat(docs): add support for events
2011-08-31 14:30:21 -07:00
Di Peng
19401280ae
feat(doc): generate both normal and debug version of index.html
...
- index.html has manifest file and angular.min.js
- index-jq.html has manifest file, angular.min.js and jquery.min.js
- index-debug.html has angular.js
- index-jq-debug.html has angular.js and jquery.min.js
2011-08-24 15:03:09 -07:00
Igor Minar
30753cb131
feat(ng:cloak): add ng:cloak directive
2011-08-24 15:01:49 -07:00
Di Peng
15e6105779
fix(docs): remove more unecessary use of hide() and show() method
...
- tutorial section of docs fails to render properly as
doc:tutorial-instructions widget uses deprecated show and hide methods
of jQlite.
2011-08-21 09:40:53 -07:00
Igor Minar
607de75fa4
fix(docs): work around the lame ng:show directive
2011-08-21 00:46:58 -07:00
Igor Minar
db04241beb
fix(docs): change docs.css to avoid css clashes in buzz example
2011-08-21 00:46:46 -07:00
Di Peng
774db0aecb
fix(sample): Fix for jsFiddle integration
2011-08-19 15:27:21 -07:00
dandoyon
431b748cac
doc(sample): Add javascript sandbox integration (jsFiddle)
...
Change doc_widget.js to:
- render "edit in jsfiddle" button next to all examples
- make opt out certain examples by adding jsfiddle="false" attribute to
doc:source element
2011-08-16 15:15:06 -07:00
Igor Minar
793ecb4817
refactor(jqLite): remove jqLite show/hide support
...
it turns out that even with our tricks, jqLite#show is not usable in
practice and definitely not on par with jQuery. so rather than
introducing half-baked apis which introduce issues, I'm removing them.
I also removed show/hide uses from docs, since they are not needed.
Breaks jqLite.hide/jqLite.show which are no longer available.
2011-08-15 12:51:41 -07:00
Misko Hevery
42062dab34
refactor(scope): remove $flush/$observe ng:eval/ng:eval-order
2011-08-12 15:47:47 -07:00
Igor Minar
4dc9e6416a
doc(tutorial): updates needed for 0.9.18 rebase
2011-08-04 10:48:17 -07:00
DiPeng
4f6e947e49
fix(docs): fix qfs.read() encoding issue
...
- must use binary reading when using read function in q-fs module
otherwise some unicode character may be garbled.
Closes #497
2011-08-03 16:50:25 -07:00
Misko Hevery
8f0dcbab80
feat(scope): new and improved scope implementation
...
- Speed improvements (about 4x on flush phase)
- Memory improvements (uses no function closures)
- Break $eval into $apply, $dispatch, $flush
- Introduced $watch and $observe
Breaks angular.equals() use === instead of ==
Breaks angular.scope() does not take parent as first argument
Breaks scope.$watch() takes scope as first argument
Breaks scope.$set(), scope.$get are removed
Breaks scope.$config is removed
Breaks $route.onChange callback has not "this" bounded
2011-08-02 01:00:03 +02:00
Igor Minar
a45d383da2
doc(contribute): add npm & q dependencies to setup instructions
2011-07-29 13:59:36 -07:00
Igor Minar
c1a681d6f4
doc(index.html): change the order of elements in the navbar
...
Users often don't see Tutorial and go straight to crappy Dev Guide,
changing the order should help find them right content in the right
order.
2011-07-29 13:44:55 -07:00
Igor Minar
f4df421b44
doc(css): make all navbar links bold
2011-07-29 13:43:51 -07:00
Igor Minar
bdef462ccc
doc(started): fixing up the doc and adding link to the tutorial
2011-07-29 12:56:50 -07:00
Igor Minar
a79231dea6
doc(guide): various fixes and improvements
2011-07-29 12:46:54 -07:00
Igor Minar
3e54a1b18a
doc(tutorial): fixes and improvements from Toni and Ben
2011-07-29 12:40:27 -07:00
Igor Minar
4b90f65614
feat(tutorial): add an arrow to 'Workspace Reset Instructions' links
...
The arrow is a hint that user won't navigate to a new page, but instead
the instructions will be displayed inline.
2011-07-29 11:43:17 -07:00
Di Peng
9dea9de449
feat(docs): add full offline support
2011-07-26 16:35:42 -07:00
Di Peng
bee78a8492
feat(docs): add a changelog link to the footer
2011-07-26 14:21:13 -07:00
Vojta Jina
00ea08e0ab
doc(tutorial): fix navigation widget to work without jQuery
...
jqLite doesn't support class selectors, can find only by tag name...
2011-07-26 14:20:24 -07:00
Di Peng
8fa066190a
refactor(gen-docs): use q, qq, q-fs (node modules) to write gen-docs
...
- re-write gendocs.js, reader.js and writer.js
- all calls are asynchronous
2011-07-20 17:33:18 -07:00
Di Peng
e90b741c94
feat(gen-docs): enable caching the whole site
...
Generate a manifest file automatically by reading the directories.
2011-07-20 17:09:40 -07:00
Igor Minar
ad3b8d7bcf
chore(docs/.htaccess): bundle .htaccess with docs
2011-07-19 16:58:40 -07:00
Di Peng
f9b4c9da64
refactor(docs): run e2e tests with and without jquery
...
- e2e tests will run index.html (without jquery) and with
index-jq.html(with jquery).
- many small changes to make e2e tests work withough JQuery as we
discover problems that were previously hidden by using real JQuery.
2011-07-17 22:19:08 -07:00
Igor Minar
da464683aa
doc(ng:include): improve the doc example to avoid confusion
2011-07-16 22:01:19 -07:00
Igor Minar
a8f4d87be5
doc(css): add '#content-list .level-4' css
2011-07-16 01:12:29 -07:00
Igor Minar
57ea8156a1
doc(ngdoc): add 'this' and 'returns' section for methods
2011-07-16 01:12:29 -07:00
Igor Minar
6289d18e61
doc(ngdoc): fix usage format for functions bolted onto services
2011-07-16 01:12:29 -07:00
Igor Minar
9e37ebe635
test(ngdoc): add test for @ngdoc function
2011-07-16 01:12:29 -07:00
Igor Minar
345c01c81b
test(ngdoc): fix a typo in the @deprecated spec
2011-07-16 01:12:29 -07:00
Igor Minar
975aef2ad2
test(ngdoc): fix failing tests
2011-07-16 01:12:28 -07:00
Vojta Jina
7e2e7b07b6
doc($route): fix $route example and couple of typos
...
Rewrite $route example a bit, as it required $location and $route services
to be eager published in the root scope.
Fix small typos in formatter and ng:options docs.
2011-07-13 11:49:16 +02:00
Igor Minar
76a500179d
docs:template: rename <angular/> to AngularJS
2011-07-08 08:24:09 -07:00
Igor Minar
7b32c71386
docs:css: remove bullet points from tutorial sidebar
2011-07-08 08:24:09 -07:00
Igor Minar
28e84ca167
docs:css: fix indentation for pre element
2011-07-08 08:24:09 -07:00
Igor Minar
952225f020
doc:dependencies: add /api/ prefix to dependency links
2011-07-02 10:37:04 -07:00
Igor Minar
1e8448b9e5
fix:docs: properly distinguish between being offline and 404
2011-06-30 00:49:44 -07:00
Igor Minar
ce4f27aa7b
fix:docs: css lint fixes
2011-06-27 15:05:38 -07:00
Di Peng
8e6e09a4bc
fix:docs: Fix sitemap generator to use doc.id instead of doc.name
...
doc.id should be used instead of doc.name, otherwise links are wrongly
generated
2011-06-25 08:00:43 -07:00
Vojta Jina
fee3717892
Update fixed docs content (guide)
...
Couple of typos fixed:
* indentation
* batchLogbatchLog -> batchLog
* start periodic checking
* missing brace
2011-06-21 16:23:48 +02:00
Vojta Jina
c8ee00cb2b
Update docs from googledocs
...
* fixed typo in tutorial step-10
* revert cookbook/buzz example to use googlebuzz user
2011-06-16 16:27:46 +02:00
Igor Minar
3c87611188
docs - various doc fixes
2011-06-15 22:32:24 -07:00
Igor Minar
b842642b57
docs - stripping extra new lines
2011-06-15 22:31:40 -07:00
Di Peng
f8529672f6
Updated docs/cookbook/buzz from gdocs
...
With couple of fixes:
* indentation + code formatting
* use ng:href, ng:src
* change UserId to misko.hevery so it will work now
2011-06-15 01:33:56 +02:00
Misko Hevery
e83465c362
Fix scenario runner on IE7, IE8
...
* add ng:disabled, ng:checked, ng:multiple, ng:readonly, ng:selected
* fetch fixed cookbook/advancedform (use ng:disabled)
* fire keydown instead of change on input
* remove frame when test finishes
2011-06-15 01:14:22 +02:00
Vojta Jina
f370be85cb
Fix small typo in docs widget (tutorial instructions)
2011-06-10 18:30:55 +02:00
Misko Hevery
f9f95879f0
Added support for properties in documentation
2011-06-08 15:21:33 -07:00
Misko Hevery
8cad231bd2
Refactor injector to have invoke method for speed reasons
2011-06-08 15:21:31 -07:00
Vojta Jina
e0ee3a0726
Update latest docs content from gdocs
2011-06-07 16:11:00 -07:00
Vojta Jina
e670a812fa
Remove removing old comments from gdocs
...
There were two places where we were removing old comments from google docs:
* gdocs.js fetching script
* docs/src/reader.js
2011-06-07 14:56:56 -07:00
Igor Minar
bb7228e2d9
fix ngdocSpec tests
2011-06-07 14:56:01 -07:00
Igor Minar
25b3438fd7
add appcache for docs site - caches only css/js/img resources
2011-06-07 14:56:01 -07:00
Igor Minar
f21b9214e6
remove $script loader because incompatibilities with e2e runner
2011-06-07 10:39:57 -07:00
Igor Minar
80ea329d5f
fix css for api reference
2011-06-07 07:44:59 -07:00
Igor Minar
6e0ff5fa96
fixing the dev guide ordering
2011-06-07 07:44:49 -07:00
Vojta Jina
4cdce2d30b
Docs: Error 404 page with simple suggestion for new links
2011-06-06 23:10:30 -07:00
Igor Minar
48e69ed4d1
moving the angular.mock docs down in the api list
2011-06-06 23:10:30 -07:00
Igor Minar
c35b0a7907
yet another docs batch
2011-06-06 23:10:30 -07:00
Igor Minar
805bb5bb6e
fixing broken docs links
2011-06-06 23:10:30 -07:00
Kenneth R. Culp
4224e8e371
images for guide
2011-06-06 23:10:29 -07:00
Igor Minar
dd44e00ddd
docs css fix for content-list indentation
2011-06-06 23:10:29 -07:00
Igor Minar
3069566073
api doc fixes from ken
2011-06-06 23:10:28 -07:00
Igor Minar
759e6ea8ed
docs css fixes
2011-06-06 23:10:28 -07:00
Igor Minar
c4989d8979
add new version of api/angular doc
2011-06-06 23:10:28 -07:00
Igor Minar
af710c3ac1
fix wrapping api links into code element
2011-06-06 23:10:27 -07:00
Igor Minar
e89ef35d05
make *.angularjs.org analytics work on subdomains
2011-06-06 23:10:27 -07:00
Igor Minar
2ba3c3ee57
fix getting started docs
2011-06-06 23:10:27 -07:00
Igor Minar
c6dbdde6dc
fix hashpath prefix for docs/sitemap/etc
2011-06-06 23:10:27 -07:00
Igor Minar
f8417b48be
docs app css/js/html rewrite
2011-06-06 22:52:02 -07:00
Igor Minar
7f1e2e4846
new batch of docs
2011-06-06 22:52:02 -07:00
Igor Minar
5533e48dea
work in progress
2011-06-06 22:52:02 -07:00
Vojta Jina
16d0354f93
Load GA script using $script loader
2011-06-06 22:52:02 -07:00
Vojta Jina
350ee31107
Google Analytics - basic page tracking for docs
2011-06-06 22:52:02 -07:00
Vojta Jina
2da07127e4
Add doc:tutorial-instructions widget
2011-06-06 22:52:01 -07:00
Igor Minar
bc2ca384b1
move docs/content/intro to docs/content/misc
2011-06-06 22:52:01 -07:00
Vojta Jina
2380943106
Allow "section/" links pointing to "section/index"
2011-06-06 22:52:01 -07:00
Vojta Jina
43b2cd45f0
Allow relative links in docs
...
So you can use links without section when they link within the section.
2011-06-06 22:52:01 -07:00
Vojta Jina
e389911a35
Change warning to log place first and then link
2011-06-06 22:52:00 -07:00
Vojta Jina
fd357b4cd2
Remove trailing ws
2011-06-06 22:52:00 -07:00
Igor Minar
924ffafc51
fixing broken links
2011-06-06 22:52:00 -07:00
Vojta Jina
3616716615
Indent the API reference list
2011-06-06 22:52:00 -07:00
Vojta Jina
76df0db598
Fixed docs search input with
...
And couple of missing semi-colons...
2011-06-06 22:52:00 -07:00
Vojta Jina
7fe46e8d7e
Bit of refactoring
2011-06-06 22:51:59 -07:00