mirror of
https://git.gay/pyrox/aux-docs
synced 2024-11-22 23:07:56 +00:00
add aux-wiki
This commit is contained in:
parent
6d581eb227
commit
d0b76f2c6d
17
flake.lock
17
flake.lock
|
@ -1,5 +1,21 @@
|
||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
|
"aux-wiki": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1719683482,
|
||||||
|
"narHash": "sha256-WF9uI8hbuvy+zCoCJa967mVnqyCbZBf3FSth6vwDR/I=",
|
||||||
|
"ref": "refs/heads/main",
|
||||||
|
"rev": "3af79f1e4db60efba1f1b772628796b097c144ed",
|
||||||
|
"revCount": 187,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.auxolotl.org/auxolotl/wiki"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.auxolotl.org/auxolotl/wiki"
|
||||||
|
}
|
||||||
|
},
|
||||||
"flake-compat": {
|
"flake-compat": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
@ -71,6 +87,7 @@
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"aux-wiki": "aux-wiki",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"snowfall-lib": "snowfall-lib"
|
"snowfall-lib": "snowfall-lib"
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
url = "github:snowfallorg/lib";
|
url = "github:snowfallorg/lib";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
inputs.aux-wiki.url = "git+https://git.auxolotl.org/auxolotl/wiki";
|
||||||
|
inputs.aux-wiki.flake = false;
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
inputs:
|
inputs:
|
||||||
|
|
16
packages/aux-wiki/default.nix
Normal file
16
packages/aux-wiki/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{ stdenvNoCC, inputs }:
|
||||||
|
stdenvNoCC.mkDerivation {
|
||||||
|
pname = "aux-wiki";
|
||||||
|
version = "unstable";
|
||||||
|
|
||||||
|
src = inputs.aux-wiki;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir $out
|
||||||
|
cp *.md $out/
|
||||||
|
cp -r agreements $out/agreements
|
||||||
|
cp -r community $out/community
|
||||||
|
cp -r contributing $out/contributing
|
||||||
|
cp -r docs $out/docs
|
||||||
|
'';
|
||||||
|
}
|
14
packages/md-manual/default.nix
Normal file
14
packages/md-manual/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{ stdenvNoCC, pkgs }:
|
||||||
|
stdenvNoCC.mkDerivation {
|
||||||
|
pname = "md-manual";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
|
src = ./.;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir $out
|
||||||
|
cp -r ${pkgs.amg.manual-assets} $out/assets
|
||||||
|
cp -r ${pkgs.amg.nixpkgs-manual} $out/Nixpkgs/
|
||||||
|
cp -r ${pkgs.amg.aux-wiki} $out/Aux
|
||||||
|
'';
|
||||||
|
}
|
|
@ -40,10 +40,6 @@ stdenvNoCC.mkDerivation {
|
||||||
--replace-fail '@MANUAL_VERSION@' '${lib.version}'
|
--replace-fail '@MANUAL_VERSION@' '${lib.version}'
|
||||||
|
|
||||||
mkdir out
|
mkdir out
|
||||||
|
|
||||||
mkdir out/assets
|
|
||||||
cp ${pkgs.amg.manual-assets}/* out/assets/
|
|
||||||
|
|
||||||
mv preface.chapter.md out/index.md
|
mv preface.chapter.md out/index.md
|
||||||
mv build-helpers out/build-helpers
|
mv build-helpers out/build-helpers
|
||||||
mv build-helpers.md out/build-helpers/index.md
|
mv build-helpers.md out/build-helpers/index.md
|
||||||
|
|
Loading…
Reference in a new issue