Skip to content
This repository was archived by the owner on Sep 16, 2022. It is now read-only.

Resolve how to document complex metadata (like @ViewChildren) #1477

Closed
matanlurey opened this issue Jul 9, 2018 · 3 comments
Closed

Resolve how to document complex metadata (like @ViewChildren) #1477

matanlurey opened this issue Jul 9, 2018 · 3 comments

Comments

@matanlurey
Copy link
Contributor

It was brought up several internal and external requests that the current documentation was not useful (it contained out-of-date examples; also tracked here: #1267 and #996) and didn't document all of the features and caveats of the annotation.

I addressed the latter issue here #1462, but @alorenzen correctly brought up that this is very much a stop-gap, we should figure out how to update our documentation at HEAD and/or be consistent in use of markdown files, or something like it (#942).

@alorenzen
Copy link
Contributor

So I think there are two issues here.

The first issue is that the examples themselves were out of date. That could be solved by using the tools proposed in #1395 to automatically inline real examples into docs.

The second issue is that the dartdoc itself is too long in this case. I think we probably need an article (markdown file in our docs/ folder) specifically for ViewChildren/ContentChildren. There are a lot of nuance there that needs to be addressed, and dartdoc is not necessarily the place. Having the dartdoc link to the larger article is probably necessary for discovery purposes.

@matanlurey
Copy link
Contributor Author

matanlurey commented Jul 9, 2018

I agree. Lets keep this open until we have a resolution to #1395 and figure out where to put our larger articles and/or how we will keep them updated. I still think we should get that larger PR in versus not.

@matanlurey
Copy link
Contributor Author

Using live snippets.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants