mirror of
https://git.gay/pyrox/aux-docs
synced 2024-11-23 02:37:56 +00:00
update aux wiki
This commit is contained in:
parent
331fa9b352
commit
cd4936a64b
|
@ -15,6 +15,38 @@ stdenvNoCC.mkDerivation {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
fixupPhase = ''
|
fixupPhase = ''
|
||||||
mv $out/home.md $out/index.md
|
pushd $out
|
||||||
|
mv home.md index.md
|
||||||
|
mv community.md community/index.md
|
||||||
|
mv Resources.md resources.md
|
||||||
|
|
||||||
|
sed -s -i 's!/community!./community!g' *.md
|
||||||
|
sed -s -i 's!/sigs!/sigs.md!g' *.md
|
||||||
|
# Fixup glossary
|
||||||
|
sed -i 's!committees!committees.md!g' glossary.md
|
||||||
|
sed -i 's!security!security/index.md!g' glossary.md
|
||||||
|
sed -i 's!(/lix)!(../Lix/index.md)!g' glossary.md
|
||||||
|
sed -i 's!#hooks!.md#hooks!g' docs/nix/pkgs-tools-reference.md
|
||||||
|
|
||||||
|
# Fixup community pages
|
||||||
|
pushd community
|
||||||
|
mv security.md security/index.md
|
||||||
|
mv core.md core/index.md
|
||||||
|
sed -i 's!/community!.!g' index.md
|
||||||
|
sed -i 's!sigs!sigs.md!g' index.md
|
||||||
|
sed -i 's!committees!committees.md!g' index.md
|
||||||
|
sed -i 's!/community/security/welcome\.md!./security/onboarding.md!g' committees.md
|
||||||
|
sed -i 's!/community/security/onboarding!./onboarding.md!' security/index.md
|
||||||
|
popd
|
||||||
|
|
||||||
|
# Fixup contributing docs
|
||||||
|
pushd contributing
|
||||||
|
sed -i 's!/community!../community/index.md!' matrix.md
|
||||||
|
sed -i 's!/contributing/formatting/tools!./tools.md!g' formatting/code.md
|
||||||
|
sed -i 's!/agreements/code-of-conduct!../../agreements/code-of-conduct.md!g' formatting/code.md
|
||||||
|
sed -i 's!/contributing/formatting/code!./code.md!g' formatting/projects.md
|
||||||
|
popd
|
||||||
|
|
||||||
|
popd
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue