-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plan for hosting linter documentation post repo-move #4460
Comments
In the short term, before we update and introduce split diagnostic and discovery docs, or whatever that will entail, my plan is loosely as follows:
|
At least in the short term, the generated document that remains useful for dart.dev, |
This PR is meant to finalize work to make dart.dev a satisfactory replacement for [`dart-lang.github.io/linter/`](https://dart-lang.github.io/linter/) while `dart-lang/linter` moves to the SDK and we work on consolidating and improving documentation (#4498). It does this by (staged links after colon (`:`)): - Updating the information on dart.dev/lints for the latest state of the linter: [/lints](https://dart-dev--pr4999-feature-linter-indiv-zetj76b0.web.app/tools/linter-rules) - Making dart.dev/lints an index page rather than including all information: [/lints](https://dart-dev--pr4999-feature-linter-indiv-zetj76b0.web.app/tools/linter-rules) - Moving the long-form lint rule documentation to individual pages found at `dart.dev/lints/<rule>`: [/lints/avoid_dynamic_calls](https://dart-dev--pr4999-feature-linter-indiv-zetj76b0.web.app/lints/avoid_dynamic_calls) - It does this by using a Jekyll page generator based on `linter_rules.json`. - Adding a textual reference pointing to the recently released all linter rules page (38973de) found at: [/lints/all](https://dart-dev--pr4999-feature-linter-indiv-zetj76b0.web.app/lints/all) - Updating and links and references for these previous changes (mostly Effective Dart). Contributes to dart-lang/linter#4460, #4498, #4499 **Note:** This is an intermediate step and doesn't aim to improve the formatting or style of the information on the index or individual pages. That will be part of follow-up work as we work on improvements to the diagnostic linter rule documentation.
Removes the remaining links to the old linter site, to the guaranteed dart.dev/lints redirect. Contributes to dart-lang/linter#4460 and dart-lang/site-www#4499
@parlough: are we basically done here? Anything else we need to be tracking? |
I think this issue can be closed :) Edit: If there any internal links to the old site, might want to update those. I also have https://dart-review.googlesource.com/c/sdk/+/311880 open still. |
Yay! Thanks for all of your help! |
Bug: dart-lang/linter#4460 and dart-lang/site-www#4499 Change-Id: Ieb90512aac4e476b922765c6ee191085a2ad2c9b CoreLibraryReviewExempt: Only updates a link in documentation comments. Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/311880 Commit-Queue: Phil Quitslund <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]> Reviewed-by: Phil Quitslund <[email protected]>
This PR is meant to finalize work to make dart.dev a satisfactory replacement for [`dart-lang.github.io/linter/`](https://dart-lang.github.io/linter/) while `dart-lang/linter` moves to the SDK and we work on consolidating and improving documentation (dart-lang#4498). It does this by (staged links after colon (`:`)): - Updating the information on dart.dev/lints for the latest state of the linter: [/lints](https://dart-dev--pr4999-feature-linter-indiv-zetj76b0.web.app/tools/linter-rules) - Making dart.dev/lints an index page rather than including all information: [/lints](https://dart-dev--pr4999-feature-linter-indiv-zetj76b0.web.app/tools/linter-rules) - Moving the long-form lint rule documentation to individual pages found at `dart.dev/lints/<rule>`: [/lints/avoid_dynamic_calls](https://dart-dev--pr4999-feature-linter-indiv-zetj76b0.web.app/lints/avoid_dynamic_calls) - It does this by using a Jekyll page generator based on `linter_rules.json`. - Adding a textual reference pointing to the recently released all linter rules page (dart-lang@38973de) found at: [/lints/all](https://dart-dev--pr4999-feature-linter-indiv-zetj76b0.web.app/lints/all) - Updating and links and references for these previous changes (mostly Effective Dart). Contributes to dart-lang/linter#4460, dart-lang#4498, dart-lang#4499 **Note:** This is an intermediate step and doesn't aim to improve the formatting or style of the information on the index or individual pages. That will be part of follow-up work as we work on improvements to the diagnostic linter rule documentation.
@parlough: would you mind spitballing some of your ideas for post-repo move doc-hosting?
The text was updated successfully, but these errors were encountered: