remove docs.tlm.solutions

This commit is contained in:
Markus Schmidl 2023-11-24 15:55:53 +01:00
parent ef828975e8
commit 7a307ce3da
5 changed files with 1 additions and 77 deletions

View File

@ -18,5 +18,5 @@ This flake has lots of outputs, but you maybe be interested in:
- `packages.x86_64-linux.docs`
Those are primary system configurations we're runnning. If you are interested in hosting a station
take a look at the [documentation](https://docs.dvb.solutions).
take a look at the [documentation](https://docs.tlm.solutions).

View File

@ -169,22 +169,6 @@
"type": "github"
}
},
"documentation-src": {
"flake": false,
"locked": {
"lastModified": 1693223762,
"narHash": "sha256-ZZNR/zzAhfUcWPvJdoaVaz19XV+4hleJI4AF6JY2tqc=",
"owner": "tlm-solutions",
"repo": "documentation",
"rev": "22b1328f19a5201a47b8b82c4fb3c7db7c1ded47",
"type": "github"
},
"original": {
"owner": "tlm-solutions",
"repo": "documentation",
"type": "github"
}
},
"fenix": {
"inputs": {
"nixpkgs": "nixpkgs",
@ -715,7 +699,6 @@
"chemo": "chemo",
"data-accumulator": "data-accumulator",
"datacare": "datacare",
"documentation-src": "documentation-src",
"flake-utils": "flake-utils",
"funnel": "funnel",
"gnuradio-decoder": "gnuradio-decoder",

View File

@ -29,11 +29,6 @@
};
## TLMS stuff below
documentation-src = {
url = "github:tlm-solutions/documentation";
flake = false;
};
trekkie = {
url = "github:tlm-solutions/trekkie";
inputs = {
@ -117,7 +112,6 @@
, borzoi
, data-accumulator
, datacare
, documentation-src
, funnel
, gnuradio-decoder
, kindergarten
@ -157,12 +151,6 @@
funnel.overlays.default
data-accumulator.overlays.default
chemo.overlays.default
(final: prev: {
inherit documentation-src;
options-docs = (pkgs.nixosOptionsDoc {
options = self.nixosConfigurations.data-hoarder.options.TLMS;
}).optionsCommonMark;
})
];
}
];
@ -250,12 +238,6 @@
staging-microvm = self.nixosConfigurations.staging-data-hoarder.config.microvm.declaredRunner;
borken-microvm = self.nixosConfigurations.borken-data-hoarder.config.microvm.declaredRunner;
data-hoarder-microvm = self.nixosConfigurations.data-hoarder.config.microvm.declaredRunner;
docs = pkgs.callPackage ./pkgs/documentation.nix {
inherit documentation-src;
options-docs = (pkgs.nixosOptionsDoc {
options = self.nixosConfigurations.data-hoarder.options.TLMS;
}).optionsCommonMark;
};
}
// (import ./pkgs/deployment.nix { inherit self pkgs lib; })
// (lib.foldl (x: y: lib.mergeAttrs x { "${y.config.system.name}-vm" = y.config.system.build.vm; }) { } (lib.attrValues self.nixosConfigurations));

View File

@ -1,7 +1,4 @@
{ pkgs, config, ... }:
let
documentation-package = pkgs.callPackage ../../pkgs/documentation.nix { };
in
{
services = {
nginx = {
@ -15,16 +12,6 @@ in
rewrite ^ https://docs.${config.deployment-TLMS.domain}$request_uri permanent;
'';
};
"docs.${config.deployment-TLMS.domain}" = {
enableACME = true;
forceSSL = true;
locations = {
"/" = {
root = "${documentation-package}/bin/";
index = "index.html";
};
};
};
};
};
};

View File

@ -1,28 +0,0 @@
{ lib, stdenv, mdbook-mermaid, mdbook, documentation-src, options-docs }:
stdenv.mkDerivation {
pname = "dvb-dump-docs";
version = "0.1.0";
src = documentation-src;
nativeBuildInputs = [ mdbook mdbook-mermaid ];
patchPhase = ''
cp ${options-docs} src/chapter_5_3_nixos_options.md
'';
buildPhase = ''
${mdbook-mermaid}/bin/mdbook-mermaid install
${mdbook}/bin/mdbook build
'';
installPhase = ''
mkdir -p $out/bin/
cp -r book/* $out/bin/
'';
meta = with lib; {
description = "Documentation for DVB-Dump project";
homepage = "https://github.com/TLMS/documentation";
};
}