Commit Graph

1151 Commits

Author SHA1 Message Date
Peter Bacon Darwin
3b5480e9fc chore(doc-app): ensure only canonical paths get sent to Google Analytics
Before we were simply sending the current location, but multiple URLs map
to the same document.
Now, we use the canonical path of the current document if available and
fall back to the $location path otherwise.
Includes tests!!

Closes #6402
2014-02-22 10:07:31 +00:00
Julie
39c82f3fb7 chore(travis): reorganize protractor configs to group by spec instead of by browser
Use the multiConfiguration ability of Protractor to start tests on multiple browsers
from the same travis cell. Group tests by type (jquery, jqlite, or docs tests) instead
of by browser. Turn on tests for jQuery.
2014-02-21 16:57:04 -08:00
Peter Bacon Darwin
4a6a3ba7fb docs(*): fix anchors for members in api docs 2014-02-21 19:37:37 +00:00
Peter Bacon Darwin
0c9abc32c0 docs(guide/filter): fix input type in example
Closes #6366
2014-02-21 13:57:18 +00:00
Stéphane Reynaud
a9cc6efb3c docs(tutorial/step_11): fix url-based links refs to AUTO module
Closes #6389
2014-02-21 13:52:30 +00:00
Stéphane Reynaud
d7d3ef12a6 docs(tutorial/step_06): fix url-based links refs to AUTO module
Closes #6388
2014-02-21 13:52:16 +00:00
Stéphane Reynaud
1a98b4fe02 docs(tutorial/step_05): fix url-based links refs to AUTO module
Closes #6387
2014-02-21 13:52:00 +00:00
Stéphane Reynaud
a5859aaf63 docs(guide/di): fix url-based links refs to AUTO module
Closes #6386
2014-02-21 13:49:59 +00:00
Stéphane Reynaud
dacdcc6d96 docs(guide/compiler): fix url-based links refs to AUTO module
Closes #6385
2014-02-21 13:49:13 +00:00
Stéphane Reynaud
fa5ca115ac docs(guide/i18n): fix url-based links refs to AUTO module
Closes #6383
2014-02-21 13:32:16 +00:00
Stéphane Reynaud
48b86a4eae docs(guide/scope): fix url-based links refs to AUTO module
Closes #6382
2014-02-21 13:26:08 +00:00
Stéphane Reynaud
f827d64c2e docs(guide/location): fix url-based link to AUTO module
Closes #6381
2014-02-21 13:00:26 +00:00
Julie
4d7e1cef37 chore(doc-gen): generate examples for each deployment, e.g. jquery
Update to the latest dgeni-packages, which supports multiple
deployment environments for the examples.

Add a jQuery deployment environment for the examples.

Currently, the target of the runnable example iframe always points
to the default deployment environment, not to the environment under
which the main app is running.

Closes #6361
2014-02-21 09:59:12 +00:00
Jennifer Song
58b01fac1e docs(tutorial/step-05): replace minify wiki link with shortened URL
marked has an existing bug where links ending with a ')' will not be parsed correctly. The workaround
is to use a shortened URL. The original URL that is being replaced by this commit is
http://en.wikipedia.org/wiki/Minification_(programming) .

Closes #6377
2014-02-21 01:19:26 -05:00
Tobias Leugger - Vibes
84ad0a037c docs(guide/ie): correct conditional comment to load JSON polyfill for IE7 and lower
Text specifies "polyfill JSON.stringify for IE7 and below" conditional comment for loading the
polyfill was "lte IE 8".

Closes #6227
2014-02-20 17:16:48 -05:00
Brad Williams
45304a9d68 docs(guide/directive): add a more detailed description of isolate scope & bindings
More description of "&" bindings, the fact that they trigger evaluation of expressions in the
original scope's context.

Closes #6255
2014-02-20 15:18:47 -05:00
Richard Collins
0478bb4a60 docs(ie): document IE style attribute interpolation problem
IE has issues with this, it's good to make a note of this.

Closes #6329
2014-02-20 14:55:18 -05:00
Matias Niemelä
39bae62f53 chore(docs): fix header wrapping for tablet devices 2014-02-20 10:37:03 -05:00
Peter Bacon Darwin
d7a73e41ed chore(doc-gen): add formatted error messages to error pages
This got missed in the doc migration: When there is an error in an
Angular app, extra information is placed in the URL, which can be used
by the docs application to display a more useful message.

This fix adds that back in.  The error message templates are extracted
by the minerr tool during build and put into the errors.json file. The
errors-doc processor will load this up and attach these message templates
to the error docs.

The display of these templates was already in place, via the errorDisplay
directive in docs/app/js/errors.js.

