mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-12 18:24:35 +02:00
docs: rename modules
-> platforms
This commit is contained in:
parent
c477b7865e
commit
cd68b680cd
8 changed files with 10 additions and 10 deletions
|
@ -11,8 +11,8 @@
|
|||
|
||||
# Platforms
|
||||
|
||||
- [Platform-specific options](./modules/wrapper-options.md)
|
||||
- [Standalone Usage](./modules/standalone.md)
|
||||
- [Platform-specific options](./platforms/wrapper-options.md)
|
||||
- [Standalone Usage](./platforms/standalone.md)
|
||||
|
||||
# Options
|
||||
|
||||
|
|
|
@ -228,7 +228,7 @@ let
|
|||
wrapperOptionFiles = lib.mapAttrs' (name: options: {
|
||||
name = options.meta.wrapper.name.value;
|
||||
# TODO:
|
||||
# value.path = "./modules/${name}.md";
|
||||
# value.path = "./platforms/${name}.md";
|
||||
value.file = mkMDDoc options;
|
||||
}) wrapperOptions;
|
||||
|
||||
|
@ -298,7 +298,7 @@ pkgs.stdenv.mkDerivation (finalAttrs: {
|
|||
root = ../../.;
|
||||
fileset = lib.fileset.unions [
|
||||
../user-guide
|
||||
../modules
|
||||
../platforms
|
||||
../../CONTRIBUTING.md
|
||||
(lib.fileset.fileFilter (
|
||||
{ type, hasExt, ... }:
|
||||
|
@ -328,7 +328,7 @@ pkgs.stdenv.mkDerivation (finalAttrs: {
|
|||
substituteInPlace ./SUMMARY.md \
|
||||
--replace-fail "@NIXVIM_OPTIONS@" "$nixvimOptionsSummary"
|
||||
|
||||
substituteInPlace ./modules/wrapper-options.md \
|
||||
substituteInPlace ./platforms/wrapper-options.md \
|
||||
--replace-fail "@WRAPPER_OPTIONS@" "$(cat ${finalAttrs.passthru.wrapperOptionDocs})"
|
||||
|
||||
mdbook build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue