Skip to content

Commit

Permalink
Ref #numpygh-45 script to generate team gallery html page using team.…
Browse files Browse the repository at this point in the history
…yml specs
  • Loading branch information
shaloo committed Mar 26, 2020
1 parent cab6b31 commit c5cf24b
Show file tree
Hide file tree
Showing 10 changed files with 1,955 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/gallery/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import team
52 changes: 52 additions & 0 deletions scripts/gallery/numpy/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<!DOCTYPE html>
<html>
<head>
<title>NumPy</title>
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
{% for stylesheet in main.static.css %}
<link rel="stylesheet"
href="{{ base_url }}{{ stylesheet }}">
{% endfor %}
</head>
<body>
<header>
</header>
<main role="main">
<div class="container">
{% block body %}{% endblock %}
</div>
</main>
<footer class="container pt-4 pt-md-5 border-top">
<p class="float-right">
<a href="#">Back to top</a>
</p>
</footer>

<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
<script>
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
$(function () {
$('[data-toggle="popover"]').popover()
})
</script>
</body>
</html>
Loading

0 comments on commit c5cf24b

Please sign in to comment.