diff --git a/.circleci/config.yml b/.circleci/config.yml index 4cb1b1a1d52884..36c364d56b1c62 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -299,12 +299,6 @@ jobs: command: | pnpm docs:link-check git add -A && git diff --exit-code --staged - - run: - name: Update the templates shared themes - command: pnpm template:update-theme - - run: - name: '`pnpm template:update-theme` changes committed?' - command: git add -A && git diff --exit-code --staged test_types: <<: *default-job resource_class: 'medium+' diff --git a/docs/data/material/getting-started/faq/faq.md b/docs/data/material/getting-started/faq/faq.md index ccbdc6ebd8ff96..56999db60af9a7 100644 --- a/docs/data/material/getting-started/faq/faq.md +++ b/docs/data/material/getting-started/faq/faq.md @@ -261,6 +261,81 @@ return ( If you are getting the error: `TypeError: Cannot convert a Symbol value to a string`, take a look at the [styled()](/system/styled/#how-to-use-components-selector-api) docs page for instructions on how you can fix this. +## How can I contribute to the free templates? + +The templates are built using a [shared theme](https://github.com/mui/material-ui/tree/v6.0.2/docs/data/material/getting-started/templates/shared-theme). Below are the structure to create a new template: + +### Template page + +Create a new page in the `docs/pages/material-ui/getting-started/templates/.js` directory with the following code: + +```js +import * as React from 'react'; +import AppTheme from 'docs/src/modules/components/AppTheme'; +import TemplateFrame from 'docs/src/modules/components/TemplateFrame'; +import Template from 'docs/data/material/getting-started/templates//