Template:Nixpkgs Manual: Difference between revisions

imported>Nix
create convenience template for linking to official Nixpkgs manual
 
imported>Nix
m fix example
Line 19: Line 19:
=== Add an anchor link ===
=== Add an anchor link ===
Example:
Example:
   <nowiki>{{Nixpkgs Manual|name=Nixpkgs Manual: Chapter - Package Management|anchor=#sec-package-management}}</nowiki>
   <nowiki>{{Nixpkgs Manual|name=Nixpkgs Manual: Chapter - The Standard Environment|anchor=#chap-stdenv}}</nowiki>


Creates: {{Nixpkgs Manual|name=Nixpkgs Manual: Chapter - The Standard Environment|anchor=#chap-stdenv}}
Creates: {{Nixpkgs Manual|name=Nixpkgs Manual: Chapter - The Standard Environment|anchor=#chap-stdenv}}