Skip to content

Commit

Permalink
[refs #3] Add requirement flag
Browse files Browse the repository at this point in the history
Showing the user what partial is required, what is recommended
and what is ‘just’ optional in the docs would be useful when
deciding of which partial to include and which not.
  • Loading branch information
Dennis Heibült committed Feb 22, 2018
1 parent 85596f5 commit 80cccd9
Show file tree
Hide file tree
Showing 30 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions _docs/elements/headings.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_elements.headings.scss"
requirement: optional
---

{% include file-info.html %}
Expand Down
1 change: 1 addition & 0 deletions _docs/elements/images.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_elements.images.scss"
requirement: optional
---

{% include file-info.html %}
Expand Down
1 change: 1 addition & 0 deletions _docs/elements/page.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_elements.page.scss"
requirement: recommended
---

{% include file-info.html %}
Expand Down
1 change: 1 addition & 0 deletions _docs/elements/tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_elements.tables.scss"
requirement: optional
---

{% include file-info.html %}
Expand Down
1 change: 1 addition & 0 deletions _docs/generic/box-sizing.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_generic.box-sizing.scss"
requirement: required
---

{% include file-info.html %}
Expand Down
1 change: 1 addition & 0 deletions _docs/generic/normalize.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_generic.normalize.scss"
requirement: recommended
---

{% include file-info.html %}
Expand Down
1 change: 1 addition & 0 deletions _docs/generic/reset.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_generic.reset.scss"
requirement: recommended
---

{% include file-info.html %}
Expand Down
1 change: 1 addition & 0 deletions _docs/generic/shared.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_generic.shared.scss"
requirement: recommended
---

{% include file-info.html %}
Expand Down
1 change: 1 addition & 0 deletions _docs/objects/block.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_objects.block.scss"
requirement: optional
demo: "block"
classes: [
"o-block",
Expand Down
1 change: 1 addition & 0 deletions _docs/objects/box.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_objects.box.scss"
requirement: optional
demo: "box"
classes: [
"o-box",
Expand Down
1 change: 1 addition & 0 deletions _docs/objects/crop.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_objects.crop.scss"
requirement: optional
demo: "crop"
classes: [
"o-crop",
Expand Down
1 change: 1 addition & 0 deletions _docs/objects/flag.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_objects.flag.scss"
requirement: optional
demo: "flag"
classes: [
"o-flag",
Expand Down
1 change: 1 addition & 0 deletions _docs/objects/layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_objects.layout.scss"
requirement: optional
demo: "layout"
classes: [
"o-layout",
Expand Down
1 change: 1 addition & 0 deletions _docs/objects/list-bare.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_objects.list-bare.scss"
requirement: optional
demo: "list-bare"
classes: [
"o-list-bare"
Expand Down
1 change: 1 addition & 0 deletions _docs/objects/list-inline.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_objects.list-inline.scss"
requirement: optional
demo: "list-inline"
classes: [
"o-list-inline",
Expand Down
1 change: 1 addition & 0 deletions _docs/objects/media.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_objects.media.scss"
requirement: optional
demo: "media"
classes: [
"o-media",
Expand Down
1 change: 1 addition & 0 deletions _docs/objects/pack.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_objects.pack.scss"
requirement: optional
demo: "pack"
classes: [
"o-pack",
Expand Down
1 change: 1 addition & 0 deletions _docs/objects/ratio.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_objects.ratio.scss"
requirement: optional
demo: "ratio"
classes: [
"o-ratio",
Expand Down
1 change: 1 addition & 0 deletions _docs/objects/tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_objects.tables.scss"
requirement: optional
demo: "tables"
classes: [
"o-table",
Expand Down
1 change: 1 addition & 0 deletions _docs/objects/wrapper.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_objects.wrapper.scss"
requirement: optional
demo: "wrapper"
classes: [
"o-wrapper",
Expand Down
1 change: 1 addition & 0 deletions _docs/settings/core.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ has-sub-content: true
sub-content: docs
filename: "_settings.core.scss"
permalink: /docs/settings/core/
requirement: required
---

{% include file-info.html %}
Expand Down
1 change: 1 addition & 0 deletions _docs/tools/clearfix.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_tools.clearfix.scss"
requirement: required
---

{% include file-info.html %}
Expand Down
1 change: 1 addition & 0 deletions _docs/tools/font-size.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_tools.font-size.scss"
requirement: required
---

{% include file-info.html %}
Expand Down
1 change: 1 addition & 0 deletions _docs/tools/hidden.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_tools.hidden.scss"
requirement: required
---

{% include file-info.html %}
Expand Down
1 change: 1 addition & 0 deletions _docs/utilities/clearfix.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_utilities.clearfix.scss"
requirement: optional
demo: "clearfix"
---

Expand Down
1 change: 1 addition & 0 deletions _docs/utilities/headings.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_utilities.headings.scss"
requirement: optional
demo: "headings"
---

Expand Down
1 change: 1 addition & 0 deletions _docs/utilities/hide.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_utilities.hide.scss"
requirement: optional
demo: "hide"
---

Expand Down
1 change: 1 addition & 0 deletions _docs/utilities/print.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_utilities.print.scss"
requirement: optional
---

{% include file-info.html %}
1 change: 1 addition & 0 deletions _docs/utilities/spacing.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_utilities.spacing.scss"
requirement: optional
demo: "spacing"
---

Expand Down
1 change: 1 addition & 0 deletions _docs/utilities/widths.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ page-class: c-page--docs
has-sub-content: true
sub-content: docs
filename: "_utilities.widths.scss"
requirement: optional
demo: "widths"
---

Expand Down

0 comments on commit 80cccd9

Please sign in to comment.