Skip to content

Commit b7ce667

Browse files
committed
Fix styles and add footer
1 parent 1de2276 commit b7ce667

File tree

2 files changed

+29
-11
lines changed

2 files changed

+29
-11
lines changed

.travis.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ script:
3737
- if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then export VERSION=pull-request-job-$TRAVIS_JOB_NUMBER;
3838
fi
3939
- if [[ "$TRAVIS_TAG" != "" ]]; then export VERSION=$TRAVIS_TAG; fi
40-
#- travis_wait pulp build
41-
#- travis_wait pulp test
42-
#- travis_wait make examples
40+
- travis_wait pulp build
41+
- travis_wait pulp test
42+
- travis_wait make examples
4343
- travis_wait make docs
4444

4545
before_deploy: pip install --user awscli
@@ -54,10 +54,9 @@ deploy:
5454
region: eu-west-1
5555
skip_cleanup: true
5656
on:
57-
#tags: true
58-
branch: docs-deploy
59-
#repo: owickstrom/hyper
60-
#
57+
tags: true
58+
repo: owickstrom/hyper
59+
6160
after_deploy:
6261
# regenerate and deploy the documentation index
6362
- make -C docs release-index

docs/bin/make-index-page.sh

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ print_row() {
99
<tr>
1010
<td class="version">$1</td>
1111
<td class="formats">
12-
<a href=\"docs/$1/\">HTML</a> |
12+
<a href=\"docs/$1/index.html\">HTML</a> |
1313
<a href=\"docs/$1/hyper.pdf\">PDF</a>
1414
</td>
1515
</tr>
@@ -26,10 +26,9 @@ echo "
2626
<meta charset="UTF-8">
2727
<title>Hyper</title>
2828
<link rel="stylesheet" href="static/style.css">
29-
<link rel="stylesheet" href="static/fira/fira.css">
30-
<link rel="stylesheet" href="static/fira-code/fira_code.css">
3129
<link rel="stylesheet" href="static/bootstrap/css/bootstrap.min.css">
3230
<link rel="stylesheet" href="static/overrides.css">
31+
<link href=\"https://fonts.googleapis.com/css?family=Fira+Mono|Fira+Sans:400,400i,600\" rel=\"stylesheet\">
3332
<style>
3433
#index {
3534
max-width: 700px;
@@ -77,7 +76,7 @@ echo "
7776
<h2>Documentation</h2>
7877
<p>
7978
Choose a version and a format of the documentation below, or just grab <a
80-
href="docs/${latest}/">the latest</a>.
79+
href="docs/${latest}/index.html">the latest</a>.
8180
</p>
8281
8382
<table class=\"versions table table-striped\">
@@ -95,5 +94,25 @@ echo "
9594
</table>
9695
</div>
9796
</div>
97+
<footer class="footer" role="contentinfo">
98+
<div class="footer-wrapper text-muted">
99+
<a href="https://github.com/owickstrom/hyper">Source Code on GitHub</a>
100+
&mdash;
101+
&copy; Copyright 2016-2017 Oskar Wickström
102+
&mdash;
103+
<span class="license">
104+
Licensed under
105+
<a href="https://raw.githubusercontent.com/owickstrom/hyper/master/LICENSE">MPL-2.0</a>
106+
</span>
107+
</div>
108+
</footer>
109+
<script>
110+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
111+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
112+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
113+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
114+
ga('create', 'UA-42197774-3', 'auto');
115+
ga('send', 'pageview');
116+
</script>
98117
</body>
99118
</html>"

0 commit comments

Comments
 (0)