astashov / dartdocs.org

Generates the Dart documentation for all the packages in pub
BSD 3-Clause "New" or "Revised" License
12 stars 6 forks source link

Host angular2 API docs once again. #44

Open chalin opened 7 years ago

chalin commented 7 years ago

In follow-up to https://github.com/astashov/dartdocs.org/issues/43#issuecomment-296762554, reverse https://github.com/astashov/dartdocs.org/issues/30.

We can do this now because (1) we are using @source rather than @example directives, and (2) links to docs and examples are absolute rather than relative.

The canonical URL, will remain https://webdev.dartlang.org/angular/api, which will host Angular docs, but only the latest.

cc @kwalrath @kevmoo

kwalrath commented 7 years ago

Maybe this will happen automatically now that the package is angular, no longer angular2?

chalin commented 7 years ago

I would believe so, right @astashov? Btw, angular 4.0.0-alpha is out; should we see the docs appear soon?

astashov commented 7 years ago

Yeah, probabliy. It failed to generate, is it on pub? https://www.dartdocs.org/documentation/angular/4.0.0-alpha/log.txt

chalin commented 7 years ago

Yes, it is on pub. E.g.,

quickstart > pub upgrade
Resolving dependencies... (5.1s)
+ analyzer 0.30.0+2
+ angular 4.0.0-alpha
+ angular_compiler 0.1.1
+ angular_test 1.0.0-beta+4
...