Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Contributing page #411

Merged
merged 1 commit into from
Apr 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@ 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 \
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 \
guides/contributing.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 guides/contributing.tt
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
[% WRAPPER layout.tt title="How to Contribute" hideTitle=1 menu='nixos' %]

<h1>How to Contribute</h1>

<p class="lead">
This guide 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> (including it's documentation) 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 and documentation) 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 new packages 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 <a href="https://docbook.org/">DocBook</a>. There are <a href="https://github.com/NixOS/rfcs/pull/64">efforts</a> to switch 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</a> in the nixpkgs manual itself.</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>. It contains instructions for converting Markdown to DocBook.</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 information on the <a href="[%root%]governance.html">governance page</a>.</p>

[% END %]
6 changes: 6 additions & 0 deletions learn.tt
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
[% WRAPPER layout.tt hideTitle=1 title="Learn" menu='nixos' %]

<h2>Guides</h2>

<ul>
<li><a href="[%root%]guides/contributing.html">How to Contribute</a></li>
</ul>

<div class="row-fluid">

<div class="span4">
Expand Down