question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[CONTRIBUTING] Document starting the documentation sooner

See original GitHub issue

I’m struggling to figure out how to get a dev instance of MUI running on my local machine.

Context: It all started from this question I asked on StackOverflow.

So far I’ve run the yarn start from the documentation site, which does run the site… but when, for example I try to add a new sub section under pages > customisation > variants (this is new) . Hitting the url alway results in a 404.

  • [x ] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

My issue is 2 fold, I’d like to actually solve the issue below. (I’m happy to do the work myself, except I’m not sure how to get a dev MUI project running and all the pieces working together)

I’d want to get a proof of concept working where I can have a component use a custom variant & palette. like this. The problem, custom palette values seem to be ignored when using a custom variant too

<Button variant="MyCompaniesVariant" color="focus" />
<Button variant="MyCompaniesVariant" color="muted" size="large" />

https://codesandbox.io/s/globalthemevariants-material-demo-forked-qxjb3?file=/eleMuiGlobals/variant-extensions.ts

Motivation 🔦

I’m trying to get a small enhancement into a local copy of MUI to see how / if this would be possible.

Question

I looked through the MUI code base, but I’m either a little blind, or stupid / both 😛 But I’m not able to figure out the dev workflow. What do I need to do to “get up and running”.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
rohan-buchnercommented, Nov 30, 2020

@mnajdova I got it! Thank you! (Still a little new to some of the more advanced MUI usages) But that but that updated sandbox you’ve created helped tremendously. Thank you so much.

1reaction
oliviertassinaricommented, Nov 30, 2020

It seems that the different concerns were addressed, (this issue bundle a lot of different topics). I have renamed it to focus on one actionable item: how to start the documentation as one of the first steps: https://github.com/mui-org/material-ui/issues/23757#issuecomment-735400685.

@hmaddisb we try to keep pull requests focusing on a single problem at a time. In this case, It’s probably best to have two different pull requests as they can land independently.

Read more comments on GitHub >

github_iconTop Results From Across the Web

elasticsearch/CONTRIBUTING.md at main - GitHub
Contributing code and documentation changes. If you would like to contribute a new feature or a bug fix to Elasticsearch, please discuss your...
Read more >
Microsoft Learn documentation contributor guide overview
The guide describes how you can contribute to technical documentation on Microsoft Learn.
Read more >
Documentation contributions - Mattermost Handbook
1. If you've started using specific Mattermost features, one way you can contribute is to review the docs on a given feature. Are...
Read more >
Contributing to GitLab documentation - YouTube
A tutorial on how everyone can contribute to GitLab documentation.Part 1 (00:00 - 08:02): Introduction/why you want to contribute to GitLab ...
Read more >
Contribute to Transformers - Hugging Face
You can also preview the docs on GitHub when you open a pull request. Once you're happy with your changes, add changed files...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found