(Also, moved the error.template.html file into the angular.js repository
from the dgeni-packages repository as this is specific to the angular.js
project and all the other error related stuff is in here.

Finally, also, added an e2e test that checks that minerr formatted
messages are displayed correctly.

Closes #6363
2014-02-20 14:41:32 +00:00
Matias Niemelä
0b6ba9c940 chore(docs): make the layout fully responsive
Closes #6308
2014-02-19 17:22:54 -05:00
Peter Bacon Darwin
9ca685bfbd chore(doc-gen): add path of project to the doc gen config 2014-02-19 18:32:38 +00:00
Aaron Wang
1b74e5ed0a docs(api): remove ngRoute.$routeParams link from ng section
Closes #6219
2014-02-19 18:17:41 +00:00
Peter Bacon Darwin
3fbc25718e chore(doc-gen): improve grouping and sorting of api nav items 2014-02-19 16:21:20 +00:00
Peter Bacon Darwin
b488bbf4bf chore(doc-app): remove invalid line of code 2014-02-19 16:07:56 +00:00
Igor Minar
1523fc7e6d docs(guide/providers): fix example snippet
Closes #6331
Closes #6332
2014-02-18 19:39:41 -08:00
Shai Reznik
b6f3d4007a docs(guide/compiler): remove innacurate statement
The $compile service accepts string as a value and wraps it if
needed, so this statement isn't correct, at least by the source
code.

Closes #6301
2014-02-18 06:36:34 +00:00
Peter Bacon Darwin
ad6767949c chore(docs): cope with trailing slash and "index" in URLs
Closes #6295
2014-02-18 06:26:24 +00:00
ahliddin
2407891ddf docs(tutorial/step-11): add controller to correct object 2014-02-18 05:47:04 +00:00
Matias Niemelä
666137d635 chore(docs): fix broken example tabs 2014-02-17 16:36:22 -05:00
plmetz
846ebb4073 docs(guide/concepts): clarify wording 2014-02-17 14:15:25 +00:00
Stéphane Reynaud
f8b11f3584 docs(tutorial): add missing @step tags
Since steps 9 and 11 were missing @step tags they were out of order

Closes #6292
Closes #6291
2014-02-17 14:04:26 +00:00
Peter Bacon Darwin
4c02d0bea5 chore(docs-assets): add versions to paths for imported assets
This should prevent stale caches in browsers if we upgrade any of these
assets.
2014-02-17 14:01:30 +00:00
Peter Bacon Darwin
47ec6f5d7f chore(doc-gen): add production deployment environment 2014-02-17 07:43:58 +00:00
Matias Niemelä
f8b50cd410 chore(docs): replace local bootstrap build with one from bower 2014-02-16 20:25:27 -05:00
Matias Niemelä
7c8a1bfbac docs(design): footer and spacing fixes added to the layout 2014-02-16 19:44:44 -05:00
Matias Niemelä
713c8e629d docs(design): ui-fixes for examples, layout and API components 2014-02-17 00:20:26 +00:00
Peter Bacon Darwin
33e1bdc543 chore(errors): rename folders to match namespaces 2014-02-16 22:02:41 +00:00
Peter Bacon Darwin
a48a99377c docs(indexPage.template): fix top-nav links to work on localhost 2014-02-16 19:03:45 +00:00
Caitlin Potter
f7fad29fd9 docs(bike-shed-migration): convert guide <doc:...> examples to <example>...
This CL also contains style fixes as the converted scripts caused jshint to complain.
2014-02-16 19:03:45 +00:00
Peter Bacon Darwin
0b28de1e55 chore(doc-gen): improve error page navigation 2014-02-16 19:03:45 +00:00
Peter Bacon Darwin
84d9a57416 chore(doc-gen): remove trailing whitespace in ptor template 2014-02-16 19:03:45 +00:00
Peter Bacon Darwin
ecdb9a5688 docs(*): fix jshint issues in examples 2014-02-16 19:03:45 +00:00
Peter Bacon Darwin
c6f406f03b chore(doc-gen): add jshint checking to examples and tests 2014-02-16 19:03:44 +00:00
Peter Bacon Darwin
af9e897ecd docs(guide): remove unnecessary "Developer Guide: " from @names 2014-02-16 19:03:44 +00:00
Peter Bacon Darwin
a8f21d4c48 chore(doc-gen): only output info (and more severe) log messages 2014-02-16 19:03:44 +00:00
Peter Bacon Darwin
6fcf544528 chore(doc-gen): fix navGroup hrefs 2014-02-16 19:03:44 +00:00
Peter Bacon Darwin
f5575782c4 docs(docs.css): add initial type-hint styles 2014-02-16 19:03:44 +00:00
Peter Bacon Darwin
d85505d019 docs(content): fix bad links 2014-02-16 19:03:43 +00:00
Peter Bacon Darwin
daa83f2864 chore(doc-gen): remove console.log statements 2014-02-16 19:03:43 +00:00
Peter Bacon Darwin
8849d70af8 docs(api/index): fix ambiguous ngClick link
ngClick appears in more than one module so we must make it explicit.
2014-02-16 19:03:43 +00:00