Official NixOS Wiki:Contributing: Difference between revisions
imported>Ixxie |
imported>Ixxie Added syntax section. |
||
| Line 22: | Line 22: | ||
==Style== | ==Style== | ||
===Language=== | ===Language=== | ||
| Line 31: | Line 32: | ||
* ''Citations'': citations aren't required, but definitely appreciated; when citing code, hardlink to a particular revision. | * ''Citations'': citations aren't required, but definitely appreciated; when citing code, hardlink to a particular revision. | ||
* ''Attribution'': where external material is quoted or utilized in the article, and/or licensing or common sense demands it, place clear and complete attribution and (where possible) a link. | * ''Attribution'': where external material is quoted or utilized in the article, and/or licensing or common sense demands it, place clear and complete attribution and (where possible) a link. | ||
===Syntax=== | |||
Make sure to: | |||
* Follow standard capitalization for software, particularly for the Nix ecosystem (NixOS, Nix, Nix Language, Nixpkgs, NixOps and Hydra). | |||
* Use inline <code><nowiki><code><nowiki></code> tags for filenames, paths, commands and command-line tools as well as code snippets. | |||
* Use the secondary mediawiki header (<code><nowiki>== My Section ==<nowiki></code>) as the primary one. | |||
===Code=== | ===Code=== | ||