Skip to content

Commit

Permalink
Add Contributing page
Browse files Browse the repository at this point in the history
includes removed content from previous community page
  • Loading branch information
davidak committed Apr 24, 2020
1 parent 1c680dc commit 26cf42c
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Expand Up @@ -6,14 +6,15 @@ rwildcard=$(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst
default: all


HTML = index.html download.html news.html learn.html governance.html donate.html \
HTML = index.html download.html news.html learn.html community.html \
contribute.html governance.html donate.html \
teams/rfc-steering-committee.html teams/security.html teams/marketing.html \
teams/nixos_release.html teams/infrastructure.html teams/nixcon.html \
teams/discourse.html \
nix/index.html nix/about.html \
nixpkgs/index.html \
nixos/index.html nixos/about.html \
community.html nixos/packages.html nixos/options.html \
nixos/packages.html nixos/options.html \
nixos/wiki.html \
404.html

Expand Down
76 changes: 76 additions & 0 deletions contribute.tt
@@ -0,0 +1,76 @@
[% WRAPPER layout.tt title="Contributing" hideTitle=1 menu='nixos' %]

<h1>Contributing</h1>

<p class="lead">
This page explains how you can contribute to Nix, Nix packages or NixOS.
</p>


<h2>Report an issue</h2>

<p>We can only fix issues that we know of, so please report any issue you encounter.</p>

<p>Issues with the <b>package manager Nix</b> are reported at <a href="https://github.com/NixOS/nix/issues">https://github.com/NixOS/nix/issues</a>.</p>

<p>Issues with <b>specific packages or NixOS</b> (including it's modules) are reported at <a href="https://github.com/NixOS/nixpkgs/issues">https://github.com/NixOS/nixpkgs/issues</a>.</p>

<p>Make sure that there is not already an open issue for your problem. Please follow the issue template and fill in all requested information as they help us solve the problem.</p>

<p>You need a <a href="https://github.com/">GitHub</a> account for that.</p>


<h2>Contribute to Nix</h2>

<p>The package manager Nix is mostly written in C++. If you are a developer and want to contribute to it's development, you can find information on <a href="https://nixos.org/nix/manual/#chap-hacking">how to setup a development environment</a> in the manual.</p>

<p>You can find inspiration for things to improve in the <a href="https://github.com/NixOS/nix/issues">reported issues</a>. There are also some <a href="https://github.com/NixOS/nix/labels/easy">issues tagged with easy</a> that are a good start for new contributors.</p>

<p>Feel free to join the <a href="irc://irc.freenode.net/nixos">#nixos-dev IRC channel</a> on <a href="https://freenode.net/">Freenode</a> to get in contact with other developers.</p>


<h2>Contribute to Nix packages</h2>

<p>Packaging for Nix is simple when you have understood the basic concept.</p>

<p><a href="https://nixos.org/nixpkgs/manual/#chap-quick-start">The manual</a> explains step-by-step how to add a new package to the Nix package collection. There are also <a href="https://nixos.org/nixpkgs/manual/#chap-language-support">programming language specific instructions</a>.</p>


<h2>Contribute to NixOS</h2>

<p>It’s pretty easy to contribute to NixOS compared to other linux distributions. All the code is on GitHub in the repository <a href="https://github.com/NixOS/nixpkgs">nixpkgs</a>. Everyone can propose an improvement and most of them get merged after a review of the maintainers. You will get feedback in the pull request.</p>

<p>See the <a href="https://nixos.org/nixos/manual/index.html#ch-development">NixOS manual</a> to get started and find all the details.</p>

<p>You can find inspiration for things to improve in the <a href="https://github.com/NixOS/nixpkgs/issues">reported issues</a>. There are also <a href="https://github.com/NixOS/nixpkgs/labels/3.skill%3A%20good-first-bug">issues tagged with good-first-bug</a> that are a good start for new contributors.</p>

<p>Feel free to join the <a href="irc://irc.freenode.net/nixos">#nixos-dev IRC channel</a> on <a href="https://freenode.net/">Freenode</a> to get in contact with other developers.</p>


<h2>Contribute to Documentation</h2>

<p>The manuals are currently written in DocBook. There are <a href="https://github.com/NixOS/rfcs/pull/64">efforts</a> to migrate to a simpler markup language.</p>

<p>You find the documentation of Nix in it's <a href="https://github.com/NixOS/nix/tree/master/doc/manual">repository</a>.</p>

<p>There are <a href="https://nixos.org/nixpkgs/manual/#chap-contributing">instructions on how to contribute to the nixpkgs manual</a>.</p>

<p>The NixOS manual also contains a chapter about <a href="https://nixos.org/nixos/manual/index.html#sec-writing-documentation">writing documentation</a>.</p>


<h2>Contribute to this Website</h2>

<p>The website has a simple structure and is mostly HTML with Bootstrap.</p>

<p>The <a href="https://github.com/NixOS/nixos-homepage">source code</a> is on GitHub. You find the build instructions in it's <a href="https://github.com/NixOS/nixos-homepage#readme">readme</a>.</p>

<p>Feel free to <a href="https://discourse.nixos.org/t/marketing-team-can-we-present-nix-nixos-better/6249">get in contact with the marketing team</a> and consider joining the effort in improving the presentation on the website.</p>


<h2>Join a Team</h2>

<p>There are several teams of people from the community that work on a specific aspect of the NixOS ecosystem.</p>

<p>If you are interested in working with them, you find all teams and contact informations on the <a href="[%root%]governance.html">governance page</a>.</p>

[% END %]
1 change: 1 addition & 0 deletions layout.tt
Expand Up @@ -70,6 +70,7 @@
<li><a href="[%root%]nixos/packages.html">Packages</a></li>
<li><a href="[%root%]nixos/options.html">Options</a></li>
<li><a href="[%root%]community.html">Community</a></li>
<li><a href="[%root%]contribute.html">Contribute</a></li>
<li><a href="[%root%]governance.html">Governance</a></li>
<li><a href="[%root%]donate.html">Donate</a></li>
</ul>
Expand Down

0 comments on commit 26cf42c

Please sign in to comment.