Skip to content

Commit 0e18407

Browse files
committed
add index template and exclude conesearch in convert
1 parent 49344b9 commit 0e18407

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ jobs:
3737
3838
- name: Convert the notebooks to HTML
3939
run: |
40-
nbcollection convert --flatten --build-path=. -v --make-index --index-template=_static/index.tpl tutorials
40+
nbcollection convert --flatten --build-path=. -v --make-index --index-template=templates/index.tpl tutorials --exclude=conesearch # TODO: remove this exclude!

templates/index.tpl

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!doctype html>
2+
<html lang=en>
3+
<head>
4+
<meta charset=utf-8>
5+
<title>Astropy tutorials</title>
6+
</head>
7+
<body>
8+
<ul>
9+
{% for notebook in notebooks %}
10+
<li><a href="{{ notebook['html_path'] }}">{{ notebook['name'] }}</a></li>
11+
{% endfor %}
12+
</ul>
13+
</body>
14+
</html>

0 commit comments

Comments
 (0)