mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +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
|
@ -28,4 +28,5 @@
|
|||
---
|
||||
|
||||
[Contributing](./CONTRIBUTING.md)
|
||||
[Maintaining](./MAINTAINING.md)
|
||||
[NixVim Options Search](./search/index.html)
|
||||
|
|
|
@ -347,6 +347,7 @@ pkgs.stdenv.mkDerivation (finalAttrs: {
|
|||
};
|
||||
|
||||
contributing = finalAttrs.passthru.fix-links ../../CONTRIBUTING.md;
|
||||
maintaining = finalAttrs.passthru.fix-links ../../MAINTAINING.md;
|
||||
|
||||
buildPhase = ''
|
||||
mkdir -p $out
|
||||
|
@ -356,8 +357,10 @@ pkgs.stdenv.mkDerivation (finalAttrs: {
|
|||
mv ./docs/* ./ && rmdir ./docs
|
||||
mv ./mdbook/* ./ && rmdir ./mdbook
|
||||
|
||||
# Copy the contributing file
|
||||
# Copy the contributing and maintaining files
|
||||
cp $contributing ./CONTRIBUTING.md
|
||||
substitute $maintaining ./MAINTAINING.md \
|
||||
--replace-fail 'This file' 'This page'
|
||||
|
||||
# Symlink the function docs
|
||||
for path in ${lib-docs}/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue