Skip to content

Commit 2d79610

Browse files
committed
make issue labels look like github
1 parent 96f6b01 commit 2d79610

File tree

2 files changed

+27
-4
lines changed

2 files changed

+27
-4
lines changed

contribute.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,700' rel='stylesheet' type='text/css' />
1010
<link rel="stylesheet" type="text/css" href="css/style.css" />
1111
<link rel="stylesheet" type="text/css" href="css/jquery.sidr.light.css" />
12+
<link rel="stylesheet" type="text/css" href="css/github_issues.css" />
1213

1314

1415
<title>Astropy | Contribute</title>
@@ -68,11 +69,11 @@ <h2>Contribute feedback</h2>
6869
<section id="code">
6970
<h2>Contribute code or documentation</h2>
7071

71-
<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 (the relevant label is "Package-novice" 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 effort:</p>
72+
<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>
7273
<ul>
73-
<li><a href="https://github.com/search?p=2&q=label%3Apackage-novice+label%3Aeffort-low&ref=searchresults&state=open&type=Issues&utf8=%E2%9C%93">Effort-low</a>: issues that should take a few hours at most
74-
<li><a href="https://github.com/search?p=2&q=label%3Apackage-novice+label%3Aeffort-medium&ref=searchresults&state=open&type=Issues&utf8=%E2%9C%93">Effort-medium</a>: issues that should take a few days at most
75-
<li><a href="https://github.com/search?p=2&q=label%3Apackage-novice+label%3Aeffort-high&ref=searchresults&state=open&type=Issues&utf8=%E2%9C%93">Effort-high</a>: longer term issues
74+
<li><a href="https://github.com/search?p=2&q=label%3Apackage-novice+label%3Aeffort-low&ref=searchresults&state=open&type=Issues&utf8=%E2%9C%93" class="github-label-effort">Effort-low</a>: issues that should take a few hours at most
75+
<li><a href="https://github.com/search?p=2&q=label%3Apackage-novice+label%3Aeffort-medium&ref=searchresults&state=open&type=Issues&utf8=%E2%9C%93" class="github-label-effort">Effort-medium</a>: issues that should take a few days at most
76+
<li><a href="https://github.com/search?p=2&q=label%3Apackage-novice+label%3Aeffort-high&ref=searchresults&state=open&type=Issues&utf8=%E2%9C%93" class="github-label-effort">Effort-high</a>: longer term issues
7677
</ul>
7778
<p>You may also want to familiarize yourself with the <a href="http://docs.astropy.org/en/latest/#developer-documentation" target="_blank">developer documentation</a>, particularly the <a href="http://docs.astropy.org/en/latest/development/codeguide.html">coding</a> and <a href="http://docs.astropy.org/en/latest/development/docguide.html">documentation</a> guidelines.</p>
7879

css/github_issues.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.github-label-effort {
2+
font-size: 11px;
3+
font-weight: bold;
4+
padding: 3px 4px;
5+
border-radius: 2px;
6+
line-height: 1;
7+
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12);
8+
background-color: #fef2c0;
9+
color: #333026;
10+
font: Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
11+
}
12+
.github-label-package {
13+
font-size: 11px;
14+
font-weight: bold;
15+
padding: 3px 4px;
16+
border-radius: 2px;
17+
line-height: 1;
18+
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12);
19+
background-color: #bfe5bf;
20+
color: #333026;
21+
font: Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
22+
}

0 commit comments

Comments
 (0)