Commit Graph

16 Commits

Author SHA1 Message Date
William Bagayoko
0619e6f278 chore(docs): remove unneeded Bootstrap/jQuery files from distribution 2014-03-27 12:12:13 +00:00
Tobias Bosch
aa249ae4a2 chore(release): calculate the cdnVersion on every build
The CDN version of angular is now calculated on every build,
by looking at the tags in angular/angular.js, sorting them
by semver and checking against ajax.googleapis.com which
one is available.
2014-03-26 15:55:09 -07:00
Peter Bacon Darwin
d7717d93e4 chore(doc-gen): fix dependencyPath 2014-03-11 20:24:34 +00:00
Peter Bacon Darwin
11c5bb7f3d docs(versions): rework the version info extraction
The docs were relying on the grunt/util module for getting version info
but this was unreliable and full of custom regexes.  This is moved into
a new version-info module that makes much better use of the semver library.
2014-03-11 06:35:19 +00:00
Peter Bacon Darwin
5af8d2963b chore(doc-gen): add contentFolder config property 2014-03-07 11:19:17 +00:00
Peter Bacon Darwin
486f1b4e51 chore(doc-gen): improve error reporting 2014-03-07 10:41:48 +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
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
Peter Bacon Darwin
9ca685bfbd chore(doc-gen): add path of project to the doc gen config 2014-02-19 18:32:38 +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
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
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
389d4879da chore(doc-gen): new docs
chore(doc-gen): implement dgeni
2014-02-16 19:03:41 +00:00