doc: move to doc directory (#1272)
This commit is contained in:
parent
f8833c5e0c
commit
fb9c22056f
16 changed files with 5 additions and 5 deletions
|
|
@ -7,7 +7,7 @@ language = "en"
|
|||
[output.html]
|
||||
site-url = "/stylix/"
|
||||
git-repository-url = "https://github.com/nix-community/stylix"
|
||||
edit-url-template = "https://github.com/nix-community/stylix/edit/master/docs/{path}"
|
||||
edit-url-template = "https://github.com/nix-community/stylix/edit/master/doc/{path}"
|
||||
no-section-label = true
|
||||
|
||||
[output.html.fold]
|
||||
|
|
@ -73,7 +73,7 @@ let
|
|||
# "src/options/platforms/«platform».md" = {
|
||||
# referenceSection = "Platforms";
|
||||
# readme = ''
|
||||
# Content of docs/src/options/platforms/«platform».md, or a default
|
||||
# Content of doc/src/options/platforms/«platform».md, or a default
|
||||
# title followed by a note about that file not existing.
|
||||
# '';
|
||||
# optionsByPlatform.«platform» = [ ... ];
|
||||
|
|
@ -237,7 +237,7 @@ let
|
|||
referenceSection = "Platforms";
|
||||
readme =
|
||||
let
|
||||
path = "${inputs.self}/docs/src/options/platforms/${platform}.md";
|
||||
path = "${inputs.self}/doc/src/options/platforms/${platform}.md";
|
||||
|
||||
# This doesn't count as IFD because ${inputs.self} is a flake input
|
||||
mainText =
|
||||
|
|
@ -550,7 +550,7 @@ let
|
|||
);
|
||||
|
||||
# This function generates a Bash script that installs each page to the
|
||||
# correct location, over the top of an original copy of docs/src.
|
||||
# correct location, over the top of an original copy of doc/src.
|
||||
#
|
||||
# Each page must be written in a separate derivation, because passing all
|
||||
# the text into a single derivation exceeds the maximum size of command
|
||||
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
|
|
@ -40,7 +40,7 @@
|
|||
# only available for Linux systems.
|
||||
(lib.mkIf pkgs.stdenv.hostPlatform.isLinux testbedPackages')
|
||||
{
|
||||
docs = pkgs.callPackage "${self}/docs" {
|
||||
docs = pkgs.callPackage "${self}/doc" {
|
||||
inherit inputs;
|
||||
inherit (inputs.nixpkgs.lib) nixosSystem;
|
||||
inherit (inputs.home-manager.lib) homeManagerConfiguration;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue