Skip to content

Commit 112ee39

Browse files
committed
Enable paragraph links for h2 and h3 headers, add missing paragraph links, minor style tweak.
1 parent 3ea724f commit 112ee39

5 files changed

Lines changed: 24 additions & 12 deletions

File tree

affiliated/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ <h1 id="coordinated-packages">Astropy Coordinated Packages<a class="paralink" hr
101101
space-focused), while others started as affiliated packages but have become
102102
so important to the ecosystem that they grew to become coordinated.</p>
103103

104-
<h2 id="infrastructure-packages">Astropy Infrastructure Packages<a class="paralink" href="#infrastructure-packages" title="Permalink to this headline"></a></h2>
104+
<h1 id="infrastructure-packages">Astropy Infrastructure Packages<a class="paralink" href="#infrastructure-packages" title="Permalink to this headline"></a></h1>
105105

106106
<p>One final related category are the "Astropy infrastructure packages".
107107
These packages are those that are necessary infrastructure for Astropy
@@ -126,7 +126,7 @@ <h1 id="installing-affiliated-packages">Installing Affiliated and Coordinated Pa
126126
</section>
127127

128128
<section id="coordinated-package-registry">
129-
<h1>Coordinated Packages<a class="paralink" href="#coordinated-packages-registry" title="Permalink to this headline"></a></h1>
129+
<h1 id="coordinated-package-list">Coordinated Packages<a class="paralink" href="#coordinated-package-list" title="Permalink to this headline"></a></h1>
130130
<p>The following table lists all current Astropy coordinated packages. They are determined from the <a href="http://www.astropy.org/affiliated/registry.json">json file</a>, which is the actual authoritative registry.</p>
131131
<!-- <h3><u>Affiliated Packages</u></h3>-->
132132
<p>Total number of coordinated packages: <strong id="total-coordinated-pkgs"></strong></p>
@@ -163,7 +163,7 @@ <h1>Coordinated Packages<a class="paralink" href="#coordinated-packages-registry
163163
</section>
164164

165165
<section id="affiliated-package-registry">
166-
<h1>Affiliated Packages Registry<a class="paralink" href="#affiliated-packages-registry" title="Permalink to this headline"></a></h1>
166+
<h1 id="affiliated-package-list">Affiliated Packages Registry<a class="paralink" href="#affiliated-package-list" title="Permalink to this headline"></a></h1>
167167
<p>The following table lists all currently registered affiliated packages. They are determined from the <a href="http://www.astropy.org/affiliated/registry.json">json file</a>, which is the actual authoritative registry.</p>
168168
<!-- <h3><u>Affiliated Packages</u></h3>-->
169169
<p>Total number of affiliated packages: <strong id="total-affiliated-pkgs"></strong></p>
@@ -267,7 +267,7 @@ <h1 id="becoming-an-affiliated-package">Becoming an Affiliated Package<a class="
267267
Note however that if packages become unmaintained or do not meet the standards
268268
anymore, they may be removed from the list of affiliated packages.</p>
269269

270-
<h2>Package Template</h2>
270+
<h2 id="package-template">Package Template<a class="paralink" href="#package-template" title="Permalink to this headline"></a></h2>
271271
<p>If you are considering creating a new astronomy package and would like it
272272
to be an Astropy affiliated package, we provide a <a
273273
href="https://github.com/astropy/package-template">package template</a> to

contribute.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ <h1 id="reporting-issues">Reporting Issues<a class="paralink" href="#reporting-i
134134

135135

136136
<section id="code">
137-
<h2>Contribute code or documentation</h2>
137+
<h2 id="contribute-code-or-docs">Contribute code or documentation<a class="paralink" href="#contribute-code-or-docs" title="Permalink to this headline"></a></h2>
138138

139139
<p>If you are interested in contributing fixes, code or documentation to Astropy (whether the core package or affiliated packages), you should join the <a href="http://groups.google.com/group/astropy-dev">astropy-dev</a> mailing list/forum, and start looking at any related <a href="https://github.com/astropy/astropy/issues">issues</a>. In particular, we have introduced a labeling system used across most Astropy-related packages which will allow you to find good starting issues. A good label to start with is <a href="https://github.com/search?p=2&q=label%3Apackage-novice&ref=searchresults&state=open&type=Issues&utf8=%E2%9C%93" class="github-label-package">Package-novice</a> which means you don't need much prior experience of the package. You can use the following links to find all the issues labelled this way and also labeled by how much work they involve:</p>
140140
<ul>
@@ -152,15 +152,15 @@ <h2>Contribute code or documentation</h2>
152152
</section>
153153

154154
<section id="affiliated">
155-
<h2>Develop an affiliated package</h2>
155+
<h2 id="develop-affiliated-package">Develop an affiliated package<a class="paralink" href="#develop-affiliated-package" title="Permalink to this headline"></a></h2>
156156

157157
<p>Whether you have an idea for a new Astronomy package, or already have a package that you want to integrate with the Astropy project, you can develop an affiliated package! You'll want to join the <a href="http://groups.google.com/group/astropy-dev">astropy-dev</a> list so you can notifying other developers of your intent to develop an affiliated package, and the <a href="https://groups.google.com/forum/#!forum/astropy-affiliated-maintainers">astropy-affiliated-maintainers</a> mailing list to be kept informed of updates to the package template, as well as to have any dicussions related to setting up affiliated packages. Then you can check out the <a href="affiliated/index.html#affiliated-instructions">affiliated package guidelines</a> and the <a href="http://github.com/astropy/package-template">template for new affiliated packages</a> to get started. We can even create a repository for your affiliated package in the astropy organization on GitHub, if you ask on the mailing list!</p>
158158

159159

160160
</section>
161161

162162
<section id="donate">
163-
<h2>Contribute Financially</h2>
163+
<h2 id="contribute-financially">Contribute Financially<a class="paralink" href="#develop-affiliated-package" title="Permalink to this headline"></a></h2>
164164

165165
<p>Astropy is fiscally represented by <a href="https://numfocus.org/">NumFOCUS</a>, which accepts donations to support development of Astropy. If you would like to donate to astropy, please see the NumFOCUS contribution page for the Astropy Project:</p>
166166
<a class="button" href="https://numfocus.salsalabs.org/donate-to-astropy/index.html" target="_blank">Donate to Astropy</a>

css/style.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ a.paralink{
130130
font-size: 0.8em;
131131
padding: 0 4px 0 4px;
132132
text-decoration: none;
133+
opacity: 0.8;
133134
visibility: hidden;
134135
}
135136

js/functions.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,17 @@ $( document ).ready(function(){
223223
}, function() {
224224
$(this).children("a").css("visibility", "hidden");
225225
});
226+
$("h2").hover(function() {
227+
$(this).children("a").css("visibility", "visible");
228+
}, function() {
229+
$(this).children("a").css("visibility", "hidden");
230+
});
231+
$("h3").hover(function() {
232+
$(this).children("a").css("visibility", "visible");
233+
}, function() {
234+
$(this).children("a").css("visibility", "hidden");
235+
});
236+
226237
}); // Document Ready
227238

228239

team.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
<section>
7575
<h1 id="astropy-team"> Astropy Team<a class="paralink" href="#astropy-team" title="Permalink to this headline"></a> </h1>
7676

77-
<h2 id="roles">Roles</h2>
77+
<h2 id="roles">Roles<a class="paralink" href="#roles" title="Permalink to this headline"></a></h2>
7878

7979
<p>The Astropy project is made possible through the efforts of
8080
community members that perform numerous important roles. This
@@ -112,7 +112,7 @@ <h2 id="roles">Roles</h2>
112112
</section>
113113

114114
<section>
115-
<h2 id="role-responsibilities">Astropy Project Role Responsibilities</h2>
115+
<h2 id="role-responsibilities">Astropy Project Role Responsibilities<a class="paralink" href="#role-responsibilities" title="Permalink to this headline"></a></h2>
116116

117117
<p>The Astropy project is made possible through the efforts of
118118
community members that perform numerous important roles. This
@@ -127,11 +127,11 @@ <h2 id="role-responsibilities">Astropy Project Role Responsibilities</h2>
127127
</section>
128128

129129
<section>
130-
<h2>Contributors</h2>
130+
<h2 id="contributors">Contributors<a class="paralink" href="#contributors" title="Permalink to this headline"></a></h2>
131131

132132
<p>Astropy project packages are under continuous development by professional astronomers and software developers from around the world. The Project is community-driven, with decisions generally made by consensus, but with oversight and organization provided by the coordinating committee.</p>
133133

134-
<h3>Core Package Contributors</h3>
134+
<h3 id="core-package-contributors">Core Package Contributors<a class="paralink" href="#core-package-contributors" title="Permalink to this headline"></a></h3>
135135

136136
<ul class="team">
137137
<li> Ryan Abernathey </li>
@@ -455,7 +455,7 @@ <h3>Core Package Contributors</h3>
455455
<li> Noah Zuckman </li>
456456
</ul>
457457

458-
<h3>Other Credits</h3>
458+
<h3 id="other-credits">Other Credits<a class="paralink" href="#other-credits" title="Permalink to this headline"></a></h3>
459459

460460
<ul>
461461
<li>Kaylea Nelson for designing this web site.</li>

0 commit comments

Comments
 (0)