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] Polish to match standard #4344

Merged
merged 3 commits into from
Nov 1, 2024

Conversation

@oliviertassinari oliviertassinari added the docs Improvements or additions to the documentation label Nov 1, 2024
@@ -94,14 +94,14 @@ Now you can start your Toolpad Studio application using one of the commands:
npm run toolpad-studio:dev
```

```bash yarn
Copy link
Member Author

Choose a reason for hiding this comment

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

Iterate on mui/mui-public#181.


<p class="description">Learn how to install Toolpad Core in your local environment.</p>
Copy link
Member Author

Choose a reason for hiding this comment

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

Wrong position

</codeblock>

The Toolpad Core package has a peer dependency on `@mui/material` and `@mui/icons-material`. If you aren't using these already in your project, you can install them with:

<codeblock storageKey="package-manager">

```bash npm
npm install -S @mui/material @mui/icons-material @emotion/react @emotion/styled
Copy link
Member Author

@oliviertassinari oliviertassinari Nov 1, 2024

Choose a reason for hiding this comment

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

Remove the -S. Isn't this the default https://docs.npmjs.com/cli/v10/commands/npm-install#save?

Comment on lines -7 to +9
## Manual Installation
<p class="description">Learn how to install Toolpad Core in your local environment.</p>

## Manual installation
Copy link
Member Author

Choose a reason for hiding this comment

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

Sentence case

Copy link
Member

Choose a reason for hiding this comment

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

Can we make vale catch these?

Copy link
Member Author

@oliviertassinari oliviertassinari Nov 1, 2024

Choose a reason for hiding this comment

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

We could use https://vale.sh/docs/topics/styles/#capitalization. But two challenges:

@oliviertassinari oliviertassinari merged commit 0d61784 into mui:master Nov 1, 2024
14 checks passed
@oliviertassinari oliviertassinari deleted the fix-docs-install branch November 1, 2024 20:51
## Dynamic Routes
## Dynamic routes
Copy link
Member Author

Choose a reason for hiding this comment

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

@bharatkashyap Similar to #4306, I fixed a couple more to match https://www.notion.so/mui-org/Writing-style-guide-2a957a4168a54d47b14bae026d06a24b.

cc @samuelsycamore we are progressively getting to match the style guide everywhere 😄

@@ -4,6 +4,6 @@ title: Toolpad Studio docs - Home

# Toolpad Studio

<p class="description">Toolpad Studio docs</p>
<p class="description">Toolpad Studio docs.</p>
Copy link
Member Author

Choose a reason for hiding this comment

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

We can enforce this in docs-infra: mui/material-ui#44292.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants