Repository navigation
Description
Description
When the guide content of angular.io is analyzed by the documentation lint tool, ~3/4 of the topic files in the guide directory contain lint errors that should be corrected as soon as practical.
Removing the lint errors from the documentation helps improve the documentation's readability by correcting the current content. After the documentation topics are free of linting errors, we can incorporate documentation linting into the CI/CD process to maintain clean documentation content going forward.
Note that PRs for fixes related to this issue do not need to include every topic with a lint error. PRs for individual or several files are preferred.
How to help
- Review Contributing to Angular
- Install the documentation linter on your local development system and IDE
- Make sure you can build the angular.io site on your development system
- Find and fix a topic (repeat as often as you'd like)
- Open a topic from angular/angular/aio/content/guide
- Review the commit message format to use when committing your changes
- Review and correct the problems identified by the documentation linter
- Save and commit your updated topic.
- Submit a PR with your revisions
What is the affected URL?
many
Please provide the steps to reproduce the issue
With the documentation linter installed in an IDE, open a guide topic and notice the problems that the linter identifies.
Please provide the expected behavior vs the actual behavior you encountered
The documentation source code should not have any documentation linter errors, and ideally, it should not have any problems at all.
Please provide a screenshot if possible
N/A
Please provide the exception or error you saw
N/A
Is this a browser-specific issue? If so, please specify the device, browser, and version.
Not browser specific.
Activity
PabloG6 commentedon Aug 19, 2022
Is anyone working on this right now? Would love to give it a shot.
jessicajaniuk commentedon Aug 19, 2022
@PabloG6 Please do! Thank you!
bilelfeki commentedon Aug 21, 2022
Hello, I am working on this issue, I am trying to build the angular.io on my development system.
I found an Error while running this command yarn docs-watch.
Cannot find module 'C:/Users/bilel/Desktop/angular/angular-1/aio/content/cli-src/node_modules/@angular/cli/package.json'Any help? Thanks!
gkalpak commentedon Aug 22, 2022
@bilelfeki, have you run
yarn setup(inside theaio/directory) first?bilelfeki commentedon Aug 22, 2022
@gkalpak, I am grateful for your support.
Yes, I run yarn setup and yarn start.
I received the message compiled successfully but
yarn docs-watch throw the ERROR.
Maybe the problem is related to my yarn version.
When I run ng v, this is what I get :
Angular CLI: 14.0.5
Node: 16.16.0
Package Manager: yarn 1.22.17
Could you tell me about the version that you are using? Thanks.
gkalpak commentedon Aug 22, 2022
@bilelfeki, the versions look fine.
The error looks strange if
yarn setupcompleted successfully. Is there anaio/content/cli-src/node_modules/directory? Does it contain an@angular/cli/directory?It might be worth trying clearing the yarn cache first (with
yarn cache clean) and then runningyarn setupagain.bilelfeki commentedon Aug 22, 2022
@gkalpak it was my mistake.
And The error looks really strange because I am using nvm(node version manager) and then my cmd should run as an administrator so what I did is I run yarn setup as an admin but yarn docs-watch as a simple user.
Thanks a lot for your help, you give me the opportunity to stick to the problem and resolve it.
3 remaining items
docs: fix linter errors for accessibility page (angular#47327)
docs: fix linter errors for angular-compiler-options.md page (#47179) (…
docs: fix linter errors for angular-compiler-options.md page (#47179) (…
thisloke commentedon Nov 15, 2022
Hello folks!
I'm facing the same issues in more places inside the docs, and sometimes i don't really know how to solve it:
I will define this problem as LCSDQI (List of Comma Separated Double Quote Items) to reference faster
I'm trying to figure out one solution:
Commas and periods go inside quotation marks. UI text should be bold and data entered by a user should be monospace.Vale[Angular.Google_Quotes](https://developers.google.com/style/quotation-marks)handling this case
"when we need to highlight some word. (We're using backtick ` for code keywords, we can use another one for these).Any suggestion? What you will do in this case?
Thanks
harshsingla-devops commentedon Dec 24, 2022
I would like to contribute to this one as well.
pjpscriv commentedon Jan 30, 2023
@lokenxo re: the LCSDQI I reckon the simplest solution would be to add an
Angular.Google_Quotesexception:It strikes me as a rule that's pretty prone to exceptions. Even within the Google Style Guide immediately after it's defined it calls out exceptions for keywords or string literals: https://developers.google.com/style/quotation-marks

One other possible solution could be to remove the rule entirely for the Angular Docs? Maybe it's the case that in this context the rule gives more false errors than legitimate errors.
KAWALMEET-SINGH commentedon Mar 9, 2023
i want to work on this issue please assign me ?
masterboxer commentedon Sep 24, 2023
Would like to work on this! I am starting now.
twerske commentedon Sep 25, 2023
We will be changing the linter in an upcoming version, in preparation for this change I'm closing this issue - for interested contributors, thank you for all your interest and hard work! We'll have a blog post on Angular.io's blog in early November about how to continue docs contributions!
angular-automatic-lock-bot commentedon Oct 26, 2023
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.