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] Fix the docs for production class generation #31933

Merged
merged 3 commits into from Jun 22, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/data/styles/advanced/advanced-pt.md
Expand Up @@ -444,7 +444,7 @@ const className = `${sheetName}-${ruleName}-${identifier}`;
const productionPrefix = 'jss';
const identifier = 123;

const className = `${productionPrefix}-${identifier}`;
const className = `${productionPrefix}${identifier}`;
Copy link
Member

Choose a reason for hiding this comment

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

Note that we are not manually changing the translation files, please revert the changes to the advanced-pt.md and the advanced-zh.md files.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍

Done.

```

Quando as seguintes condições são atendidas, os nomes das classes são **determinísticos**:
Expand Down
2 changes: 1 addition & 1 deletion docs/data/styles/advanced/advanced-zh.md
Expand Up @@ -448,7 +448,7 @@ const useStyles = makeStyles({
> const productionPrefix = 'jss';
> const identifier = 123;
>
> const className = `${productionPrefix}-${identifier}`;
> const className = `${productionPrefix}${identifier}`;
> ```
>
> 当满足以下条件时,类名是 **确定的**:
Expand Down
2 changes: 1 addition & 1 deletion docs/data/styles/advanced/advanced.md
Expand Up @@ -447,7 +447,7 @@ const className = `${sheetName}-${ruleName}-${identifier}`;
const productionPrefix = 'jss';
const identifier = 123;

const className = `${productionPrefix}-${identifier}`;
const className = `${productionPrefix}${identifier}`;
```

However, when the following conditions are met, the class names are **deterministic**:
Expand Down