mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
maintaining: init
Add a MAINTAINING.md file where we can document internal maintenance procedures.
This commit is contained in:
parent
e3f4a57fb8
commit
f39dd42824
3 changed files with 9 additions and 1 deletions
4
MAINTAINING.md
Normal file
4
MAINTAINING.md
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# Maintaining Nixvim
|
||||||
|
|
||||||
|
This file is intended as a reference for Nixvim's core maintainers, although it may be interesting for anyone curious how we do certain things.
|
||||||
|
|
|
@ -28,4 +28,5 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
[Contributing](./CONTRIBUTING.md)
|
[Contributing](./CONTRIBUTING.md)
|
||||||
|
[Maintaining](./MAINTAINING.md)
|
||||||
[NixVim Options Search](./search/index.html)
|
[NixVim Options Search](./search/index.html)
|
||||||
|
|
|
@ -347,6 +347,7 @@ pkgs.stdenv.mkDerivation (finalAttrs: {
|
||||||
};
|
};
|
||||||
|
|
||||||
contributing = finalAttrs.passthru.fix-links ../../CONTRIBUTING.md;
|
contributing = finalAttrs.passthru.fix-links ../../CONTRIBUTING.md;
|
||||||
|
maintaining = finalAttrs.passthru.fix-links ../../MAINTAINING.md;
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
|
@ -356,8 +357,10 @@ pkgs.stdenv.mkDerivation (finalAttrs: {
|
||||||
mv ./docs/* ./ && rmdir ./docs
|
mv ./docs/* ./ && rmdir ./docs
|
||||||
mv ./mdbook/* ./ && rmdir ./mdbook
|
mv ./mdbook/* ./ && rmdir ./mdbook
|
||||||
|
|
||||||
# Copy the contributing file
|
# Copy the contributing and maintaining files
|
||||||
cp $contributing ./CONTRIBUTING.md
|
cp $contributing ./CONTRIBUTING.md
|
||||||
|
substitute $maintaining ./MAINTAINING.md \
|
||||||
|
--replace-fail 'This file' 'This page'
|
||||||
|
|
||||||
# Symlink the function docs
|
# Symlink the function docs
|
||||||
for path in ${lib-docs}/*
|
for path in ${lib-docs}/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue