Skip to content

Commit 610ff9e

Browse files
author
Tyler Poland
committed
Branding and modernization
Add S&W Logo and links along with credit for open source contributors. Modernize dependency versions
1 parent 372af68 commit 610ff9e

File tree

5 files changed

+123
-2
lines changed

5 files changed

+123
-2
lines changed

ci/scripts/mkdocs-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export LC_ALL=C.UTF-8
44
export LANG=C.UTF-8
55
apt-get update
66
apt-get install -y python3-pip
7-
pip3 install 'pymdown-extensions<5.0' 'Markdown<3.0' 'mkdocs<1.0' 'mkdocs-material<3.0'
7+
pip3 install 'pymdown-extensions<=8.0' 'Markdown<=3.2.2' 'mkdocs<=1.1.2' 'mkdocs-material<=5.5.9'
88

99
git clone ${REPO_ROOT} ${SITE_ROOT}
1010
cd ${SITE_ROOT}

docs/images/swlogo.png

6.11 KB
Loading

docs/stylesheets/extra.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
div.x3 {
2+
width: 43%;
3+
color: silver;
4+
}
5+
6+
div.x3 img{
7+
width: 50%;
8+
margin-right: 50%;
9+
}
10+
11+
div.x3 a:link {
12+
color: white;
13+
}
14+
15+
div.x3 a:visited {
16+
color: white;
17+
}
18+
19+
div.x3 a:active {
20+
color: white;
21+
}

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ markdown_extensions:
5757
repo_name: "help fix the tutorials"
5858
repo_url: "https://github.com/starkandwayne/concourse-tutorial"
5959
edit_uri: edit/master/docs/
60-
extra_css: [print.css]
60+
extra_css: [print.css, stylesheets/extra.css]
6161
google_analytics: ["UA-50822525-6", "concoursetutorial.com"]
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
<!--
2+
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to
5+
deal in the Software without restriction, including without limitation the
6+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7+
sell copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
The above copyright notice and this permission notice shall be included in
10+
all copies or substantial portions of the Software.
11+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13+
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
14+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
16+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
17+
IN THE SOFTWARE.
18+
-->
19+
20+
{% import "partials/language.html" as lang with context %}
21+
22+
<!-- Application footer -->
23+
<footer class="md-footer">
24+
25+
<!-- Link to previous and/or next page -->
26+
{% if page.previous_page or page.next_page %}
27+
<div class="md-footer-nav">
28+
<nav
29+
class="md-footer-nav__inner md-grid"
30+
aria-label="{{ lang.t('footer.title') }}"
31+
>
32+
33+
<!-- Link to previous page -->
34+
{% if page.previous_page %}
35+
<a
36+
href="{{ page.previous_page.url | url }}"
37+
title="{{ page.previous_page.title | striptags }}"
38+
class="md-footer-nav__link md-footer-nav__link--prev"
39+
rel="prev"
40+
>
41+
<div class="md-footer-nav__button md-icon">
42+
{% include ".icons/material/arrow-left.svg" %}
43+
</div>
44+
<div class="md-footer-nav__title">
45+
<div class="md-ellipsis">
46+
<span class="md-footer-nav__direction">
47+
{{ lang.t("footer.previous") }}
48+
</span>
49+
{{ page.previous_page.title }}
50+
</div>
51+
</div>
52+
</a>
53+
{% endif %}
54+
55+
<!-- Link to next page -->
56+
{% if page.next_page %}
57+
<a
58+
href="{{ page.next_page.url | url }}"
59+
title="{{ page.next_page.title | striptags }}"
60+
class="md-footer-nav__link md-footer-nav__link--next"
61+
rel="next"
62+
>
63+
<div class="md-footer-nav__title">
64+
<div class="md-ellipsis">
65+
<span class="md-footer-nav__direction">
66+
{{ lang.t("footer.next") }}
67+
</span>
68+
{{ page.next_page.title }}
69+
</div>
70+
</div>
71+
<div class="md-footer-nav__button md-icon">
72+
{% include ".icons/material/arrow-right.svg" %}
73+
</div>
74+
</a>
75+
{% endif %}
76+
</nav>
77+
</div>
78+
{% endif %}
79+
80+
<!-- Further information -->
81+
<div class="md-footer-meta md-typeset">
82+
<div class="md-footer-meta__inner md-grid">
83+
84+
<!-- Copyright and theme information -->
85+
<div class="md-footer-copyright">
86+
<div class="x3">
87+
<a href="https://starkandwayne.com"><img src="/images/swlogo.png"></a>
88+
89+
The Concourse Tutorial was originally developed and is hosted by
90+
<a href="https://starkandwayne.com">Stark &amp; Wayne</a>.
91+
<br/>The Guide is maintained by a Community of dedicated Open Source
92+
contributors.
93+
</div>
94+
</div>
95+
96+
<!-- Social links -->
97+
{% include "partials/social.html" %}
98+
</div>
99+
</div>
100+
</footer>

0 commit comments

Comments
 (0)