astropy-sphinx-theme 2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,12 @@
1
+ """ Astropy Sphinx Theme """
2
+ import os
3
+
4
+
5
+ def get_html_theme_path():
6
+ """Return list of HTML theme paths."""
7
+ cur_dir = os.path.abspath(os.path.dirname(__file__))
8
+ return [cur_dir]
9
+
10
+
11
+ def setup(app):
12
+ app.add_html_theme('bootstrap-astropy', os.path.abspath(os.path.join(os.path.dirname(__file__), 'bootstrap-astropy')))
@@ -0,0 +1,3 @@
1
+ <h3>Table of Contents</h3>
2
+ {{ toctree(maxdepth=-1, titles_only=true) }}
3
+
@@ -0,0 +1,114 @@
1
+ {% extends "basic/layout.html" %}
2
+
3
+ {%- block scripts %}
4
+ {{ super() }}
5
+ <script type="text/javascript" src="{{ pathto('_static/sidebar.js', 1) }}"></script>
6
+ {% if not embedded %}<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>{% endif %}
7
+ {%- endblock %}
8
+
9
+ {# Add the google webfonts needed for the logo #}
10
+ {% block extrahead %}
11
+ <link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,600' rel='stylesheet' type='text/css'/>
12
+ {% endblock %}
13
+
14
+ {% block header %}
15
+ <div class="topbar">
16
+ <a class="brand" title="{{ _('Documentation Home') }}" href="{{ pathto(master_doc) }}"><span id="logotext1">{{ theme_logotext1 }}</span><span id="logotext2">{{ theme_logotext2 }}</span><span id="logotext3">{{ theme_logotext3 }}</span></a>
17
+ <ul>
18
+ {% if theme_astropy_project_menubar == true %}
19
+ <li>
20
+ <div class="dropdown">
21
+ <a href = "#">About</a>
22
+ <div class="dropdown-content">
23
+ <ul>
24
+ <li><a href="http://www.astropy.org/about.html">About Astropy</a></li>
25
+ <li><a href="http://www.astropy.org/code_of_conduct.html">Code of Conduct</a></li>
26
+ <li><a href="http://www.astropy.org/acknowledging.html">Acknowledging & Citing</a></li>
27
+ </ul>
28
+ </div>
29
+ </div>
30
+ </li>
31
+ <li><a href="http://www.astropy.org/help.html">Get Help</a></li>
32
+ <li><a href="http://www.astropy.org/contribute.html">Contribute</a></li>
33
+ <li><a href="http://www.astropy.org/affiliated/index.html">Affiliated Packages</a></li>
34
+ <li><a href="http://www.astropy.org/team.html">Team</a></li>
35
+ {% endif %}
36
+ <li><a class="homelink" title="Astropy Homepage" href="http://www.astropy.org"></a></li>
37
+ <li><a title="{{ _('General Index') }}" href="{{ pathto('genindex') }}">Index</a></li>
38
+ <li><a title="{{ _('Module Index') }}" href="{{ pathto('py-modindex') }}">Modules</a></li>
39
+ <li>
40
+ {% block sidebarsearch %}
41
+ {% include "searchbox.html" %}
42
+ {% endblock %}
43
+ </li>
44
+ </ul>
45
+ </div>
46
+ {% endblock %}
47
+
48
+ {% block relbar1 %}
49
+ <div class="related">
50
+ <h3>{{ _('Navigation') }}</h3>
51
+ <ul>
52
+ {%- if next %}
53
+ <li class="right">
54
+ <a href="{{ next.link|e }}" title="{{ next.title|striptags|e }}">
55
+ next {{ "&raquo;"|safe }}
56
+ </a>
57
+ </li>
58
+ {%- endif %}
59
+ {%- if prev %}
60
+ <li class="right">
61
+ <a href="{{ prev.link|e }}" title="{{ prev.title|striptags|e }}">
62
+ {{ "&laquo;"|safe }} previous
63
+ </a>
64
+ {% if next %}{{ reldelim2 }}{% endif %}
65
+ </li>
66
+ {%- endif %}
67
+ {%- block rootrellink %}
68
+ <li>
69
+ <a href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a>
70
+ {{ reldelim1 }}
71
+ </li>
72
+ {%- endblock %}
73
+ {%- for parent in parents %}
74
+ <li><a href="{{ parent.link|e }}" {% if loop.last %}{{ accesskey("U") }}{% endif %}>{{ parent.title }}</a>{{ reldelim1 }}</li>
75
+ {%- endfor %}
76
+ {# Don't put the title in the relbar for the first (index) page. #}
77
+ {% if prev %}<li>{{ title }}</li>{% endif %}
78
+ {%- block relbaritems %} {% endblock %}
79
+ </ul>
80
+ </div>
81
+ {% endblock %}
82
+
83
+ {# Silence the bottom relbar. #}
84
+ {% block relbar2 %}{% endblock %}
85
+
86
+
87
+ {%- block footer %}
88
+ <footer class="footer">
89
+ <p class="pull-right">
90
+ {%- if edit_on_github %}
91
+ <a href="{{ edit_on_github }}">{{ edit_on_github_page_message }}</a> &nbsp;
92
+ {%- endif %}
93
+ {%- if show_source and has_source and sourcename %}
94
+ <a href="{{ pathto('_sources/' + sourcename, true)|e }}"
95
+ rel="nofollow">{{ _('Page Source') }}</a>
96
+ {%- endif %} &nbsp;
97
+ <a href="#">Back to Top</a></p>
98
+ <p>
99
+ {%- if show_copyright %}
100
+ {%- if hasdoc('copyright') %}
101
+ {% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}<br/>
102
+ {%- else %}
103
+ {% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}<br/>
104
+ {%- endif %}
105
+ {%- endif %}
106
+ {%- if show_sphinx %}
107
+ {% trans sphinx_version=sphinx_version|e %}Created using <a href="http://www.sphinx-doc.org/en/stable/">Sphinx</a> {{ sphinx_version }}.{% endtrans %} &nbsp;
108
+ {%- endif %}
109
+ {%- if last_updated %}
110
+ {% trans last_updated=last_updated|e %}Last built {{ last_updated }}.{% endtrans %} <br/>
111
+ {%- endif %}
112
+ </p>
113
+ </footer>
114
+ {%- endblock %}
@@ -0,0 +1,3 @@
1
+ <h3>Page Contents</h3>
2
+ {{ toc }}
3
+
@@ -0,0 +1,7 @@
1
+ {%- if pagename != "search" %}
2
+ <form action="{{ pathto('search') }}" method="get">
3
+ <input type="text" name="q" placeholder="Search" />
4
+ <input type="hidden" name="check_keywords" value="yes" />
5
+ <input type="hidden" name="area" value="default" />
6
+ </form>
7
+ {%- endif %}
@@ -0,0 +1,75 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg
3
+ xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
4
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
5
+ xmlns:cc="http://creativecommons.org/ns#"
6
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
7
+ xmlns:svg="http://www.w3.org/2000/svg"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ version="1.1"
10
+ id="svg2"
11
+ height="167.52676"
12
+ width="771.12372">
13
+ <defs
14
+ id="defs4">
15
+ <linearGradient
16
+ id="linearGradient3767">
17
+ <stop
18
+ style="stop-color:#ffa900;stop-opacity:1;"
19
+ offset="0"
20
+ id="stop3800" />
21
+ <stop
22
+ style="stop-color:#fd0000;stop-opacity:1;"
23
+ offset="1"
24
+ id="stop3775" />
25
+ </linearGradient>
26
+ </defs>
27
+ <g
28
+ transform="translate(6.1070519,22.476169)"
29
+ id="layer1">
30
+ <g
31
+ id="text3047"
32
+ style="fill:#000000;fill-opacity:1;stroke:none">
33
+ <path
34
+ id="path4164"
35
+ style="fill:#ffffff"
36
+ d="m 5.5129443,73.773459 c 0,15.91 11.0999997,26.640001 27.0099997,26.640001 10.73,0 19.98,-5.365001 28.12,-12.210001 l 0.555,0 1.665,9.99 17.39,0 0,-53.835 c 0,-25.345 -11.1,-39.2200004 -33.855,-39.2200004 -14.43,0 -27.195,5.5500004 -37.1849997,11.8400004 l 7.7699997,14.245 c 7.955,-4.81 16.465,-8.88 25.53,-8.88 12.21,0 16.28,8.14 16.465,17.76 -37.185,4.07 -53.4649997,14.245 -53.4649997,33.67 z m 20.7199997,-1.665 c 0,-9.065 8.14,-15.54 32.745,-18.685 l 0,20.35 c -6.66,6.29 -12.395,9.99 -19.795,9.99 -7.585,0 -12.95,-3.515 -12.95,-11.655 z" />
37
+ <path
38
+ id="path4166"
39
+ style="fill:#ffffff"
40
+ d="m 97.168882,87.833459 c 8.879998,7.215 22.014998,12.580001 34.409998,12.580001 22.94,0 35.335,-12.580001 35.335,-28.120001 0,-17.02 -13.69,-22.94 -26.085,-27.565 -9.805,-3.515 -18.87,-6.29 -18.87,-13.505 0,-5.735 4.255,-9.99 13.32,-9.99 7.215,0 13.69,3.145 19.98,7.77 l 9.805,-12.95 c -7.4,-5.735 -17.575,-10.9150004 -30.155,-10.9150004 -20.35,0 -33.115,11.2850004 -33.115,27.1950004 0,15.17 13.505,22.015 25.53,26.455 9.62,3.7 19.425,7.03 19.425,14.615 0,6.29 -4.625,10.915 -14.43,10.915 -9.25,0 -17.02,-3.885 -25.16,-10.175 l -9.989998,13.69 z" />
41
+ <path
42
+ id="path4168"
43
+ style="fill:#ffffff"
44
+ d="m 189.2324,67.483459 c 0,19.61 7.77,32.930001 28.86,32.930001 7.215,0 13.505,-1.665001 18.5,-3.330001 l -3.7,-15.725 c -2.59,1.11 -6.29,2.035 -9.435,2.035 -8.695,0 -12.765,-5.18 -12.765,-15.91 l 0,-43.29 23.125,0 0,-16.8350004 -23.125,0 0,-24.7899996 -17.76,0 -2.59,24.7899996 -14.06,0.925 0,15.9100004 12.95,0 0,43.29 z" />
45
+ <path
46
+ id="path4170"
47
+ style="fill:#ffffff"
48
+ d="m 252.9331,98.193459 21.275,0 0,-55.5 c 5.55,-13.69 14.245,-18.685 21.46,-18.685 3.885,0 6.29,0.555 9.435,1.48 l 3.7,-18.5000004 c -2.775,-1.295 -5.735,-1.85 -10.36,-1.85 -9.62,0 -19.24,6.4750004 -25.715,18.3150004 l -0.74,0 -1.48,-16.0950004 -17.575,0 0,90.8350004 z" />
49
+ <path
50
+ id="path4172"
51
+ style="fill:#ffffff"
52
+ d="m 314.22013,52.868459 c 0,30.155 20.535,47.545001 43.105,47.545001 22.755,0 43.29,-17.390001 43.29,-47.545001 0,-30.34 -20.535,-47.7300004 -43.29,-47.7300004 -22.57,0 -43.105,17.3900004 -43.105,47.7300004 z m 21.83,0 c 0,-18.315 7.955,-30.34 21.275,-30.34 13.32,0 21.46,12.025 21.46,30.34 0,18.13 -8.14,30.155 -21.46,30.155 -13.32,0 -21.275,-12.025 -21.275,-30.155 z" />
53
+ <path
54
+ id="path4174"
55
+ style="fill:#ff5000;fill-opacity:1"
56
+ d="m 433.32833,89.498459 c 9.25,6.845 18.315,10.915001 26.64,10.915001 20.905,0 39.22,-17.760001 39.22,-47.915001 0,-27.565 -11.84,-45.3250004 -35.52,-45.3250004 -10.915,0 -21.46,6.4750004 -30.155,13.3200004 l -0.555,0 -0.74,-11.1000004 -7.03,0 0,128.9450014 8.14,0 0,-32.375 0,-16.465001 z m 0,-7.77 0,-52.725 c 10.73,-9.435 20.165,-14.615 29.045,-14.615 20.35,0 28.12,16.28 28.12,38.11 0,24.05 -12.95,40.7 -30.895,40.7 -6.845,0 -16.095,-3.145 -26.27,-11.47 z" />
57
+ <path
58
+ id="path4176"
59
+ style="fill:#ff5000;fill-opacity:1"
60
+ d="m 515.26888,129.64346 -1.85,7.215 c 2.405,1.11 5.735,1.85 9.065,1.85 15.91,0 24.79,-14.615 29.785,-29.415 l 35.15,-99.9000014 -8.325,0 -19.055,55.8700004 c -2.405,7.4 -5.365,17.02 -8.14,24.79 l -0.74,0 c -3.33,-7.77 -6.845,-17.39 -9.62,-24.79 l -21.46,-55.8700004 -8.88,0 36.445,90.4650004 -2.405,7.770001 c -4.44,13.505 -11.84,23.495 -22.755,23.495 -2.59,0 -5.365,-0.74 -7.215,-1.48 z" />
61
+ </g>
62
+ <path
63
+ id="path3796"
64
+ d="m 699.71522,8.7813958 c -71.7644,0 -58.16693,0 -58.16693,0 l 0.18886,86.0270502 0,0 89.32779,0 0.37769,-47.195398"
65
+ style="fill:none;stroke:#ffffff;stroke-width:7.42324734;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
66
+ <path
67
+ id="path3798"
68
+ d="M 690.16624,51.085891 C 750.77539,-8.008031 750.77539,-8.008031 750.77539,-8.008031"
69
+ style="fill:none;stroke:#ffffff;stroke-width:10.39999962;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
70
+ <path
71
+ id="path3800"
72
+ d="M 760.01669,-15.838298 717.15954,-2.7141323 744.40571,24.161702 z"
73
+ style="fill:#ffffff;fill-opacity:1;stroke:none" />
74
+ </g>
75
+ </svg>
@@ -0,0 +1,87 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg
3
+ xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
4
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
5
+ xmlns:cc="http://creativecommons.org/ns#"
6
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
7
+ xmlns:svg="http://www.w3.org/2000/svg"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ xmlns:xlink="http://www.w3.org/1999/xlink"
10
+ version="1.1"
11
+ id="svg2"
12
+ height="220"
13
+ width="220">
14
+ <defs
15
+ id="defs4">
16
+ <linearGradient
17
+ id="linearGradient3767">
18
+ <stop
19
+ style="stop-color:#ffa900;stop-opacity:1;"
20
+ offset="0"
21
+ id="stop3800" />
22
+ <stop
23
+ style="stop-color:#fd0000;stop-opacity:1;"
24
+ offset="1"
25
+ id="stop3775" />
26
+ </linearGradient>
27
+ <linearGradient
28
+ spreadMethod="repeat"
29
+ gradientUnits="userSpaceOnUse"
30
+ y2="298.258"
31
+ x2="83.651718"
32
+ y1="163.12114"
33
+ x1="195.5511"
34
+ id="linearGradient3798"
35
+ xlink:href="#linearGradient3767" />
36
+ </defs>
37
+ <g
38
+ transform="translate(2.5547457,54.766869)"
39
+ id="layer1">
40
+ <path
41
+ clip-path="none"
42
+ mask="none"
43
+ transform="matrix(1.0651076,-0.90408718,0.89013474,1.0731629,-250.16148,-67.548145)"
44
+ d="m 221.23922,233.12846 a 80.322945,68.372307 0 0 1 -80.32294,68.37231 80.322945,68.372307 0 0 1 -80.32295,-68.37231 80.322945,68.372307 0 0 1 80.32295,-68.3723 80.322945,68.372307 0 0 1 80.32294,68.3723 z"
45
+ id="path3837"
46
+ style="fill:url(#linearGradient3798);fill-opacity:1;fill-rule:nonzero;stroke:none" />
47
+ <path
48
+ transform="matrix(-0.71212781,-0.99456325,-0.9777811,0.72852659,474.31246,145.67479)"
49
+ d="m 238.396,198.78328 c 32.61949,7.06756 15.40308,37.20961 -8.24653,38.06088 -26.00022,0.93589 -44.08994,-24.61831 -41.97511,-48.94224 2.67817,-30.80329 32.53302,-51.80129 62.38812,-48.26147"
50
+ id="path5413"
51
+ style="fill:none;stroke:#ffffff;stroke-width:14.33045673;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
52
+ <path
53
+ transform="matrix(1.0512298,0.82294962,-0.97239782,0.94168108,304.90482,-361.44933)"
54
+ d="m 144.4518,337.67926 a 22.223356,12.626906 0 0 1 -22.22335,12.62691 22.223356,12.626906 0 0 1 -22.22336,-12.62691 22.223356,12.626906 0 0 1 22.22336,-12.62691 22.223356,12.626906 0 0 1 22.22335,12.62691 z"
55
+ id="path3819"
56
+ style="fill:#ffffff;fill-opacity:1;stroke:none" />
57
+ <path
58
+ id="path3853"
59
+ d="m 136.88413,-13.10567 13.09858,22.1959915 20.1541,-20.0243955 -25.57713,-10.690029 z"
60
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:2.36031604;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
61
+ <g
62
+ transform="matrix(0.95039189,0,0,0.93299787,-2.487134,-0.56516029)"
63
+ id="g3804">
64
+ <path
65
+ style="fill:none;stroke:#ffffff;stroke-width:3.72635746;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
66
+ d="m 142.07904,-24.83606 -2.29208,-13.70422 0.18559,0.452199 0,0"
67
+ id="path3855-7" />
68
+ <path
69
+ style="fill:none;stroke:#ffffff;stroke-width:4.02542162;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
70
+ d="m 127.81295,-26.11257 15.12343,0.663566 -0.4755,0.06597 0,0"
71
+ id="path3855-7-0" />
72
+ <path
73
+ style="fill:none;stroke:#ffffff;stroke-width:4.06302309;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
74
+ d="m 150.77669,-18.240009 -9.57586,-7.57806 0.46343,0.302121 0,0"
75
+ id="path3855-7-05" />
76
+ </g>
77
+ <path
78
+ id="path3942"
79
+ d="m 67.476992,131.73602 c 3.410653,2.96251 14.804165,7.71706 18.766169,12.74152 4.041356,5.12504 3.407665,10.98393 3.371624,14.32634"
80
+ style="fill:none;stroke:#ffffff;stroke-width:17.45736313;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
81
+ <path
82
+ transform="matrix(0.95949998,0.82835015,0.79893463,-0.95307413,-285.3304,56.888018)"
83
+ d="m 238.396,198.78328 c 32.61946,7.06755 15.40307,37.20957 -8.24652,38.06085 -26.0002,0.93588 -44.0899,-24.61829 -41.97507,-48.9422 2.70006,-31.05511 32.97695,-52.07076 63.01891,-48.18321 1.11735,0.14459 2.2306,0.32088 3.33799,0.52843"
84
+ id="path2987-5"
85
+ style="fill:none;stroke:#ffffff;stroke-width:13.93870544;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
86
+ </g>
87
+ </svg>