File tree Expand file tree Collapse file tree 3 files changed +21
-10
lines changed Expand file tree Collapse file tree 3 files changed +21
-10
lines changed Original file line number Diff line number Diff line change @@ -133,20 +133,21 @@ jobs:
133
133
# Download resources from qutip.github.io repository
134
134
mkdir css
135
135
cd css
136
- wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/css/bootstrap.css
137
136
wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/css/site.css
138
137
cd ..
139
138
140
139
mkdir _includes
141
140
cd _includes
142
- wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/_includes/footer.html
143
- wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/_includes/header.html
141
+ wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/_includes/head.html
144
142
wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/_includes/navbar.html
143
+ wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/_includes/footer.html
144
+ wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/_includes/scripts.html
145
145
cd ..
146
146
147
147
mkdir images
148
148
cd images
149
149
wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/images/favicon.ico
150
+ wget https://raw.githubusercontent.com/langhaarzombie/langhaarzombie.github.io/develop/images/logo_small.png
150
151
cd ..
151
152
152
153
# build the website
Original file line number Diff line number Diff line change @@ -150,15 +150,15 @@ def main():
150
150
root_folder = pathlib .Path (__file__ ).parent .parent
151
151
152
152
if args .qutip_version == "v4" :
153
- title = "Tutorials for QuTiP Version 4"
153
+ title = "Tutorials for QuTiP Version 4"
154
154
tutorials_folder = root_folder / "tutorials-v4"
155
155
version_note = """
156
156
These are the tutorials for QuTiP Version 4. You can
157
157
find the tutorials for QuTiP Version 5
158
158
<a href="./index.html">here</a>.
159
159
""" .strip ()
160
160
elif args .qutip_version == "v5" :
161
- title = "Tutorials for QuTiP Version 5"
161
+ title = "Tutorials for QuTiP Version 5"
162
162
tutorials_folder = root_folder / "tutorials-v5"
163
163
version_note = """
164
164
These are the tutorials for QuTiP Version 5. You can
Original file line number Diff line number Diff line change 1
1
---
2
2
title: QuTiP Tutorials
3
3
---
4
- {% raw %}
5
- {% include header .html %}
6
- {% include navbar .html %}
7
- {% endraw %}
8
4
5
+ <!DOCTYPE html>
6
+ <html lang =" en" >
7
+
8
+ {% raw %} {% include head .html %} {% endraw %}
9
+
10
+ <body >
11
+ <header > {% raw %} {% include navbar .html %} {% endraw %} </header >
12
+
13
+ <main class =" my-content" >
9
14
<div class =" row" >
10
15
<div class =" col-md-12" >
11
16
<h1 >{{ title }}</h1 ><br >
@@ -182,7 +187,12 @@ a complete archive of older versions of the tutorials is maintained there.
182
187
183
188
</div >
184
189
</div >
190
+ </main >
185
191
186
192
{% raw %}
187
- {% include footer .html %}
193
+ <footer >{% include footer .html %} </footer >
194
+ {% include scripts .html %}
188
195
{% endraw %}
196
+
197
+ </body >
198
+ </html >
You can’t perform that action at this time.
0 commit comments