mirror of
https://git.gay/pyrox/aux-docs
synced 2024-10-30 02:47:56 +00:00
add lix-docs
This commit is contained in:
parent
a16880d91d
commit
07d338a19a
|
@ -1,26 +1,12 @@
|
||||||
{ channels, ... }:
|
{ channels, ... }:
|
||||||
final: prev: {
|
final: prev: {
|
||||||
lix-docs = channels.nixpkgs.lix.overrideAttrs (old: {
|
lix-docs = channels.nixpkgs.lix.overrideAttrs (old: {
|
||||||
buildPhase = ''
|
postBuild = ''
|
||||||
TERM=dumb ninja doc/manual/markdown
|
TERM=dumb ninja doc/manual/markdown
|
||||||
'';
|
'';
|
||||||
checkPhase = ''
|
postInstall = ''
|
||||||
true
|
mkdir -p $doc/manualMD
|
||||||
'';
|
mv doc/manual/markdown/* $doc/manualMD/
|
||||||
installPhase = ''
|
|
||||||
ls -l doc
|
|
||||||
mkdir $out $debug $man $doc $dev
|
|
||||||
mv doc/manual/* $out/
|
|
||||||
mv doc/manual/* $debug/
|
|
||||||
mv doc/manual/* $man/
|
|
||||||
mv doc/manual/* $doc/
|
|
||||||
mv doc/manual/* $dev/
|
|
||||||
'';
|
|
||||||
fixupPhase = ''
|
|
||||||
true
|
|
||||||
'';
|
|
||||||
installCheckPhase = ''
|
|
||||||
true
|
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,5 +11,6 @@ stdenvNoCC.mkDerivation {
|
||||||
cp -r ${pkgs.amg.manual-assets} $out/assets
|
cp -r ${pkgs.amg.manual-assets} $out/assets
|
||||||
cp -r ${pkgs.amg.nixpkgs-manual} $out/Nixpkgs/
|
cp -r ${pkgs.amg.nixpkgs-manual} $out/Nixpkgs/
|
||||||
cp -r ${pkgs.amg.aux-wiki} $out/Aux
|
cp -r ${pkgs.amg.aux-wiki} $out/Aux
|
||||||
|
cp -r ${pkgs.lix-docs.doc}/manualMD $out/Lix
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,3 +14,6 @@ We host the following documentation:
|
||||||
- [Aux Wiki](Aux)
|
- [Aux Wiki](Aux)
|
||||||
|
|
||||||
The [Aux Wiki](https://wiki.auxolotl.org), rendered and searchable here, statically. No JS required!
|
The [Aux Wiki](https://wiki.auxolotl.org), rendered and searchable here, statically. No JS required!
|
||||||
|
|
||||||
|
- [Lix Docs](Lix)
|
||||||
|
The [Lix Docs](https://docs.lix.systems/manual/lix/nightly/), yet another high-quality resource for those using Nix or Lix.
|
||||||
|
|
Loading…
Reference in a new issue