Skip to content
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

[docs-infra] Add vale for style-guide lint on docs #3178

Merged
merged 17 commits into from
Feb 22, 2024

Conversation

bharatkashyap
Copy link
Member

@bharatkashyap bharatkashyap added the scope: docs-infra Specific to the docs-infra product label Feb 8, 2024
.gitignore Outdated Show resolved Hide resolved
Copy link
Member

@Janpot Janpot left a comment

Choose a reason for hiding this comment

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

Few small comments. How can we share configs between projects?

@bharatkashyap
Copy link
Member Author

Few small comments. How can we share configs between projects?

We could probably define a common, custom GitHub action that runs with our intended configuration?

@Janpot
Copy link
Member

Janpot commented Feb 20, 2024

@bharatkashyap Could this help us?

@alexfauquette
Copy link
Member

alexfauquette commented Feb 20, 2024

@bharatkashyap Could mui/material-ui#41176 help us?

We will have to add the client/server side rules. But otherwise I think yes it would be better to copy what will be in mui/mui-x#12132 such that @samuelsycamore can update rules at one place to enforce every repo to use it (or at least be aware of them)

.gitignore Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
Copy link
Member

@Janpot Janpot left a comment

Choose a reason for hiding this comment

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

Love this

.vale.ini Outdated Show resolved Hide resolved
.vale.ini Outdated Show resolved Hide resolved
.vale.ini Outdated Show resolved Hide resolved
.vale.ini Outdated Show resolved Hide resolved
.vale.ini Outdated Show resolved Hide resolved
.vale.ini Outdated Show resolved Hide resolved
.vale.ini Outdated Show resolved Hide resolved
bharatkashyap and others added 5 commits February 22, 2024 02:52
Co-authored-by: Jan Potoms <[email protected]>
Signed-off-by: Bharat Kashyap <[email protected]>
Co-authored-by: Jan Potoms <[email protected]>
Signed-off-by: Bharat Kashyap <[email protected]>
Co-authored-by: Sam Sycamore <[email protected]>
Signed-off-by: Bharat Kashyap <[email protected]>
Co-authored-by: Sam Sycamore <[email protected]>
Signed-off-by: Bharat Kashyap <[email protected]>
Co-authored-by: Sam Sycamore <[email protected]>
Signed-off-by: Bharat Kashyap <[email protected]>
bharatkashyap and others added 5 commits February 22, 2024 02:53
Co-authored-by: Sam Sycamore <[email protected]>
Signed-off-by: Bharat Kashyap <[email protected]>
Co-authored-by: Sam Sycamore <[email protected]>
Signed-off-by: Bharat Kashyap <[email protected]>
Co-authored-by: Sam Sycamore <[email protected]>
Signed-off-by: Bharat Kashyap <[email protected]>
Co-authored-by: Sam Sycamore <[email protected]>
Signed-off-by: Bharat Kashyap <[email protected]>
@bharatkashyap bharatkashyap merged commit ee9eef5 into mui:master Feb 22, 2024
12 checks passed
# 2. Update/create YAML files
# 3. Run `pnpm docs:zipRules` to generate the zip files
# 4. You can test locally by replacing the url with the file path of the generated zip
Packages = Google, https://github.com/mui/material-ui/raw/master/docs/writing-rules.zip
Copy link
Member

Choose a reason for hiding this comment

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

We have no guarantees that master is the active branch:

Suggested change
Packages = Google, https://github.com/mui/material-ui/raw/master/docs/writing-rules.zip
Packages = Google, https://github.com/mui/material-ui/raw/HEAD/docs/writing-rules.zip

handled in #3293.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: docs-infra Specific to the docs-infra product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[docs-infra] Setup up vale to enforce style guide rules
5 participants