mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-16 13:28:16 +00:00
doc: fix module references
This commit is contained in:
parent
ba29af7ae3
commit
61d81e7706
2 changed files with 4 additions and 4 deletions
|
@ -193,10 +193,10 @@
|
||||||
<xsl:when test="not(starts-with(@value, '/'))">
|
<xsl:when test="not(starts-with(@value, '/'))">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="$revision = 'local'">
|
<xsl:when test="$revision = 'local'">
|
||||||
<xsl:attribute name="xlink:href">https://github.com/LnL7/nix-darwin/blob/master/<xsl:value-of select="@value"/></xsl:attribute>
|
<xsl:attribute name="xlink:href">https://github.com/LnL7/nix-darwin/blob/master/<xsl:value-of select="substring-after(@value, 'darwin/')"/></xsl:attribute>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<xsl:attribute name="xlink:href">https://github.com/LnL7/nix-darwin/blob/<xsl:value-of select="$revision"/>/<xsl:value-of select="@value"/></xsl:attribute>
|
<xsl:attribute name="xlink:href">https://github.com/LnL7/nix-darwin/blob/<xsl:value-of select="$revision"/>/<xsl:value-of select="substring-after(@value, 'darwin/')"/></xsl:attribute>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
|
|
|
@ -12,8 +12,8 @@ let
|
||||||
the path above will be shown and not e.g. `${config.services.foo.package}`. */
|
the path above will be shown and not e.g. `${config.services.foo.package}`. */
|
||||||
manual = import ../../doc/manual rec {
|
manual = import ../../doc/manual rec {
|
||||||
inherit pkgs config;
|
inherit pkgs config;
|
||||||
version = "0.0.1";
|
version = config.system.darwinVersion;
|
||||||
revision = "master";
|
revision = config.system.darwinRevision;
|
||||||
options =
|
options =
|
||||||
let
|
let
|
||||||
scrubbedEval = evalModules {
|
scrubbedEval = evalModules {
|
||||||
|
|
Loading…
Add table
Reference in a new issue