-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Monorepo README updates #235
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one pedantic comment but otherwise looks great!
README.md
Outdated
| ## Usage | ||
|
|
||
| The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this. | ||
| The source files included are written in [Sass][sass] (SCSS). You can point your sass `include-path` at your project's `node_modules` directory and import it like this: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hate myself for this comment but we should capitalize Sass in You can point your sass
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
| ## Usage | ||
|
|
||
| The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this. | ||
| The source files included are written in [Sass][sass] (SCSS). You can point your Sass `include-path` at your project's `node_modules` directory and import it like this: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll have this provided already with the website-starter repo, but others might not know what include-path is. Can we give context on this for Jekyll, or link to an example?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call. Can we link to a URL about Sass include paths more generally?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ``` | ||
|
|
||
| You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._ | ||
| You can import individual Primer modules by installing them each with npm, for instance: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
installing them with instead of installing them each with?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can fix that one the new release pr.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed here: 59fea15
I made some updates to the README for the monorepo. If it all looks good, this should be merged into
monobefore merging #230. Here's what's changed:shlanguage identifier to each of the shell examples.scss)" with "(SCSS)" after the Sass link./lib/with instructions for installing individual modules (e.g.primer-navigation) and an example of linking to submodules in thepackagesdirectory of this repo for users who are still figuring out which modules they need.