Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Conversation

IgorMinar
Copy link
Contributor

No description provided.

otherwise they don't get filtered out.
…lized into api-list.json

This ensures that the api listing doesn't get broken when someone uses a double quote in documentation content.
@IgorMinar
Copy link
Contributor Author

@petebacondarwin any idea why do the private entry points need to be blacklisted using extra _? the source code has a double underscore prefix, but dgeni somehow turns it into triple underscore.

@IgorMinar
Copy link
Contributor Author

@naomiblack this PR also fixes the api listing json serialization.

unfortunately, the api docs still fail to build against the latest angular/angular master because some symbols are intentionally used twice with the same name (once in value position and the other time in the type position). it seems that dgeni doesn't like this duplication:

[00:23:49] 'build-ts-api-docs' errored after 4.94 s
[00:23:49] Error: Only one of "stable" (or its aliases) allowed. There were 2 - doc "@angular/core/index/Attribute" (interface)  - from file "/Users/iminar/Dev/angular/modules/@angular/core/src/metadata/di.ts"
    at readTags (/Users/iminar/Dev/angular.io/node_modules/dgeni-packages/jsdoc/processors/extract-tags.js:134:15)
    at /Users/iminar/Dev/angular.io/node_modules/dgeni-packages/jsdoc/processors/extract-tags.js:86:11
    at arrayEach (/Users/iminar/Dev/angular.io/node_modules/lodash/lodash.js:522:11)
    at Function.forEach (/Users/iminar/Dev/angular.io/node_modules/lodash/lodash.js:9011:14)
    at tagExtractor (/Users/iminar/Dev/angular.io/node_modules/dgeni-packages/jsdoc/processors/extract-tags.js:65:9)
    at /Users/iminar/Dev/angular.io/node_modules/dgeni-packages/jsdoc/processors/extract-tags.js:20:9
    at Array.forEach (native)
    at Object.$process (/Users/iminar/Dev/angular.io/node_modules/dgeni-packages/jsdoc/processors/extract-tags.js:18:12)
    at /Users/iminar/Dev/angular.io/node_modules/dgeni/lib/Dgeni.js:202:28
    at _fulfilled (/Users/iminar/Dev/angular.io/node_modules/q/q.js:834:54)
    at self.promiseDispatch.done (/Users/iminar/Dev/angular.io/node_modules/q/q.js:863:30)
    at Promise.promise.promiseDispatch (/Users/iminar/Dev/angular.io/node_modules/q/q.js:796:13)
    at /Users/iminar/Dev/angular.io/node_modules/q/q.js:857:14
    at runSingle (/Users/iminar/Dev/angular.io/node_modules/q/q.js:137:13)
    at flush (/Users/iminar/Dev/angular.io/node_modules/q/q.js:125:13)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)

@petebacondarwin could we change dgeni to deal with this?

@petebacondarwin
Copy link
Contributor

I'll take a look today.

Both seem a bit weird. The @stable problem is probably due to the TypeScript processor concatenating the two exports together in some way...

@IgorMinar
Copy link
Contributor Author

thanks!

On Tue, Sep 13, 2016 at 12:32 AM Pete Bacon Darwin notifications@github.com
wrote:

I'll take a look today.

Both seem a bit weird. The @stable problem is probably due to the
TypeScript processor concatenating the two exports together in some way...


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#2321 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANM6IfMbtHhahARgbfSDQh9mlQYmMhDks5qplGIgaJpZM4J7XTh
.

@petebacondarwin
Copy link
Contributor

The trouble is that, as far as TypeScript is concerned, the following two declarations are the same symbol:

export interface Attribute { attributeName?: string; }
export const Attribute: AttributeDecorator =
    makeParamDecorator('Attribute', [['attributeName', undefined]]);

It is not clear how we should deal with this. Since TypeScript allows reopening of types, we assumed that multiple declarations for a symbol were for the same type and so we concatenate all the information from the two declarations into a single document, which is why the content field for this document looks like:

Type of the Attribute metadata.\n\n@stable\n\nAttribute decorator and metadata.\n\n@stable\n@Annotation\n\n

Thoughts:

  • We could ignore one of the declarations, but which one?
  • We create two documents but then they would have the same path and one would end up overwriting the other
  • Moreover it seems that now that we have dropped the [Decorator]Metadata term, the current processing to extract decorator docs is going to be broken as it relied on the ...Metadata suffix to find the symbol that contained the information about the properties for the component.

@petebacondarwin
Copy link
Contributor

Currently, on angular.io, the interface version of Attribute is lost anyway. The only doc rendered is https://angular.io/docs/ts/latest/api/core/index/Attribute-var.html

@Foxandxss
Copy link
Member

In any case, we can't deploy the rc7 docs without fixing this.

