Commit Graph

1133 Commits

Author SHA1 Message Date
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
Peter Bacon Darwin
457cf0a702 docs(examples): fix example dependencies 2014-02-16 19:03:43 +00:00
Peter Bacon Darwin
24a87d90f2 chore(doc-gen): provide example dependencyPath in config 2014-02-16 19:03:42 +00:00
Peter Bacon Darwin
0b35521d8f chore(doc-gen): move git info into its own processor 2014-02-16 19:03:42 +00:00
Peter Bacon Darwin
4a938213df chore(docs-indexPage.template): add onload handler for Google Analytics 2014-02-16 19:03:42 +00:00
Peter Bacon Darwin
6a5a8970a0 chore(indexPage.template): add back Google analytics and offline support 2014-02-16 19:03:42 +00:00
Peter Bacon Darwin
b2dc078943 chore(docs): remove 'AngularJS ' prefix from version drop-down 2014-02-16 19:03:42 +00:00
Julie
cd508678cd chore(protractor-generator): add dgeni processor for protractor 2014-02-16 19:03:42 +00:00
Peter Bacon Darwin
0f77bd6d0a docs(misc): add landing page for the miscellaneous area 2014-02-16 19:03:42 +00:00
Peter Bacon Darwin
9b6fc8a4cf docs(tutorial): give the tutorial landing page a better name 2014-02-16 19:03:42 +00:00
Peter Bacon Darwin
389d4879da chore(doc-gen): new docs
chore(doc-gen): implement dgeni
2014-02-16 19:03:41 +00:00
Peter Bacon Darwin
a564160511 docs(bike-shed-migration): fix url-based links refs to AUTO module 2014-02-16 19:03:41 +00:00
Caitlin Potter
f7d28cd377 docs(all): convert <pre>/</pre> snippets to GFM snippets 2014-02-16 19:03:40 +00:00
Peter Bacon Darwin
1ca22a3dc8 docs(bike-shed-migration): move ng module doc into Angular.js 2014-02-16 19:03:40 +00:00
Peter Bacon Darwin
bd4ffaba53 docs(bike-shed-migration): change tutorial doctype and add @step tag 2014-02-16 19:03:40 +00:00
Peter Bacon Darwin
c7e815f63b docs(bike-shed-migration): fix up links outside the domain
It is safer to use markdown style links and save jsdoc style links for
internal links and code references
2014-02-16 19:03:40 +00:00
Stéphane Reynaud
e7ab857ddb docs(guide/$location): correct link to HTML5 draft section 5.5 (history api)
Previous link url is no longer served, responds with bad link (error 404). This change corrects the
URL to point to section 5.5 of the draft. The old URL appears to have been removed from service in
2012.

Corrects the link to "History API"

Closes #6225
2014-02-12 08:26:21 -05:00
Jason Schapiro
72894f0dd2 docs(tutorial): inject phonecapApp module into unit test
When I was reading this doc I was thinking "but what about phonecatApp?" and when I looked in the
file from the step-11 branch there it is. Should be reflected in the docs as well

Closes #6209
2014-02-11 21:29:47 -05:00
Stéphane Reynaud
ef4bf8c77c docs(guide/index): replace "shold" to "should"
Replace "shold" to "should"

Closes #6216
2014-02-11 11:46:36 -05:00