mkdocs-carbon 1.0.0__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mkdocs-carbon/__init__.py +0 -0
- mkdocs-carbon/base.html +92 -0
- mkdocs-carbon/breadcrumbs.html +52 -0
- mkdocs-carbon/css/theme.css +241 -0
- mkdocs-carbon/js/theme.js +9 -0
- mkdocs-carbon/main.html +1 -0
- mkdocs-carbon/mkdocs_theme.yml +5 -0
- mkdocs-carbon/nav.html +14 -0
- mkdocs-carbon/search.html +20 -0
- mkdocs_carbon-1.0.0.dist-info/METADATA +41 -0
- mkdocs_carbon-1.0.0.dist-info/RECORD +13 -0
- mkdocs_carbon-1.0.0.dist-info/WHEEL +5 -0
- mkdocs_carbon-1.0.0.dist-info/entry_points.txt +2 -0
|
File without changes
|
mkdocs-carbon/base.html
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
7
|
+
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ config.site_name }}</title>
|
|
8
|
+
<link rel="shortcut icon" href="{{ 'img/favicon.ico' | url }}">
|
|
9
|
+
|
|
10
|
+
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/pure-min.css">
|
|
11
|
+
<link rel="stylesheet" href="{{ 'css/theme.css' | url }}">
|
|
12
|
+
{% for path in config.extra_css %}
|
|
13
|
+
<link href="{{ path | url }}" rel="stylesheet">
|
|
14
|
+
{% endfor %}
|
|
15
|
+
|
|
16
|
+
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha256-3edrmyuQ0w65f8gfBsqowzjJe2iM6n0nKciPUp8y+7E=" crossorigin="anonymous"></script>
|
|
17
|
+
|
|
18
|
+
<script src="{{ 'js/theme.js' | url }}"></script>
|
|
19
|
+
|
|
20
|
+
{% block extrahead %}
|
|
21
|
+
{% endblock %}
|
|
22
|
+
|
|
23
|
+
{% for script in config.extra_javascript %}
|
|
24
|
+
{{ script | script_tag }}
|
|
25
|
+
{% endfor %}
|
|
26
|
+
|
|
27
|
+
<!-- Carbon Design System -->
|
|
28
|
+
<!--
|
|
29
|
+
https://github.com/carbon-design-system/carbon-for-ibm-dotcom/blob/main/packages/web-components/docs/carbon-cdn-style-helpers.md#carbon-theme-zoning-classes
|
|
30
|
+
-->
|
|
31
|
+
<link rel="stylesheet" href="https://1.www.s81c.com/common/carbon/plex/mono.css" />
|
|
32
|
+
<link rel="stylesheet" href="https://1.www.s81c.com/common/carbon/plex/sans.css" />
|
|
33
|
+
|
|
34
|
+
<!-- The following includes Carbon grid (using flex grid) and all corresponding grid classes -->
|
|
35
|
+
<link rel="stylesheet" href="https://1.www.s81c.com/common/carbon/web-components/version/v2.15.0/grid.css" />
|
|
36
|
+
<!-- The following includes Carbon grid (using CSS grid) and all corresponding grid classes -->
|
|
37
|
+
<link rel="stylesheet" href="https://1.www.s81c.com/common/carbon/web-components/version/v2.15.0/cssgrid.css" />
|
|
38
|
+
|
|
39
|
+
<!-- The following includes classes for creating Carbon theme zones (white, g10, g90, g100).
|
|
40
|
+
Note that these classes take advantage of using CSS Custom Properties enabled in Carbon -->
|
|
41
|
+
<link rel="stylesheet" href="https://1.www.s81c.com/common/carbon/web-components/tag/latest/themes.css" />
|
|
42
|
+
|
|
43
|
+
<!--
|
|
44
|
+
This stylesheet is horrible!
|
|
45
|
+
<link rel="stylesheet" href="https://1.www.s81c.com/common/carbon-for-ibm-dotcom/tag/v1/latest/plex.css"/>
|
|
46
|
+
-->
|
|
47
|
+
|
|
48
|
+
<script type="module" src="https://1.www.s81c.com/common/carbon/web-components/version/v2.15.0/ui-shell.min.js"></script>
|
|
49
|
+
<script type="module" src="https://1.www.s81c.com/common/carbon/web-components/version/v2.15.0/code-snippet.min.js"></script>
|
|
50
|
+
<script type="module" src="https://1.www.s81c.com/common/carbon/web-components/version/v2.15.0/dropdown.min.js"></script>
|
|
51
|
+
<script type="module" src="https://1.www.s81c.com/common/carbon/web-components/version/v2.15.0/breadcrumb.min.js"></script>
|
|
52
|
+
<script type="module" src="https://1.www.s81c.com/common/carbon/web-components/version/v2.15.0/overflow-menu.min.js"></script>
|
|
53
|
+
<script type="module" src="https://1.www.s81c.com/common/carbon/web-components/version/v2.15.0/select.min.js"></script>
|
|
54
|
+
<script type="module" src="https://1.www.s81c.com/common/carbon/web-components/version/v2.15.0/tabs.min.js"></script>
|
|
55
|
+
|
|
56
|
+
<!-- Code formatting support -->
|
|
57
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/github.min.css">
|
|
58
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
|
|
59
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/languages/yaml.min.js"></script>
|
|
60
|
+
<script>hljs.highlightAll();</script>
|
|
61
|
+
|
|
62
|
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
|
|
63
|
+
|
|
64
|
+
</head>
|
|
65
|
+
|
|
66
|
+
<body>
|
|
67
|
+
<cds-header aria-label="{{ config.site_name }}" class="cds-theme-zone-g100">
|
|
68
|
+
<cds-header-menu-button button-label-active="Close menu" button-label-inactive="Open menu"></cds-header-menu-button>
|
|
69
|
+
<cds-header-name href="{{ base_url }}" prefix="{{ config.theme.prefix }}">{{ config.site_name }}</cds-header-name>
|
|
70
|
+
</cds-header>
|
|
71
|
+
<cds-side-nav aria-label="Side navigation" class="cds-theme-zone-g10" expanded>
|
|
72
|
+
<cds-side-nav-items>
|
|
73
|
+
{% for nav_item in nav %}
|
|
74
|
+
{% include "nav.html" %}
|
|
75
|
+
{% endfor %}
|
|
76
|
+
</cds-side-nav-items>
|
|
77
|
+
</cds-side-nav>
|
|
78
|
+
|
|
79
|
+
<div id="breadcrumbs" class="rst-content">
|
|
80
|
+
{%- include "breadcrumbs.html" %}
|
|
81
|
+
</div>
|
|
82
|
+
|
|
83
|
+
<div id="main-content" class="rst-content">
|
|
84
|
+
{% block content %}
|
|
85
|
+
{{ page.content }}
|
|
86
|
+
{% endblock %}
|
|
87
|
+
</div>
|
|
88
|
+
<!-- <div id="footer" class="rst-content">
|
|
89
|
+
Built with mkdocs v{{ mkdocs_version}} ({{ build_date_utc }})
|
|
90
|
+
</div> -->
|
|
91
|
+
</body>
|
|
92
|
+
</html>
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<cds-breadcrumb no-trailing-slash>
|
|
2
|
+
<cds-breadcrumb-item>
|
|
3
|
+
<cds-breadcrumb-link href="{{ nav.homepage.url | url }}">Home</cds-breadcrumb-link>
|
|
4
|
+
</cds-breadcrumb-item>
|
|
5
|
+
|
|
6
|
+
{%- if page %}
|
|
7
|
+
{%- for doc in page.ancestors[::-1] %}
|
|
8
|
+
{%- if doc.url %}
|
|
9
|
+
<cds-breadcrumb-item>
|
|
10
|
+
<cds-breadcrumb-link href="{{ doc.url|url }}">{{ doc.title }}</cds-breadcrumb-link>
|
|
11
|
+
</cds-breadcrumb-item>
|
|
12
|
+
{%- else %}
|
|
13
|
+
<cds-breadcrumb-item>{{ doc.title }}</cds-breadcrumb-item>
|
|
14
|
+
{%- endif %}
|
|
15
|
+
{%- endfor %}
|
|
16
|
+
|
|
17
|
+
{%- if "extra_breadcrumb_title_1" in page.meta %}
|
|
18
|
+
<cds-breadcrumb-item>
|
|
19
|
+
{%- if "extra_breadcrumb_url_1" in page.meta %}
|
|
20
|
+
<cds-breadcrumb-link href="{{ page.meta.extra_breadcrumb_url_1 }}">{{ page.meta.extra_breadcrumb_title_1 }}</cds-breadcrumb-link>
|
|
21
|
+
{%- else %}
|
|
22
|
+
{{ page.meta.extra_breadcrumb_title_1 }}
|
|
23
|
+
{%- endif %}
|
|
24
|
+
</cds-breadcrumb-item>
|
|
25
|
+
{%- endif %}
|
|
26
|
+
|
|
27
|
+
{%- if "extra_breadcrumb_title_2" in page.meta %}
|
|
28
|
+
<cds-breadcrumb-item>
|
|
29
|
+
{%- if "extra_breadcrumb_url_2" in page.meta %}
|
|
30
|
+
<cds-breadcrumb-link href="{{ page.meta.extra_breadcrumb_url_2 }}">{{ page.meta.extra_breadcrumb_title_2 }}</cds-breadcrumb-link>
|
|
31
|
+
{%- else %}
|
|
32
|
+
{{ page.meta.extra_breadcrumb_title_2 }}
|
|
33
|
+
{%- endif %}
|
|
34
|
+
</cds-breadcrumb-item>
|
|
35
|
+
{%- endif %}
|
|
36
|
+
|
|
37
|
+
<cds-breadcrumb-item aria-current="page">
|
|
38
|
+
<cds-breadcrumb-link href="{{ page.toc | first | attr('url') }}">{{ page.toc | first | attr("title") }}</cds-breadcrumb-link>
|
|
39
|
+
</cds-breadcrumb-item>
|
|
40
|
+
|
|
41
|
+
{%- endif %}
|
|
42
|
+
|
|
43
|
+
<cds-breadcrumb-item>
|
|
44
|
+
<cds-select id="breadcrumbs-toc" class="cds-theme-zone-g10" inline placeholder="..." oninput="changeAnchor(this.value)">
|
|
45
|
+
{% set h1 = page.toc | first %}
|
|
46
|
+
{% for toc_item in h1.children %}
|
|
47
|
+
<cds-select-item value="{{ toc_item.url }}">{{ toc_item.title }}</cds-select-item>
|
|
48
|
+
{% endfor %}
|
|
49
|
+
</cds-select>
|
|
50
|
+
</cds-breadcrumb-item>
|
|
51
|
+
|
|
52
|
+
</cds-breadcrumb>
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
/* Useful guides ...
|
|
2
|
+
* https://github.com/carbon-design-system/carbon-for-ibm-dotcom/blob/main/packages/web-components/docs/carbon-cdn-style-helpers.md#carbon-theme-zoning-classes
|
|
3
|
+
* https://github.com/carbon-design-system/carbon-for-ibm-dotcom/blob/main/packages/web-components/docs/carbon-cdn-style-helpers.md#plex-fonts-and-carbon-reset
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
:root {
|
|
7
|
+
--link-color: #78a9ff;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
body {
|
|
11
|
+
font-family: IBM Plex Sans Light,Tahoma,sans-serif;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.rst-content pre code, p code {
|
|
15
|
+
font-family: IBM Plex Mono Light,Tahoma,sans-serif;
|
|
16
|
+
font-size:90%;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.rst-content img {
|
|
20
|
+
display: block;
|
|
21
|
+
margin: 0 auto;
|
|
22
|
+
max-width: min(900px, 80%);
|
|
23
|
+
height: auto;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
a.headerlink {
|
|
28
|
+
margin-left: 0.25em;
|
|
29
|
+
text-decoration: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
h1, h2, h3, h4 {
|
|
33
|
+
scroll-margin-top: 100px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
a:visited {
|
|
37
|
+
color: var(--link-color);
|
|
38
|
+
}
|
|
39
|
+
a:link {
|
|
40
|
+
color: var(--link-color);
|
|
41
|
+
}
|
|
42
|
+
a:active {
|
|
43
|
+
color: var(--link-color);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
blockquote {
|
|
48
|
+
position: relative;
|
|
49
|
+
margin-left: 1em;
|
|
50
|
+
margin-right: 1em;
|
|
51
|
+
padding-left: 1em;
|
|
52
|
+
padding-top: 5px;
|
|
53
|
+
padding-bottom: 5px;
|
|
54
|
+
border-left: 0.2em solid #039be5;
|
|
55
|
+
background-color: #c9edff;
|
|
56
|
+
font-weight: 100;
|
|
57
|
+
line-height: 1.5em;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/* blockquote {
|
|
61
|
+
position: relative;
|
|
62
|
+
text-align: center;
|
|
63
|
+
padding: 1rem 1.2rem;
|
|
64
|
+
width: fit-content;
|
|
65
|
+
color: #484748;
|
|
66
|
+
margin: 1rem auto 2rem;
|
|
67
|
+
|
|
68
|
+
background:
|
|
69
|
+
linear-gradient(to right, #039be5 4px, transparent 4px) 0 100%,
|
|
70
|
+
linear-gradient(to left, #039be5 4px, transparent 4px) 100% 0,
|
|
71
|
+
linear-gradient(to bottom, #039be5 4px, transparent 4px) 100% 0,
|
|
72
|
+
linear-gradient(to top, #039be5 4px, transparent 4px) 0 100%;
|
|
73
|
+
background-repeat: no-repeat;
|
|
74
|
+
background-size: 20px 20px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
blockquote:before, blockquote:after{
|
|
78
|
+
font-family: FontAwesome;
|
|
79
|
+
position: absolute;
|
|
80
|
+
color: #039be5;
|
|
81
|
+
font-size: 34px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
blockquote:before{
|
|
85
|
+
content: "\f10d";
|
|
86
|
+
top: -12px;
|
|
87
|
+
margin-right: -20px;
|
|
88
|
+
right: 100%;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
blockquote:after{
|
|
92
|
+
content: "\f10e";
|
|
93
|
+
margin-left: -20px;
|
|
94
|
+
left: 100%;
|
|
95
|
+
top: auto;
|
|
96
|
+
bottom: -20px;
|
|
97
|
+
} */
|
|
98
|
+
|
|
99
|
+
/* blockquote.style1 {
|
|
100
|
+
font: 14px/20px italic Times, serif;
|
|
101
|
+
padding: 8px;
|
|
102
|
+
background-color: #faebbc;
|
|
103
|
+
border-top: 1px solid #e1cc89;
|
|
104
|
+
border-bottom: 1px solid #e1cc89;
|
|
105
|
+
margin: 5px;
|
|
106
|
+
background-image: url(images/openquote1.gif);
|
|
107
|
+
background-position: top left;
|
|
108
|
+
background-repeat: no-repeat;
|
|
109
|
+
text-indent: 23px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
blockquote.style1 span {
|
|
113
|
+
display: block;
|
|
114
|
+
background-image: url(images/closequote1.gif);
|
|
115
|
+
background-repeat: no-repeat;
|
|
116
|
+
background-position: bottom right;
|
|
117
|
+
} */
|
|
118
|
+
|
|
119
|
+
cds-header {
|
|
120
|
+
z-index: 10000;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
@media (max-width: 66rem) {
|
|
124
|
+
div#breadcrumbs {
|
|
125
|
+
display: none;
|
|
126
|
+
}
|
|
127
|
+
div#main-content {
|
|
128
|
+
margin-left: 1em !important;
|
|
129
|
+
padding-top: 50px !important;
|
|
130
|
+
}
|
|
131
|
+
h1, h2, h3, h4 {
|
|
132
|
+
scroll-margin-top: 50px;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
div#breadcrumbs {
|
|
137
|
+
margin-left: 18em;
|
|
138
|
+
padding: 3.5em 2em 0 0;
|
|
139
|
+
position: fixed;
|
|
140
|
+
background-color: #fff;
|
|
141
|
+
width: calc(100% - 20em);
|
|
142
|
+
border-bottom: 1px solid #333;
|
|
143
|
+
z-index: 8000;
|
|
144
|
+
}
|
|
145
|
+
div#main-content {
|
|
146
|
+
margin-left: 18em;
|
|
147
|
+
padding-top: 5em;
|
|
148
|
+
padding-right: 1em;
|
|
149
|
+
z-index: 7000;
|
|
150
|
+
}
|
|
151
|
+
div.tab-panel {
|
|
152
|
+
margin: 1em 0;
|
|
153
|
+
}
|
|
154
|
+
div#footer {
|
|
155
|
+
padding-top: 1em;
|
|
156
|
+
padding-left: 20em;
|
|
157
|
+
padding-right: 1em;
|
|
158
|
+
text-align: right;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
.rst-content p code {
|
|
163
|
+
color: #000;
|
|
164
|
+
background: #f8f8f8;
|
|
165
|
+
border: 1px solid #e1e4e5;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.rst-content pre code {
|
|
169
|
+
color: #000;
|
|
170
|
+
background: #f8f8f8;
|
|
171
|
+
border: 1px solid #e1e4e5;
|
|
172
|
+
margin: 0 auto;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.rst-content .admonition,.rst-content .admonition-todo,.rst-content .attention,.rst-content .caution,.rst-content .danger,.rst-content .error,.rst-content .hint,.rst-content .important,.rst-content .note,.rst-content .seealso,.rst-content .tip,.rst-content .warning,.wy-alert {
|
|
176
|
+
padding: 12px;
|
|
177
|
+
line-height: 24px;
|
|
178
|
+
margin-bottom: 24px;
|
|
179
|
+
background: #e7f2fa;
|
|
180
|
+
|
|
181
|
+
margin: 0 auto;
|
|
182
|
+
max-width: 90%;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.rst-content .admonition-title,.wy-alert-title {
|
|
186
|
+
font-weight: 700;
|
|
187
|
+
display: block;
|
|
188
|
+
color: #fff;
|
|
189
|
+
background: #6ab0de;
|
|
190
|
+
padding: 6px 12px;
|
|
191
|
+
margin: -12px -12px 12px
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.rst-content .danger,.rst-content .error,.rst-content .wy-alert-danger.admonition,.rst-content .wy-alert-danger.admonition-todo,.rst-content .wy-alert-danger.attention,.rst-content .wy-alert-danger.caution,.rst-content .wy-alert-danger.hint,.rst-content .wy-alert-danger.important,.rst-content .wy-alert-danger.note,.rst-content .wy-alert-danger.seealso,.rst-content .wy-alert-danger.tip,.rst-content .wy-alert-danger.warning,.wy-alert.wy-alert-danger {
|
|
195
|
+
background: #fdf3f2
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.rst-content .danger .admonition-title,.rst-content .danger .wy-alert-title,.rst-content .error .admonition-title,.rst-content .error .wy-alert-title,.rst-content .wy-alert-danger.admonition-todo .admonition-title,.rst-content .wy-alert-danger.admonition-todo .wy-alert-title,.rst-content .wy-alert-danger.admonition .admonition-title,.rst-content .wy-alert-danger.admonition .wy-alert-title,.rst-content .wy-alert-danger.attention .admonition-title,.rst-content .wy-alert-danger.attention .wy-alert-title,.rst-content .wy-alert-danger.caution .admonition-title,.rst-content .wy-alert-danger.caution .wy-alert-title,.rst-content .wy-alert-danger.hint .admonition-title,.rst-content .wy-alert-danger.hint .wy-alert-title,.rst-content .wy-alert-danger.important .admonition-title,.rst-content .wy-alert-danger.important .wy-alert-title,.rst-content .wy-alert-danger.note .admonition-title,.rst-content .wy-alert-danger.note .wy-alert-title,.rst-content .wy-alert-danger.seealso .admonition-title,.rst-content .wy-alert-danger.seealso .wy-alert-title,.rst-content .wy-alert-danger.tip .admonition-title,.rst-content .wy-alert-danger.tip .wy-alert-title,.rst-content .wy-alert-danger.warning .admonition-title,.rst-content .wy-alert-danger.warning .wy-alert-title,.rst-content .wy-alert.wy-alert-danger .admonition-title,.wy-alert.wy-alert-danger .rst-content .admonition-title,.wy-alert.wy-alert-danger .wy-alert-title {
|
|
199
|
+
background: #f29f97
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.rst-content .admonition-todo,.rst-content .attention,.rst-content .caution,.rst-content .warning,.rst-content .wy-alert-warning.admonition,.rst-content .wy-alert-warning.danger,.rst-content .wy-alert-warning.error,.rst-content .wy-alert-warning.hint,.rst-content .wy-alert-warning.important,.rst-content .wy-alert-warning.note,.rst-content .wy-alert-warning.seealso,.rst-content .wy-alert-warning.tip,.wy-alert.wy-alert-warning {
|
|
203
|
+
background: #ffedcc
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.rst-content .admonition-todo .admonition-title,.rst-content .admonition-todo .wy-alert-title,.rst-content .attention .admonition-title,.rst-content .attention .wy-alert-title,.rst-content .caution .admonition-title,.rst-content .caution .wy-alert-title,.rst-content .warning .admonition-title,.rst-content .warning .wy-alert-title,.rst-content .wy-alert-warning.admonition .admonition-title,.rst-content .wy-alert-warning.admonition .wy-alert-title,.rst-content .wy-alert-warning.danger .admonition-title,.rst-content .wy-alert-warning.danger .wy-alert-title,.rst-content .wy-alert-warning.error .admonition-title,.rst-content .wy-alert-warning.error .wy-alert-title,.rst-content .wy-alert-warning.hint .admonition-title,.rst-content .wy-alert-warning.hint .wy-alert-title,.rst-content .wy-alert-warning.important .admonition-title,.rst-content .wy-alert-warning.important .wy-alert-title,.rst-content .wy-alert-warning.note .admonition-title,.rst-content .wy-alert-warning.note .wy-alert-title,.rst-content .wy-alert-warning.seealso .admonition-title,.rst-content .wy-alert-warning.seealso .wy-alert-title,.rst-content .wy-alert-warning.tip .admonition-title,.rst-content .wy-alert-warning.tip .wy-alert-title,.rst-content .wy-alert.wy-alert-warning .admonition-title,.wy-alert.wy-alert-warning .rst-content .admonition-title,.wy-alert.wy-alert-warning .wy-alert-title {
|
|
207
|
+
background: #f0b37e
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.rst-content .note,.rst-content .seealso,.rst-content .wy-alert-info.admonition,.rst-content .wy-alert-info.admonition-todo,.rst-content .wy-alert-info.attention,.rst-content .wy-alert-info.caution,.rst-content .wy-alert-info.danger,.rst-content .wy-alert-info.error,.rst-content .wy-alert-info.hint,.rst-content .wy-alert-info.important,.rst-content .wy-alert-info.tip,.rst-content .wy-alert-info.warning,.wy-alert.wy-alert-info {
|
|
211
|
+
background: #e7f2fa
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.rst-content .note .admonition-title,.rst-content .note .wy-alert-title,.rst-content .seealso .admonition-title,.rst-content .seealso .wy-alert-title,.rst-content .wy-alert-info.admonition-todo .admonition-title,.rst-content .wy-alert-info.admonition-todo .wy-alert-title,.rst-content .wy-alert-info.admonition .admonition-title,.rst-content .wy-alert-info.admonition .wy-alert-title,.rst-content .wy-alert-info.attention .admonition-title,.rst-content .wy-alert-info.attention .wy-alert-title,.rst-content .wy-alert-info.caution .admonition-title,.rst-content .wy-alert-info.caution .wy-alert-title,.rst-content .wy-alert-info.danger .admonition-title,.rst-content .wy-alert-info.danger .wy-alert-title,.rst-content .wy-alert-info.error .admonition-title,.rst-content .wy-alert-info.error .wy-alert-title,.rst-content .wy-alert-info.hint .admonition-title,.rst-content .wy-alert-info.hint .wy-alert-title,.rst-content .wy-alert-info.important .admonition-title,.rst-content .wy-alert-info.important .wy-alert-title,.rst-content .wy-alert-info.tip .admonition-title,.rst-content .wy-alert-info.tip .wy-alert-title,.rst-content .wy-alert-info.warning .admonition-title,.rst-content .wy-alert-info.warning .wy-alert-title,.rst-content .wy-alert.wy-alert-info .admonition-title,.wy-alert.wy-alert-info .rst-content .admonition-title,.wy-alert.wy-alert-info .wy-alert-title {
|
|
215
|
+
background: #6ab0de
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.rst-content .hint,.rst-content .important,.rst-content .tip,.rst-content .wy-alert-success.admonition,.rst-content .wy-alert-success.admonition-todo,.rst-content .wy-alert-success.attention,.rst-content .wy-alert-success.caution,.rst-content .wy-alert-success.danger,.rst-content .wy-alert-success.error,.rst-content .wy-alert-success.note,.rst-content .wy-alert-success.seealso,.rst-content .wy-alert-success.warning,.wy-alert.wy-alert-success {
|
|
219
|
+
background: #dbfaf4
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.rst-content .hint .admonition-title,.rst-content .hint .wy-alert-title,.rst-content .important .admonition-title,.rst-content .important .wy-alert-title,.rst-content .tip .admonition-title,.rst-content .tip .wy-alert-title,.rst-content .wy-alert-success.admonition-todo .admonition-title,.rst-content .wy-alert-success.admonition-todo .wy-alert-title,.rst-content .wy-alert-success.admonition .admonition-title,.rst-content .wy-alert-success.admonition .wy-alert-title,.rst-content .wy-alert-success.attention .admonition-title,.rst-content .wy-alert-success.attention .wy-alert-title,.rst-content .wy-alert-success.caution .admonition-title,.rst-content .wy-alert-success.caution .wy-alert-title,.rst-content .wy-alert-success.danger .admonition-title,.rst-content .wy-alert-success.danger .wy-alert-title,.rst-content .wy-alert-success.error .admonition-title,.rst-content .wy-alert-success.error .wy-alert-title,.rst-content .wy-alert-success.note .admonition-title,.rst-content .wy-alert-success.note .wy-alert-title,.rst-content .wy-alert-success.seealso .admonition-title,.rst-content .wy-alert-success.seealso .wy-alert-title,.rst-content .wy-alert-success.warning .admonition-title,.rst-content .wy-alert-success.warning .wy-alert-title,.rst-content .wy-alert.wy-alert-success .admonition-title,.wy-alert.wy-alert-success .rst-content .admonition-title,.wy-alert.wy-alert-success .wy-alert-title {
|
|
223
|
+
background: #1abc9c
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.rst-content .wy-alert-neutral.admonition,.rst-content .wy-alert-neutral.admonition-todo,.rst-content .wy-alert-neutral.attention,.rst-content .wy-alert-neutral.caution,.rst-content .wy-alert-neutral.danger,.rst-content .wy-alert-neutral.error,.rst-content .wy-alert-neutral.hint,.rst-content .wy-alert-neutral.important,.rst-content .wy-alert-neutral.note,.rst-content .wy-alert-neutral.seealso,.rst-content .wy-alert-neutral.tip,.rst-content .wy-alert-neutral.warning,.wy-alert.wy-alert-neutral {
|
|
227
|
+
background: #f3f6f6
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.rst-content .wy-alert-neutral.admonition-todo .admonition-title,.rst-content .wy-alert-neutral.admonition-todo .wy-alert-title,.rst-content .wy-alert-neutral.admonition .admonition-title,.rst-content .wy-alert-neutral.admonition .wy-alert-title,.rst-content .wy-alert-neutral.attention .admonition-title,.rst-content .wy-alert-neutral.attention .wy-alert-title,.rst-content .wy-alert-neutral.caution .admonition-title,.rst-content .wy-alert-neutral.caution .wy-alert-title,.rst-content .wy-alert-neutral.danger .admonition-title,.rst-content .wy-alert-neutral.danger .wy-alert-title,.rst-content .wy-alert-neutral.error .admonition-title,.rst-content .wy-alert-neutral.error .wy-alert-title,.rst-content .wy-alert-neutral.hint .admonition-title,.rst-content .wy-alert-neutral.hint .wy-alert-title,.rst-content .wy-alert-neutral.important .admonition-title,.rst-content .wy-alert-neutral.important .wy-alert-title,.rst-content .wy-alert-neutral.note .admonition-title,.rst-content .wy-alert-neutral.note .wy-alert-title,.rst-content .wy-alert-neutral.seealso .admonition-title,.rst-content .wy-alert-neutral.seealso .wy-alert-title,.rst-content .wy-alert-neutral.tip .admonition-title,.rst-content .wy-alert-neutral.tip .wy-alert-title,.rst-content .wy-alert-neutral.warning .admonition-title,.rst-content .wy-alert-neutral.warning .wy-alert-title,.rst-content .wy-alert.wy-alert-neutral .admonition-title,.wy-alert.wy-alert-neutral .rst-content .admonition-title,.wy-alert.wy-alert-neutral .wy-alert-title {
|
|
231
|
+
color: #404040;
|
|
232
|
+
background: #e1e4e5
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.rst-content .wy-alert-neutral.admonition-todo a,.rst-content .wy-alert-neutral.admonition a,.rst-content .wy-alert-neutral.attention a,.rst-content .wy-alert-neutral.caution a,.rst-content .wy-alert-neutral.danger a,.rst-content .wy-alert-neutral.error a,.rst-content .wy-alert-neutral.hint a,.rst-content .wy-alert-neutral.important a,.rst-content .wy-alert-neutral.note a,.rst-content .wy-alert-neutral.seealso a,.rst-content .wy-alert-neutral.tip a,.rst-content .wy-alert-neutral.warning a,.wy-alert.wy-alert-neutral a {
|
|
236
|
+
color: #2980b9
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.rst-content .admonition-todo p:last-child,.rst-content .admonition p:last-child,.rst-content .attention p:last-child,.rst-content .caution p:last-child,.rst-content .danger p:last-child,.rst-content .error p:last-child,.rst-content .hint p:last-child,.rst-content .important p:last-child,.rst-content .note p:last-child,.rst-content .seealso p:last-child,.rst-content .tip p:last-child,.rst-content .warning p:last-child,.wy-alert p:last-child {
|
|
240
|
+
margin-bottom: 0
|
|
241
|
+
}
|
mkdocs-carbon/main.html
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{% extends "base.html" %}
|
mkdocs-carbon/nav.html
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
|
|
3
|
+
-->
|
|
4
|
+
{% if not nav_item.children %}
|
|
5
|
+
<cds-side-nav-menu-item href="{{ nav_item.url | url }}" {% if nav_item.active or nav_item.title == page.meta.nav_title %}expanded{% endif %}>
|
|
6
|
+
{{ nav_item.title }}
|
|
7
|
+
</cds-side-nav-menu-item>
|
|
8
|
+
{% else %}
|
|
9
|
+
<cds-side-nav-menu title="{{ nav_item.title }}" {% if nav_item.active or nav_item.title == page.meta.nav_title %}expanded{% endif %}>
|
|
10
|
+
{% for nav_item in nav_item.children %}
|
|
11
|
+
{% include "nav.html" %}
|
|
12
|
+
{% endfor %}
|
|
13
|
+
</cds-side-nav-menu>
|
|
14
|
+
{% endif %}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{% extends "base.html" %}
|
|
2
|
+
|
|
3
|
+
{% block extrahead %}
|
|
4
|
+
<script>var base_url = '{{ base_url }}';</script>
|
|
5
|
+
{% endblock %}
|
|
6
|
+
|
|
7
|
+
{% block content %}
|
|
8
|
+
|
|
9
|
+
<h1 id="search">Search Results</h1>
|
|
10
|
+
|
|
11
|
+
<form id="content_search" action="search.html">
|
|
12
|
+
<span role="status" aria-live="polite" class="ui-helper-hidden-accessible"></span>
|
|
13
|
+
<input name="q" id="mkdocs-search-query" type="text" class="search_input search-query ui-autocomplete-input" placeholder="Search the Docs" autocomplete="off">
|
|
14
|
+
</form>
|
|
15
|
+
|
|
16
|
+
<div id="mkdocs-search-results">
|
|
17
|
+
Sorry, page not found.
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
{% endblock %}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: mkdocs-carbon
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Carbon theme for MkDocs
|
|
5
|
+
Project-URL: Source, https://github.com/durera/mkdocs-carbon
|
|
6
|
+
Author-email: David Parker <durera@gmail.com>
|
|
7
|
+
License-Expression: EPL-2.0
|
|
8
|
+
Classifier: Development Status :: 4 - Beta
|
|
9
|
+
Classifier: Environment :: Web Environment
|
|
10
|
+
Classifier: Framework :: MkDocs
|
|
11
|
+
Classifier: Intended Audience :: Information Technology
|
|
12
|
+
Classifier: License :: OSI Approved :: Eclipse Public License 2.0 (EPL-2.0)
|
|
13
|
+
Classifier: Operating System :: OS Independent
|
|
14
|
+
Classifier: Topic :: Documentation
|
|
15
|
+
Requires-Dist: mkdocs>=1.5
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
|
|
18
|
+
mkdocs-carbon
|
|
19
|
+
===============================================================================
|
|
20
|
+
Carbon Design System theme for mkdocs
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
Useful Information
|
|
24
|
+
-------------------------------------------------------------------------------
|
|
25
|
+
|
|
26
|
+
### MkDocs Theme Development
|
|
27
|
+
- https://www.mkdocs.org/dev-guide/themes/
|
|
28
|
+
- https://mkdocs.readthedocs.io/en/stable/dev-guide/themes/#creating-a-custom-theme
|
|
29
|
+
- https://mkdocstrings.github.io/autorefs/#usage
|
|
30
|
+
- https://github.com/mkdocs/mkdocs-basic-theme/blob/master/basic_theme/base.html
|
|
31
|
+
- https://github.com/mkdocs/theme-readthedocs/blob/main/readthedocs/404.html
|
|
32
|
+
- https://github.com/mkdocs/mkdocs/wiki/MkDocs-Themes
|
|
33
|
+
|
|
34
|
+
### Carbon
|
|
35
|
+
- https://web-components.carbondesignsystem.com/?path=/docs/introduction-welcome--overview
|
|
36
|
+
- https://github.com/carbon-design-system/carbon
|
|
37
|
+
- https://carbondesignsystem.com/components/overflow-menu/usage/
|
|
38
|
+
- https://fonts.google.com/specimen/IBM+Plex+Sans/glyphs
|
|
39
|
+
|
|
40
|
+
### CSS
|
|
41
|
+
- https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
mkdocs-carbon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
mkdocs-carbon/base.html,sha256=D8YkV7IrpXbwnaQg5C5L1bUNIKo0_R9vwSKQad32jqc,4687
|
|
3
|
+
mkdocs-carbon/breadcrumbs.html,sha256=bfhZmjNSfPpQMRvsYzWH8bkmQpOagyzyJ9fyO6PB0O0,1872
|
|
4
|
+
mkdocs-carbon/main.html,sha256=vG6HvZZk7LgHc_SDAADfTAdRR5zyCzlFH8_o_lGmlJI,25
|
|
5
|
+
mkdocs-carbon/mkdocs_theme.yml,sha256=IWyaQZB0n6yS5j67vQYdhOKVTKI0eiyd5_5JvM1UGWE,174
|
|
6
|
+
mkdocs-carbon/nav.html,sha256=1TAWPRm0Sfqvb2f9SsNAz2b3U6aJOroU4TOqZGHkWR8,512
|
|
7
|
+
mkdocs-carbon/search.html,sha256=Gt2XJRfbRaY7XU3MORO27rXE6dZNq4_TD2pf6hFfv9I,575
|
|
8
|
+
mkdocs-carbon/css/theme.css,sha256=zJBwmt9S9_dtZu275OM-n6YCK83r7mq39-hM5esX-UY,14818
|
|
9
|
+
mkdocs-carbon/js/theme.js,sha256=7VjLTtEO1WqP9enSI2qYwx4Y4-5msz-8UOZD30hzRhc,216
|
|
10
|
+
mkdocs_carbon-1.0.0.dist-info/METADATA,sha256=7J_2GV4Fos2vsClfWjtZk0jn1bOGvO89o-8JAyCgKcQ,1638
|
|
11
|
+
mkdocs_carbon-1.0.0.dist-info/WHEEL,sha256=fl6v0VwpzfGBVsGtkAkhILUlJxROXbA3HvRL6Fe3140,105
|
|
12
|
+
mkdocs_carbon-1.0.0.dist-info/entry_points.txt,sha256=209F2uqtNBNrkNWNChOrBXy9a1gS5XglEljJr6wFh0A,44
|
|
13
|
+
mkdocs_carbon-1.0.0.dist-info/RECORD,,
|