mirror of
https://git.gay/pyrox/aux-docs
synced 2024-11-22 23:07:56 +00:00
move some packages
This commit is contained in:
parent
2f2cc3157d
commit
5a6ff19e7a
|
@ -1,10 +1,6 @@
|
|||
{
|
||||
pkgs,
|
||||
nixpkgs ? { },
|
||||
libsets,
|
||||
}:
|
||||
{ pkgs, libsets }:
|
||||
let
|
||||
revision = pkgs.lib.trivial.revisionWithDefault (nixpkgs.rev or "master");
|
||||
revision = pkgs.lib.trivial.revisionWithDefault (pkgs.rev or "master");
|
||||
|
||||
libDefPos =
|
||||
prefix: set:
|
|
@ -1,7 +1,6 @@
|
|||
# Generates the documentation for library functions via nixdoc.
|
||||
{
|
||||
pkgs,
|
||||
spkgs,
|
||||
libsets,
|
||||
inputs,
|
||||
}:
|
||||
|
@ -22,9 +21,9 @@ stdenv.mkDerivation {
|
|||
description=$3
|
||||
# TODO: wrap lib.$name in <literal>, make nixdoc not escape it
|
||||
if [[ -e "../lib/$baseName.nix" ]]; then
|
||||
nixdoc -c "$name" -d "lib.$name: $description" -l ${spkgs.doc-locations-json} -f "$baseName.nix" > "$out/$name.md"
|
||||
nixdoc -c "$name" -d "lib.$name: $description" -l ${pkgs.doc-locations-json} -f "$baseName.nix" > "$out/$name.md"
|
||||
else
|
||||
nixdoc -c "$name" -d "lib.$name: $description" -l ${spkgs.doc-locations-json} -f "$baseName/default.nix" > "$out/$name.md"
|
||||
nixdoc -c "$name" -d "lib.$name: $description" -l ${pkgs.doc-locations-json} -f "$baseName/default.nix" > "$out/$name.md"
|
||||
fi
|
||||
echo "$out/$name.md" >> "$out/index.md"
|
||||
}
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 8.5 KiB |
|
@ -3,7 +3,7 @@ stdenvNoCC.mkDerivation {
|
|||
pname = "aux-manual-assets";
|
||||
version = "0.0.0";
|
||||
|
||||
src = ../assets;
|
||||
src = ./assets;
|
||||
|
||||
phases = "installPhase";
|
||||
|
Loading…
Reference in a new issue