Skip to content

Commit ef9e8ca

Browse files
authored
fix docu site building (#627)
1 parent 42da4b6 commit ef9e8ca

File tree

3 files changed

+21
-13
lines changed

3 files changed

+21
-13
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,11 @@ pytest.ini
135135

136136
# Any output directory
137137
*output/
138+
itisfoundation.github.io/
138139

139140
# backup files
140141
*~
141142
*.bak
142143

143144
# pylint-profile output
144145
prof/
145-

docs/webdocroot/index.html

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,24 @@
3434
<body class="grey darken-2 white-text">
3535
<nav>
3636
<div class="nav-wrapper grey darken-3 white-text">
37-
<a href="#" class="brand-logo"><img src="frontend/resource/qxapp/osparc-white.svg"></a>
37+
<a href="#" class="brand-logo">
38+
<img style="height: 65px; padding: 5px;" src="frontend/resource/qxapp/osparc-white.svg">
39+
</a>
3840
<ul id="nav-mobile" class="right">
39-
<li><a href="sass.html">Sass</a></li>
41+
<!-- <li><a href="sass.html">Sass</a></li>
4042
<li><a href="badges.html">Components</a></li>
41-
<li><a href="collapsible.html">JavaScript</a></li>
43+
<li><a href="collapsible.html">JavaScript</a></li> -->
4244
</ul>
4345
</div>
4446
</nav>
4547
<div class="container">
46-
<div class="row">
47-
<h1>Documentation Hub</h1>
48+
<div class="row center">
49+
<h1 class="grey-text text-lighten-2">Documentation Hub</h1>
4850
</div>
4951
<div class="row">
5052

5153
<div class="col s4">
52-
<a class="white-text" href="/frontend/apiviewer/">
54+
<a class="white-text" href="frontend/apiviewer/">
5355
<div class="card">
5456
<div class="center grey darken-3 card-panel">
5557
<div>
@@ -61,10 +63,16 @@ <h1>Documentation Hub</h1>
6163
</a>
6264
</div>
6365
<div class="col s4">
64-
<!-- Promo Content 2 goes here -->
65-
</div>
66-
<div class="col s4">
67-
<!-- Promo Content 3 goes here -->
66+
<a class="white-text" href="https://osparc-docs.readthedocs.io/en/latest">
67+
<div class="card">
68+
<div class="center grey darken-3 card-panel">
69+
<div>
70+
<i class="material-icons large">library_books</i>
71+
</div>
72+
<div>Technical Specs</div>
73+
</div>
74+
</div>
75+
</a>
6876
</div>
6977

7078
</div>

ops/travis/unit-testing/frontend

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ after_success() {
6969
cp -rp docs/webdocroot/* itisfoundation.github.io
7070

7171
# add our build
72-
if [ -d services/web/client/output-build ]; then
72+
if [ -d services/web/client/build-output ]; then
7373
rm -rf itisfoundation.github.io/frontend
74-
cp -rp services/web/client/output-build itisfoundation.github.io/frontend
74+
cp -rp services/web/client/build-output itisfoundation.github.io/frontend
7575
fi
7676
}
7777

0 commit comments

Comments
 (0)