stability: escapeQuotes(stability),
howToUse: escapeQuotes(howToUse),
whatItDoes: escapeQuotes(whatItDoes),
security: escapeQuotes(security)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like doing the replacement here in the code.
We don't necessarily know at this point what the output rendering file format would be...
It is better to do the escaping in the template at /angular.io/tools/api-builder/angular.io-package/templates/api-list-data.template.html

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is my fix for this: #2324

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah. I agree but I didn't know how to do it in a template :) I left a comment on your pr

@petebacondarwin
Copy link
Contributor

petebacondarwin commented Sep 13, 2016

OK, so here is thing: TypeScript allows "compatible" declarations to be merged into a single symbol. So interface and const can be merged. The resulting symbol has all the symbols of both types.

A type can have a valueDeclaration, which is the first declaration that is a "value" type, e.g. class, function, enum, const, etc, rather than a non-value, such as interface,typedef, etc.

Up to now we just concatenate the docs from each declaration into a single doc, which interestingly is what TypeScript does too - you can see so in the IDE intellisense.

I am going to update the dgeni-packages/typescript package to only take one of the declarations as the primary document, but then attach the other declarations to that doc via an additionalDeclarations property. This should prevent the doc-gen from blowing up and give us access to the other declarations.

The declaration that will be taken for the primary doc will be the valueDeclaration if there is one, or declarations[0] otherwise.

petebacondarwin added a commit to angular/dgeni-packages that referenced this pull request Sep 13, 2016
Related to angular/angular.io#2321
Related to angular/angular.io#2324

BREAKING CHANGE:

Previously, if there were multiple declarations for an exported symbol,
then the docs for those declarations were simply joined together with
newlines.

Now only the first declaration (or the valueDeclaration if there is one)
is used in an export doc.

If you needed the content for the other declarations then you can still
access them via a call like `getContent(doc.additionalDeclarations[i])`.
petebacondarwin added a commit to petebacondarwin/angular.io that referenced this pull request Sep 13, 2016
Foxandxss pushed a commit to IdeaBlade/angular.io that referenced this pull request Sep 13, 2016
lacolaco pushed a commit to angular/angular-ja that referenced this pull request Oct 2, 2016
* fix(footer): Improve styleguide trigger positioning

* Further improve styleguide trigger styles

- Add some more space to the right on desktop
- Remove `text-decoration`
- Use correct `line-height` for the icon

