Skip to content

Commit 028fc4a

Browse files
authored
Add MNIST example (#1)
* example * add example fix * add to docs
1 parent 031ecba commit 028fc4a

File tree

5 files changed

+652
-0
lines changed

5 files changed

+652
-0
lines changed

docs/_overrides/bluesky.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{% import "partials/language.html" as lang with context %}
2+
<a href="{{ config.repo_url }}" title="{{ lang.t('source.link.title') }}" class="md-source" data-md-component="source">
3+
<div class="md-source__icon md-icon">
4+
{% set icon = config.theme.icon.repo or "fontawesome/brands/git-alt" %}
5+
{% include ".icons/" ~ icon ~ ".svg" %}
6+
</div>
7+
<div class="md-source__repository">
8+
{{ config.repo_name }}
9+
</div>
10+
</a>
11+
<a href="{{ config.theme.bluesky_url }}" title="Go to Bluesky" class="md-source">
12+
<div class="md-source__icon md-icon">
13+
{% include "bluesky.svg" %}
14+
</div>
15+
<div class="md-source__repository">
16+
{{ config.theme.bluesky_name }}
17+
</div>
18+
</a>

docs/_static/custom_css.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@ html {
33
scroll-padding-top: 50px;
44
}
55

6+
/* Fit the Bluesky handle alongside the GitHub one in the top right. */
7+
div.md-header__source {
8+
width: revert;
9+
max-width: revert;
10+
}
11+
12+
a.md-source {
13+
display: inline-block;
14+
}
15+
16+
.md-source__repository {
17+
max-width: 100%;
18+
}
19+
620
/* Emphasise sections of nav on left hand side */
721
nav.md-nav {
822
padding-left: 5px;

0 commit comments

Comments
 (0)