Skip to content

Commit 5906c33

Browse files
author
Ryan A. Johnson
committed
docs(reorg): no need for Styleguide categorization
1 parent 44f2d89 commit 5906c33

File tree

5 files changed

+9
-34
lines changed

5 files changed

+9
-34
lines changed

docs/_data/nav.json5

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,6 @@
77
]
88
},
99

10-
{
11-
label: 'Styleguide',
12-
path: 'styleguide',
13-
children: [
14-
//{ label: 'Colors', path: 'colors' },
15-
{ label: 'Iconography', path: 'iconography' },
16-
{ label: 'Typography', path: 'typography' },
17-
]
18-
},
19-
2010
/*
2111
{
2212
label: 'Asset Stability',
@@ -33,7 +23,9 @@
3323
{ label: 'Breadcrumbs', path: 'breadcrumbs' },
3424
{ label: 'Buttons', path: 'buttons' },
3525
{ label: 'Checkboxes', path: 'checkboxes' },
26+
//{ label: 'Colors', path: 'colors' },
3627
{ label: 'Grid', path: 'grid' },
28+
{ label: 'Icons', path: 'icons' },
3729
{
3830
label: 'Layouts',
3931
path: 'layouts',
@@ -54,6 +46,7 @@
5446
{ label: 'Tabs', path: 'tabs' },
5547
{ label: 'Text Inputs', path: 'text-inputs' },
5648
{ label: 'Tooltips', path: 'tooltips' },
49+
{ label: 'Typography', path: 'typography' },
5750
],
5851
},
5952

docs/_templates/styleguide.njk

Lines changed: 0 additions & 18 deletions
This file was deleted.

docs/styleguide/iconography/index.html renamed to docs/components/icons/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: Iconography
2+
title: Icons
33
also:
44
elements/hx-icon: <hx-icon>
55
---
6-
{% extends 'styleguide.njk' %}
6+
{% extends 'component.njk' %}
77
{% block content %}
88
<section>
99
<h2 class="hxSectionTitle" id="demo">Demo</h2>

docs/styleguide/typography/index.html renamed to docs/components/typography/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Typography
33
---
4-
{% extends 'styleguide.njk' %}
4+
{% extends 'component.njk' %}
55
{% block content %}
66
<section><!-- Font -->
77
<h2 class="hxSectionTitle" id="font-weight">Font Weight</h2>

docs/elements/hx-icon/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: <hx-icon>
33
also:
4-
styleguide/iconography: Iconography
4+
components/icons: Icons
55
---
66
{% extends 'element.njk' %}
77
{% block content %}
@@ -28,8 +28,8 @@
2828
<dl>
2929
<dt>type</dt>
3030
<dd>
31-
Changes the displayed icon to one of the
32-
<a href="styleguide/iconography/#available-icons">available icons</a>
31+
Changes the displayed icon to one of the
32+
<a href="components/icons/#available-icons">available icons</a>
3333
</dd>
3434
</dl>
3535
{% endblock %}

0 commit comments

Comments
 (0)