* docs(*): misc fixes to prose in support of jade2ng (#2266)

Fixes to prose “syntax”. Anomalies detected by jade2ng.
Also updated the main _utils-fn.jade in support of jade2ng as well.

* Uwaterloo 210J pfryerda edits (#1968)

* template-syntax - removed word redundancies, consistent bolding rather than italics

* Some (not all) changes from PR.

* remaining changes from pull request

* docs(template-syntax): delete a single character

* chore: improve UX of build w/o API (#2265)

Just do a full build if no API docs currently exist rather than
building the site and then aborting with an error message at the end of
it all.

* Fixed footer logo overflowing

Footer logo was overflowing at ~960px wide viewport. Added `background-size: contain` (shorthand), and `max-width: 100%` to contain wrapper, and background image within grid.

* docs(quickstart): fix broken link to tutorial (#2278)

* docs(*): fix broken links in glossary and router chapter (#2279)

- Glossary: `#ecmascript=2015` is not a valid fragment.
- Router: `<a name=“…”>` needed to be `<a id=“…”>`.

* [WIP] chore(dart): update to beta.21 (#2280)

* fix(build): correct the angular/angular source pattern for the serve-and-sync-api gulp task

* examples(lifecycle-hooks): update Dart sample to match TS (#2281)

Make equivalent TS code changes to Dart sample.

This sync’s Dart with all #2177 changes pertinent to Dart.

E2E tests pass now for Dart, Suites passed:
-  public/docs/_examples/lifecycle-hooks/ts

* chore(README): add note - do not edit cached files (#2288)

* Update README.md

* chore(cheatsheet): use Jade to generate mirror page (#2289)

The page `docs/ts/latest/guide/cheatsheet.html` is a mirror of
`docs/ts/latest/cheatsheet.html`. Use Jade instead of Harp to create
the mirror so that jade2ng can generate the corresponding file.

* fix(api-builder): remove obsolete decorator type

* fix(api-builder): remove bogus 'class export' section from class template

* fix(api-builder): add a custom template for interface

before we were using the template for class which is wrong

* fix(api-builder): remove line number from the github source link

this info is not interesting to the reader.

* chore(cheatsheet): fix double banner issue (#2293)

Each page is designed to have a single banner; adjust the cheatsheet to
follow this convention. Also eliminate the article nested within the
`l-conent` div.

Propagated changes/cleanup to JS and Dart.

* fix(api-builder/linkDocs): don't crash if a doc has no fileInfo (#2296)

Closes #2294

* fix(api-builder/addJadeDataDocs): handle newlines better (#2296)

Closes #2294

* docs(browser-support): document browser support and polyfills (#2244)

* chore(dgeni-packages): update to use 0.15.2

This version includes the feature to hide members that
are marked private in TypeScript.

* chore(package): remove unused dependency, grunt-sass

* doc-gen(mergeDecoratorDocs): capture all the metadata docs

Iterate through the docs and merge all the of metadata docs
for each decorator doc into the decorator doc and remove it
so that it is not rendered in a page of its own

* chore(eslint): add eslint config file

* api-builder: render pipes with specialised template

* api-builder: show metadata details on decorator docs

* fix(api-builder): correctly import github and params helpers

* docs(browser-support): edits (#2299)

* chore: update to node 6 (#2301)

* fix(harp): temporarily use PR commit for js fix (#2308)

* refactor(api-builder): remove obsolete stuff

* fix(api-builder): prefix static members with 'static'

* fix(ci): bump LATEST_RELEASE to 2.0.0-rc.6

* update conference links - add ng-europe; remove AngularConnect

* fix(api-builder): escape double-quotes in JSON output

* fix(api-builder): update to a fixed version of dgeni-packages

See angular/angular.io#2321 (comment)

* firebase(config): update named servers for live and dev

* dgeni(api-builder): hide private classes with extra underscores

* chore: update docs to rc7

* fix(api-builder): ignore all symbols starting with _

* docs(di): remove InjectorMetadata mentions

* fix(build-compile): allow skipping langs in a fresh build (#2307)

* chore(travis): use latest Dart SDK (#2320)

Dartdoc has been fixed so we no longer need to be pinned to SDK v1.18.1.

* docs(ngmodule-faq): correct `BrowserModule` import module (#2269)

* docs(ngmodule-faq): fix plunker link (#2277)

* docs(ngmodule-faq): eager loaded Routed Feature Module must be imported (#2304)

fixes #2298

* docs(testing): testing chapter and samples for RC6 (#2198)

[WIP] docs(testing): new chapter, new samples

* a1-a2 quick ref copy edits (#2255)

* a1-a2 quick ref copy edits

* copy edits, 2nd pass

* Glossary Edits

* 1-2 quick ref copy edits, pass 2

* docs(router): remove double html tag (#2286)

* chore: add upgrade to system.js configs (#2302)

* docs(animation): add callbacks documentation (#2271)

* docs(server-communication): fix small typo (#2312)

* docs(quickstart): remove compiler-cli from dependencies (#2285)

* Remove a superfluous `.` in HTTP client docs 😄 (#2313)

* docs: delete forms- and router-deprecated, jade + examples (#2328)

* Rc5 doc sweep (#2218)

* Removed 03-05, 04-12, 04-15.

Removed style for whitespace in imports.

Removed + sign prefix for routing folders. Updated all code.

Removed style that said to use lazy loading.  There was no value in the style other than use it :)

* renamed componet router to router

* docs(validation): Change to 'Table of Contents'
Same change to NgModules
closes #2315

* fix(router): Added ModuleWithProviders export to configuration example (#2314)

* docs(server-communication): fix "app/app.module.ts" typo
closes #2283

* chore(api-builder): add ngModule dgeni tag

* chore: update tslint rules

* fix(api-builder): pass versionInfo to macros

The update to dgeni-packages led to a breaking change in the Nunjucks
templates, where macros are now isolated from their calling site.

This means that we must pass the `versionInfo` object through to the
macro rather than expecting it to be in scope already.

* chore(test): fix travis

* chore(home): fix joyful-development.png import statement
fixes #2085  Just the linked png, not the svg, jpg, or gif

* chore(test): remove 03-05 style guide test

* Security Edits Combined (#2245)

* Security Edits Combined

* Security copy edits

* Fix typo in security

* fixing trailing whitespace

* docs(cookbook - aot compiler) (#2161)

docs(cb-aot-compiler): new cookbook on AoT compiler

* chore: update examples to TS2.0 (#2329)

* docs(dart/api): clean out styles from api template

The removed linked stylesheets are causing problems under the refreshed
site styling scheme.

* docs(aot): update nav to be consistent with aot hyphenation

* docs(glossary): copy edit

See #2292 for review history.
closes #2292

* docs(router): Added and organized more router dev guide content

Moved all heroes functionality into milestone 2
Crisis Center initial functionality is milestone 3
Admin feature module as milestone 4 including route guard examples
Updated milestone 5 to lazy load admin feature module
Added examples for CanLoad, CanActivateChildren guard, component-less routes
Added section on explanation of ActivatedRoute
Added section on animating route components
Added section on relative navigation

* docs(aot): More consistency edits to aot/jit

* fix: merge the decorator data with the symbol

* temp disable docs merger

* chore(api-builder): use Jade include rather than Harp partial

* style(bios): make whitespace consistent

* chore(bios): add bio for gkalpak

* docs(aot): remove typescript instruction

* fix ngModule tag, api-list and json encoding

* news(sept): news updates for september

* design(style): Restyle changes from Alex

* fixed headings in api pages

* docs(refresh): late bio add and livestream banner

* chore(bios): adding bio

* chore: more typograhpical fixes (#2352)

* chore: here we are (#2353)

* docs(release): announce 2.0 final

* chore: update compiler-cli version (#2354)

* chore: fix api docs issue on angular 2.0.0 (#2365)

* fix: fix broken anchors

* docs(style-guide): attributes aren't comma separated (#2372)

A fix necessary for ng2.io

* docs(ngmodule): remove hero.service from module (post-RC6 todo)
also switched to moduleId

* docs(testing-guide): fix tiny typo (#2381)

* initial commit for rotating announcement banner

* banner(scrolling): add scrolling to the banner

* udpate colors and contrast for accessibility improvements

* some touches to banner and api docs

* fixed weird opacity issue

* chore(harp): use official pre-release 0.21 of harp (#2376)

* docs(testing): feedback from Joe Eames/add more scenarios (#2391)

* update title on sidenav (#2386)

* fix(ngmodule): fix broken anchor (#2373)

* docs(router): add missing backticks (#2366)

* docs(news): Fix RC7 announcement link (#2363)

Fix RC7 announcement link

* docs(devguide): fix invalid JavaScript syntax in hero-form.component.js example (#2343)

Fix Unmatched '{' JavaScript syntax error in hero-form.component.js example

* docs(toh): fix spelling of ActivateRoute to ActivatedRoute (#2400)

* fixed spelling of ActivateRoute to ActivatedRoute

* dont do cache

* docs(testing): fix small typo (#2401)

* docs(webpack): remove unused ts-loader (#2361)

angular/angular.io@69ae63c changed `public/docs/_examples/webpack/ts/config/webpack.common.js` and `public/docs/_examples/webpack/ts/config/webpack.test.js` and replaced `ts` with `awesome-typescript-loader`. So we can remove `"ts-loader": "^0.8.1",` from the `public/docs/_examples/webpack/ts/package.webpack.json`.

* docs(webpack): move to core-js in testing (#2404)

* docs(forms): remove deprecated forms notice for js (#2395)

* docs(devguide): add missing app.module.js source in Basics > Forms (#2342)

Add missing app.module.js source example in Basics > Forms dev guide
- File is missing for JavaScript, but present for TypeScript

* docs: fix {ts,dart,js}/latest/_data.json (#2387)

* docs: fix {ts,dart,js}/latest/_data.json

Fixes #2384.
Fixes #2385.

* post-review updates

Addressing #2407.

* docs(tutorial): don't use shredder for intro page (#2388)

An initial multilang cleanup for ng2.io

* about(shannon): add shannon's bio

* docs(testing): more scenarios (#2396)

* docs: use Jade include rather than Harp partial (#2392)

No net effect on the generated docs.
Preparatory work for ng2.io.

* docs(lang/latest): parameterize landing page Jade by language (#2389)

ng2.io preparatory work.

* docs(ts-to-js): change angular2 to @angular (#2403)

* chore: rename Angular 2 to simply Angular (#2402)

* docs(overview): update to new organization (#2405)

* chore: more "angular2" to "angular" cleanup (#2417)

* docs(tutorial): fix broken link (#2420)

Fixes #2419

* docs(cookbook): don't use shredder on intro page (#2418)

Also added missing cookbook AoT chapter placeholders for JS and Dart,
fixing 404s mentioned in #2389.

* docs(testing): explain rationale for stubbed routerLink tests (#2422)

* docs(animations): update copy (#2379)

* docs(animations): update copy

* boost transparency of sidenav

* chore: fix zone.js for plunkers (#2421)

* docs(upgrade): temporary fix broken regions (#2424)

* Fix up styles after sync

* Some more cleanup

* docs(toh-6): remove BrowserClient provider comment (#2431)

Fixes #2347

* docs(user-input): misc fixes (#2430)

- Remove nonexistent `<important>` “element” since it causes problems
for ng2.io. This is probably a typo. It was more likely meant to be an
anchor name than an element name.
- Fix two PENDING links.

* only apply transparency changes on mobile

* docs(testing): import test module and override component providers (#2428)

* docs(browser-support): add Safari 10 (#2433)

* Update visual-studio-2015.jade (#2416)

* Update visual-studio-2015.jade

In Step 7 (Build and Run App), there needs to be instruction to set index.html as start page, so that when Run button or F5 is pressed to run the application, browser shows index.html

* Update visual-studio-2015.jade

* docs(quickstart): Change Npm to npm (#2398)

* docs(typescript): Fix name of typings config file (#2378)

I believe name of the typings config file is typings.json, not typings.config.

* docs(testing): explain DebugElement.triggerEventHandler (#2438)

* docs(vs2015): remove duplicated word (#2441)

* docs(vs2015): fix typo (#2440)

* docs(testing): use marked Jade filter (#2444)

When the testing page is rendered the following warning is generated:
```
Transformers.markdown is deprecated, you must replace the :markdown
jade filter, with :marked and install jstransformer-marked before you
update to jade@2.0.0.
```

* Align footer text left on desktop

* docs(testing): from Igor Minar feedback (Part 1) (#2450)

* Use solid color and transition to red color on hover

* docs(Displaying Data): copy edits (#2435)

* chore: ability to add unit test boilerplate (#2462)

* docs(lifecycle-hooks): make it easier to get to call sequence (#2465)

Per Ben Lesh suggestion. Also converts away from "we"

* docs(js/guide): don't use shredder & _data.json fixes (#2467)

replay Patrice's PR #2448

* docs(lifecycle-hooks): combine what and when in one chart; add img (#2469)

* Change banner height to min-height

* docs(testing): incorporate Igor Minar feedback, Part 2 (#2453)

docs(testing): incorporate Igor Minar feedback, Part 2

* docs(testing): change createInstance to createComponent (#2475)

* chore: update samples to "angular-in-memory-web-api" (#2472)

chore: update samples to "angular-in-memory-web-api"

* chore(package.json): update many package versions (#2476)

* chore: convert templateUrls to use moduleId where possible. (#2477)

* Fix broken link to DatePipe docs (#2452)

Fixes issue #2451

* docs(toh): Replaced window.history with location service (#2439)

* docs(architecture): remove reference to directives in component metadata (#2481)

* docs(style-guide): remove rc relics and update for ngmodules (#2463)

* fix(guide/form): fix a typo (#2483)

* docs(upgrade): update to latest release + tweaks (#2460)

* fix(gulp): fix build and run task defaults (#2484)

* docs(style-guide): Fix a couple typos
closes #2489

* chore: update package.json files to latest pkg versions. Use ~ for Ng. (#2490)

closes #2488

* * docs(toh-6): update 'let' to 'const' for delete hero (#2355)

Since the update function does use const url instead of let url,
this seemed like a good consistency to have between similar blocks of code.

* docs(toh-6): update 'let' to 'const' for delete hero

* docs(dart): upgrade to beta.22 (#2494)

* update to beta.22
* Dart SDK 1.19.0 or later is required
* minor edits to sample app titles to e2e tests pass
  * Renamed “Angular 2” to “Angular” so that shared e2e tests pass.
* Tweak to QS prose.

* docs(i18n): add internationalization (i18n) guide (#2491)

* docs(i18n): add internationalization (i18n) guide

* docs(cb-i18n): revamped to System.import the translation file

* chore(i18n): correct name of i18n extract command (#2511)

* Fixed minor typos in testing (#2515)

Fixed minor typos in testing

* docs(testing): fix link (#2514)

Fixed link

* docs(testing): delete extra 'with' (#2513)

Deleted extra 'with'

* docs(style-guide): add missing word in bootstrapping remark (#2512)

* docs(style-guide): example of underscore prefix to avoid. (#2501)

* fix(guide/form): fix a broken link (#2498)

* docs(rc4-to-rc5): change cleanup
closes #2516

* docs(i18n): incorporate corrections and feedback from Victor Berchet (#2517)

See PR #2491

* chore(i18n): fix broken plunker link (#2519)

* chore: fix broken links on 9/30, mostly API links (#2520)

* chore(deps): fix prh version
lacolaco pushed a commit to angular/angular-ja that referenced this pull request Jan 9, 2017
* fix(footer): Improve styleguide trigger positioning

* Further improve styleguide trigger styles

- Add some more space to the right on desktop
- Remove `text-decoration`
- Use correct `line-height` for the icon

* docs(*): misc fixes to prose in support of jade2ng (#2266)

Fixes to prose “syntax”. Anomalies detected by jade2ng.
Also updated the main _utils-fn.jade in support of jade2ng as well.

* Uwaterloo 210J pfryerda edits (#1968)

* template-syntax - removed word redundancies, consistent bolding rather than italics

* Some (not all) changes from PR.

* remaining changes from pull request

* docs(template-syntax): delete a single character

* chore: improve UX of build w/o API (#2265)

Just do a full build if no API docs currently exist rather than
building the site and then aborting with an error message at the end of
it all.

* Fixed footer logo overflowing

Footer logo was overflowing at ~960px wide viewport. Added `background-size: contain` (shorthand), and `max-width: 100%` to contain wrapper, and background image within grid.

* docs(quickstart): fix broken link to tutorial (#2278)

* docs(*): fix broken links in glossary and router chapter (#2279)

- Glossary: `#ecmascript=2015` is not a valid fragment.
- Router: `<a name=“…”>` needed to be `<a id=“…”>`.

* [WIP] chore(dart): update to beta.21 (#2280)

* fix(build): correct the angular/angular source pattern for the serve-and-sync-api gulp task

* examples(lifecycle-hooks): update Dart sample to match TS (#2281)

Make equivalent TS code changes to Dart sample.

This sync’s Dart with all #2177 changes pertinent to Dart.

E2E tests pass now for Dart, Suites passed:
-  public/docs/_examples/lifecycle-hooks/ts

* chore(README): add note - do not edit cached files (#2288)

* Update README.md

* chore(cheatsheet): use Jade to generate mirror page (#2289)

The page `docs/ts/latest/guide/cheatsheet.html` is a mirror of
`docs/ts/latest/cheatsheet.html`. Use Jade instead of Harp to create
the mirror so that jade2ng can generate the corresponding file.

* fix(api-builder): remove obsolete decorator type

* fix(api-builder): remove bogus 'class export' section from class template

* fix(api-builder): add a custom template for interface

before we were using the template for class which is wrong

* fix(api-builder): remove line number from the github source link

this info is not interesting to the reader.

* chore(cheatsheet): fix double banner issue (#2293)

Each page is designed to have a single banner; adjust the cheatsheet to
follow this convention. Also eliminate the article nested within the
`l-conent` div.

Propagated changes/cleanup to JS and Dart.

* fix(api-builder/linkDocs): don't crash if a doc has no fileInfo (#2296)

Closes #2294

* fix(api-builder/addJadeDataDocs): handle newlines better (#2296)

Closes #2294

* docs(browser-support): document browser support and polyfills (#2244)

* chore(dgeni-packages): update to use 0.15.2

This version includes the feature to hide members that
are marked private in TypeScript.

* chore(package): remove unused dependency, grunt-sass

* doc-gen(mergeDecoratorDocs): capture all the metadata docs

Iterate through the docs and merge all the of metadata docs
for each decorator doc into the decorator doc and remove it
so that it is not rendered in a page of its own

* chore(eslint): add eslint config file

* api-builder: render pipes with specialised template

* api-builder: show metadata details on decorator docs

* fix(api-builder): correctly import github and params helpers

* docs(browser-support): edits (#2299)

* chore: update to node 6 (#2301)

* fix(harp): temporarily use PR commit for js fix (#2308)

* refactor(api-builder): remove obsolete stuff

* fix(api-builder): prefix static members with 'static'

* fix(ci): bump LATEST_RELEASE to 2.0.0-rc.6

* update conference links - add ng-europe; remove AngularConnect

* fix(api-builder): escape double-quotes in JSON output

* fix(api-builder): update to a fixed version of dgeni-packages

See angular/angular.io#2321 (comment)

* firebase(config): update named servers for live and dev

* dgeni(api-builder): hide private classes with extra underscores

* chore: update docs to rc7

* fix(api-builder): ignore all symbols starting with _

* docs(di): remove InjectorMetadata mentions

* fix(build-compile): allow skipping langs in a fresh build (#2307)

* chore(travis): use latest Dart SDK (#2320)

Dartdoc has been fixed so we no longer need to be pinned to SDK v1.18.1.

* docs(ngmodule-faq): correct `BrowserModule` import module (#2269)

* docs(ngmodule-faq): fix plunker link (#2277)

* docs(ngmodule-faq): eager loaded Routed Feature Module must be imported (#2304)

fixes #2298

* docs(testing): testing chapter and samples for RC6 (#2198)

[WIP] docs(testing): new chapter, new samples

* a1-a2 quick ref copy edits (#2255)

* a1-a2 quick ref copy edits

* copy edits, 2nd pass

* Glossary Edits

* 1-2 quick ref copy edits, pass 2

* docs(router): remove double html tag (#2286)

* chore: add upgrade to system.js configs (#2302)

* docs(animation): add callbacks documentation (#2271)

* docs(server-communication): fix small typo (#2312)

* docs(quickstart): remove compiler-cli from dependencies (#2285)

* Remove a superfluous `.` in HTTP client docs 😄 (#2313)

* docs: delete forms- and router-deprecated, jade + examples (#2328)

* Rc5 doc sweep (#2218)

* Removed 03-05, 04-12, 04-15.

Removed style for whitespace in imports.

Removed + sign prefix for routing folders. Updated all code.

Removed style that said to use lazy loading.  There was no value in the style other than use it :)

* renamed componet router to router

* docs(validation): Change to 'Table of Contents'
Same change to NgModules
closes #2315

* fix(router): Added ModuleWithProviders export to configuration example (#2314)

* docs(server-communication): fix "app/app.module.ts" typo
closes #2283

* chore(api-builder): add ngModule dgeni tag

* chore: update tslint rules

* fix(api-builder): pass versionInfo to macros

The update to dgeni-packages led to a breaking change in the Nunjucks
templates, where macros are now isolated from their calling site.

This means that we must pass the `versionInfo` object through to the
macro rather than expecting it to be in scope already.

* chore(test): fix travis

* chore(home): fix joyful-development.png import statement
fixes #2085  Just the linked png, not the svg, jpg, or gif

* chore(test): remove 03-05 style guide test

* Security Edits Combined (#2245)

* Security Edits Combined

* Security copy edits

* Fix typo in security

* fixing trailing whitespace

* docs(cookbook - aot compiler) (#2161)

docs(cb-aot-compiler): new cookbook on AoT compiler

* chore: update examples to TS2.0 (#2329)

* docs(dart/api): clean out styles from api template

The removed linked stylesheets are causing problems under the refreshed
site styling scheme.

* docs(aot): update nav to be consistent with aot hyphenation

* docs(glossary): copy edit

See #2292 for review history.
closes #2292

* docs(router): Added and organized more router dev guide content

Moved all heroes functionality into milestone 2
Crisis Center initial functionality is milestone 3
Admin feature module as milestone 4 including route guard examples
Updated milestone 5 to lazy load admin feature module
Added examples for CanLoad, CanActivateChildren guard, component-less routes
Added section on explanation of ActivatedRoute
Added section on animating route components
Added section on relative navigation

* docs(aot): More consistency edits to aot/jit

* fix: merge the decorator data with the symbol

* temp disable docs merger

* chore(api-builder): use Jade include rather than Harp partial

* style(bios): make whitespace consistent

* chore(bios): add bio for gkalpak

* docs(aot): remove typescript instruction

* fix ngModule tag, api-list and json encoding

* news(sept): news updates for september

* design(style): Restyle changes from Alex

* fixed headings in api pages

* docs(refresh): late bio add and livestream banner

* chore(bios): adding bio

* chore: more typograhpical fixes (#2352)

* chore: here we are (#2353)

* docs(release): announce 2.0 final

* chore: update compiler-cli version (#2354)

* chore: fix api docs issue on angular 2.0.0 (#2365)

* fix: fix broken anchors

* docs(style-guide): attributes aren't comma separated (#2372)

A fix necessary for ng2.io

* docs(ngmodule): remove hero.service from module (post-RC6 todo)
also switched to moduleId

* docs(testing-guide): fix tiny typo (#2381)

* initial commit for rotating announcement banner

* banner(scrolling): add scrolling to the banner

* udpate colors and contrast for accessibility improvements

* some touches to banner and api docs

* fixed weird opacity issue

* chore(harp): use official pre-release 0.21 of harp (#2376)

* docs(testing): feedback from Joe Eames/add more scenarios (#2391)

* update title on sidenav (#2386)

* fix(ngmodule): fix broken anchor (#2373)

* docs(router): add missing backticks (#2366)

* docs(news): Fix RC7 announcement link (#2363)

Fix RC7 announcement link

* docs(devguide): fix invalid JavaScript syntax in hero-form.component.js example (#2343)

Fix Unmatched '{' JavaScript syntax error in hero-form.component.js example

* docs(toh): fix spelling of ActivateRoute to ActivatedRoute (#2400)

* fixed spelling of ActivateRoute to ActivatedRoute

* dont do cache

* docs(testing): fix small typo (#2401)

* docs(webpack): remove unused ts-loader (#2361)

angular/angular.io@69ae63c changed `public/docs/_examples/webpack/ts/config/webpack.common.js` and `public/docs/_examples/webpack/ts/config/webpack.test.js` and replaced `ts` with `awesome-typescript-loader`. So we can remove `"ts-loader": "^0.8.1",` from the `public/docs/_examples/webpack/ts/package.webpack.json`.

* docs(webpack): move to core-js in testing (#2404)

* docs(forms): remove deprecated forms notice for js (#2395)

* docs(devguide): add missing app.module.js source in Basics > Forms (#2342)

Add missing app.module.js source example in Basics > Forms dev guide
- File is missing for JavaScript, but present for TypeScript

* docs: fix {ts,dart,js}/latest/_data.json (#2387)

* docs: fix {ts,dart,js}/latest/_data.json

Fixes #2384.
Fixes #2385.

* post-review updates

Addressing #2407.

* docs(tutorial): don't use shredder for intro page (#2388)

An initial multilang cleanup for ng2.io

* about(shannon): add shannon's bio

* docs(testing): more scenarios (#2396)

* docs: use Jade include rather than Harp partial (#2392)

No net effect on the generated docs.
Preparatory work for ng2.io.

* docs(lang/latest): parameterize landing page Jade by language (#2389)

ng2.io preparatory work.

* docs(ts-to-js): change angular2 to @angular (#2403)

* chore: rename Angular 2 to simply Angular (#2402)

* docs(overview): update to new organization (#2405)

* chore: more "angular2" to "angular" cleanup (#2417)

* docs(tutorial): fix broken link (#2420)

Fixes #2419

* docs(cookbook): don't use shredder on intro page (#2418)

Also added missing cookbook AoT chapter placeholders for JS and Dart,
fixing 404s mentioned in #2389.

* docs(testing): explain rationale for stubbed routerLink tests (#2422)

* docs(animations): update copy (#2379)

* docs(animations): update copy

* boost transparency of sidenav

* chore: fix zone.js for plunkers (#2421)

* docs(upgrade): temporary fix broken regions (#2424)

* Fix up styles after sync

* Some more cleanup

* docs(toh-6): remove BrowserClient provider comment (#2431)

Fixes #2347

* docs(user-input): misc fixes (#2430)

- Remove nonexistent `<important>` “element” since it causes problems
for ng2.io. This is probably a typo. It was more likely meant to be an
anchor name than an element name.
- Fix two PENDING links.

* only apply transparency changes on mobile

* docs(testing): import test module and override component providers (#2428)

* docs(browser-support): add Safari 10 (#2433)

* Update visual-studio-2015.jade (#2416)

* Update visual-studio-2015.jade

In Step 7 (Build and Run App), there needs to be instruction to set index.html as start page, so that when Run button or F5 is pressed to run the application, browser shows index.html

* Update visual-studio-2015.jade

* docs(quickstart): Change Npm to npm (#2398)

* docs(typescript): Fix name of typings config file (#2378)

I believe name of the typings config file is typings.json, not typings.config.

* docs(testing): explain DebugElement.triggerEventHandler (#2438)

* docs(vs2015): remove duplicated word (#2441)

* docs(vs2015): fix typo (#2440)

* docs(testing): use marked Jade filter (#2444)

When the testing page is rendered the following warning is generated:
```
Transformers.markdown is deprecated, you must replace the :markdown
jade filter, with :marked and install jstransformer-marked before you
update to jade@2.0.0.
```

* Align footer text left on desktop

* docs(testing): from Igor Minar feedback (Part 1) (#2450)

* Use solid color and transition to red color on hover

* docs(Displaying Data): copy edits (#2435)

* chore: ability to add unit test boilerplate (#2462)

* docs(lifecycle-hooks): make it easier to get to call sequence (#2465)

Per Ben Lesh suggestion. Also converts away from "we"

* docs(js/guide): don't use shredder & _data.json fixes (#2467)

replay Patrice's PR #2448

* docs(lifecycle-hooks): combine what and when in one chart; add img (#2469)

* Change banner height to min-height

* docs(testing): incorporate Igor Minar feedback, Part 2 (#2453)

docs(testing): incorporate Igor Minar feedback, Part 2

* docs(testing): change createInstance to createComponent (#2475)

* chore: update samples to "angular-in-memory-web-api" (#2472)

chore: update samples to "angular-in-memory-web-api"

* chore(package.json): update many package versions (#2476)

* chore: convert templateUrls to use moduleId where possible. (#2477)

* Fix broken link to DatePipe docs (#2452)

Fixes issue #2451

* docs(toh): Replaced window.history with location service (#2439)

* docs(architecture): remove reference to directives in component metadata (#2481)

* docs(style-guide): remove rc relics and update for ngmodules (#2463)

* fix(guide/form): fix a typo (#2483)

* docs(upgrade): update to latest release + tweaks (#2460)

* fix(gulp): fix build and run task defaults (#2484)

* docs(style-guide): Fix a couple typos
closes #2489

* chore: update package.json files to latest pkg versions. Use ~ for Ng. (#2490)

closes #2488

* * docs(toh-6): update 'let' to 'const' for delete hero (#2355)

Since the update function does use const url instead of let url,
this seemed like a good consistency to have between similar blocks of code.

* docs(toh-6): update 'let' to 'const' for delete hero

* docs(dart): upgrade to beta.22 (#2494)

* update to beta.22
* Dart SDK 1.19.0 or later is required
* minor edits to sample app titles to e2e tests pass
  * Renamed “Angular 2” to “Angular” so that shared e2e tests pass.
* Tweak to QS prose.

* docs(i18n): add internationalization (i18n) guide (#2491)

* docs(i18n): add internationalization (i18n) guide

* docs(cb-i18n): revamped to System.import the translation file

* chore(i18n): correct name of i18n extract command (#2511)

* Fixed minor typos in testing (#2515)

Fixed minor typos in testing

* docs(testing): fix link (#2514)

Fixed link

* docs(testing): delete extra 'with' (#2513)

Deleted extra 'with'

* docs(style-guide): add missing word in bootstrapping remark (#2512)

* docs(style-guide): example of underscore prefix to avoid. (#2501)

* fix(guide/form): fix a broken link (#2498)

* docs(rc4-to-rc5): change cleanup
closes #2516

* docs(i18n): incorporate corrections and feedback from Victor Berchet (#2517)

See PR #2491

* chore(i18n): fix broken plunker link (#2519)

* chore: fix broken links on 9/30, mostly API links (#2520)

* chore(deps): fix prh version
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants