You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/css/getting-started/contributing.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ Let the [design systems team](https://github.com/github/design-systems) know if
76
76
77
77
- Documentation for Primer CSS modules should live in the corresponding `.md` file for that module in the `/pages/css` folder.
78
78
79
-
-There are separate folders in `/pages/css` for component, object, support, and utilities docs, as well as separate folders for more general documentation such as principles and tooling.
79
+
-There are separate folders in `/pages/css` for component, object, support, and utilities docs, as well as separate folders for more general documentation such as principles and tooling.
80
80
81
81
- Each folder corresponds to a new url such as `primer.style/css/utilities`.
82
82
@@ -117,8 +117,8 @@ Typically the file will look something like this:
117
117
Which consists of three parts:
118
118
119
119
1.**YML frontmatter**_(optional)_, similar to jekyll’s frontmatter, this is used to generate the sidebar and title components.
120
-
2.**Docs section**_(required)_, This is the section between the YML and the first `````html`
121
-
3.**The example section**_(optional)_, This section is denoted by ````html` and will render into an example used in the page. This can contain rails helpers also eg. `<%= octicons 'fire' %>`
120
+
2.**Docs section**_(required)_, This is the section between the YML and the first ````html`
121
+
3.**The example section**_(optional)_, This section is denoted by ````html` and will render into an example used in the page. This can contain rails helpers also eg. `<%= octicons 'fire' %>`
122
122
123
123
The options you have for the frontmatter are outlined below:
124
124
@@ -173,11 +173,11 @@ In pages published on [primer.style/css](https://primer.style/css), a table of c
173
173
174
174
When using code blocks for demo purposes, you can choose to render each of the blocks differently by specifying the layout in the info string. For example if you want to use `toggle` as the layout for a code block:
0 commit comments