Skip to content

Commit b7a17df

Browse files
shaloorgommers
andauthored
Add a NumPy Team (numpy#205)
* Ref #numpygh-45 script to generate team gallery html page using team.yml specs * Ref #numpygh-45 integrate team/html in about page remove team.md not required * Fixes #numpygh-45 addresses Ralf's review comments * Replaces tabs with space=4 * team.html generated using gallery script is stored in static folder, referenced from about page in Hugo * Replaced tabs with space tabstop=4 * Fixes #numpygh-45 * improved html layout tab=2 * Some minor readability cleanups to the gallery script * Remove --ignore-errors, that hides errors that need to show up. Also fix some minor things. * UPdate cached GitHub data for NumPy Team Co-authored-by: Ralf Gommers <[email protected]>
1 parent bb6c7ab commit b7a17df

File tree

9 files changed

+2121
-16
lines changed

9 files changed

+2121
-16
lines changed

content/en/about.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The NumPy project is growing, we have separate teams for:
4343
- Funding & grants
4444
- Admin
4545

46-
See the [Team](/team) page for the individual team members.
46+
See the [Team](/gallery/team.html) page for individual team members.
4747

4848

4949
## Sponsors

content/en/team.md

-15
This file was deleted.

scripts/gallery/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import team
+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta name="viewport" content="width=device-width, initial-scale=1">
5+
</head>
6+
<body>
7+
<!DOCTYPE html>
8+
<html>
9+
<head>
10+
<title>NumPy</title>
11+
<link rel="stylesheet"
12+
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
13+
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
14+
crossorigin="anonymous">
15+
{% for stylesheet in main.static.css %}
16+
<link rel="stylesheet"
17+
href="{{ base_url }}{{ stylesheet }}">
18+
{% endfor %}
19+
</head>
20+
<body>
21+
<header>
22+
</header>
23+
<main role="main">
24+
<div class="container">
25+
{% block body %}{% endblock %}
26+
</div>
27+
</main>
28+
<footer class="container pt-4 pt-md-5 border-top">
29+
<p class="float-right">
30+
<a href="#">Back to top</a>
31+
</p>
32+
</footer>
33+
34+
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
35+
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
36+
crossorigin="anonymous"></script>
37+
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
38+
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
39+
crossorigin="anonymous"></script>
40+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
41+
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
42+
crossorigin="anonymous"></script>
43+
<script>
44+
$(function () {
45+
$('[data-toggle="tooltip"]').tooltip()
46+
})
47+
$(function () {
48+
$('[data-toggle="popover"]').popover()
49+
})
50+
</script>
51+
</body>
52+
</html>

0 commit comments

Comments
 (0)