Commit Graph

4263 Commits

Author SHA1 Message Date
Peter Bacon Darwin
33e1bdc543 chore(errors): rename folders to match namespaces 2014-02-16 22:02:41 +00:00
Peter Bacon Darwin
49f90e559e chore(travis): disable Safari and JQuery e2e tests on Travis
There are no real JQuery tests at this point anyway and the Safari that we
are getting from SauceLabs seems to be a flakey Windows 2000 version that
is not necessarily providing accurate results.
2014-02-16 19:03:45 +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
896e34689d docs(NgModelController): don't run contenteditable example on FF 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
Julie
c663b39826 chore(e2etests): fix a browser check which was actually assigning the parameter 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
Julie
4ee35287f0 chore(grunt): grunt should error when doc generation grunt errors 2014-02-16 19:03:44 +00:00
Caitlin Potter
3655d3ffbe chore(travis): remove test:docgen task from build
The task was removed by an earlier commit, and executing it breaks TravisCI builds. It may be
replaced at a later date.
2014-02-16 19:03:44 +00:00
Peter Bacon Darwin
ec3ba47c4c chore(package.json): move to published npm version of dgeni-packages 2014-02-16 19:03:44 +00:00
Peter Bacon Darwin
2123772a65 docs(api): escape params that have <object> in their type
Really the doc-gen process should escape there but for now this should
stop the layout from breaking.
2014-02-16 19:03:44 +00:00
Peter Bacon Darwin
cb1efd818b docs($locationProvider): tag as a provider rather than object 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
7c7477ce45 docs(ngHref): fix example that navigates away from the page 2014-02-16 19:03:43 +00:00
Peter Bacon Darwin
6f0503514f docs(ngRoute): ask for examples to have their base[href] fixed 2014-02-16 19:03:43 +00:00
Peter Bacon Darwin
5c6f9f8e81 docs(ngHref): don't run the breaking protractor test 2014-02-16 19:03:43 +00:00
Peter Bacon Darwin
64403ff36f chore(package.json): get dgeni from the npm registry 2014-02-16 19:03:43 +00:00
Peter Bacon Darwin
9878fee299 test(docs-app-e2e): refactor test inline with new docs app
The links to code elements have now changed: api/ng.directive:ngClick ->
api/ng/directive/ngClick.

Examples now run inside iframes, so we need to instruct Protractor to
switch to the example iframe.
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
102f986555 docs(ngShowHide): fix icons in example
The protractor tests were failing because the spans containing the icons
were not displaying anymore.
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
8c121b94e7 docs(ngSanitize): add dependency on angular-sanitize to example 2014-02-16 19:03:42 +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
69a687e04e docs(injector): move angular.injector to the ng module
Even though it is defined in the auto folder, it makes more sense for this
function to appear in the ng module in the docs.
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
9565cca15b chore(protractor tests): fix up e2e tests 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
Peter Bacon Darwin
06f2ba899f docs(bike-shed-migration): fix invalid </file name=""> HTML in examples 2014-02-16 19:03:41 +00:00
Peter Bacon Darwin
9f828a07dc docs(ngResource): fix over-length line 2014-02-16 19:03:41 +00:00
Peter Bacon Darwin
655da39c01 docs(sce): fix invalid @name tags 2014-02-16 19:03:41 +00:00
Peter Bacon Darwin
2f7c57233a docs(bike-shed-migration): let markdown deal with extenal links
It is problematic to use {@link} tags with external links because the
markdown parser converts them to links for us before we parse the @links.
This means that the following tag:

```
{@link http://www.google.com Google}
```

get converted to:

```
{@link <a href="http://www.google.com/"></a> Google}
```

Our {@link} parser then converts this to:

```
<a href="<a">&lt;</a>href="http://www.google.com/"></a> Google}
```

which is clearly a mess.  The best solution is not to use {@link} tags
for external links and just use the standard markdown syntax:

```
[Google](http://www.google.com)
```

In the long run, we could look into configuring or modifying `marked` not
to convert these external links or we could provide a "pre-parser"
processor that dealt with such links before `marked` gets its hands on it.
2014-02-16 19:03:41 +00:00
Peter Bacon Darwin
1192ae44f1 docs(bike-shed-migration): convert <doc:...> examples to <example>... 2014-02-16 19:03:40 +00:00
Peter Bacon Darwin
f7c8bcb329 docs(sce): fix reference to $sceDelegateProvider 2014-02-16 19:03:40 +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
2e641ac49f docs(bike-shed-migration): convert doctype and names 2014-02-16 19:03:40 +00:00