diff --git a/docs/main.py b/docs/main.py
deleted file mode 100644
index a54bbf375..000000000
--- a/docs/main.py
+++ /dev/null
@@ -1,41 +0,0 @@
-from typing import Any
-
-
-def define_env(env: Any) -> None:
- static_dir = "/static/"
- video_dir = "https://clan.lol/" + "videos/"
- asciinema_dir = static_dir + "asciinema-player/"
-
- @env.macro
- def video(name: str) -> str:
- return f""""""
-
- @env.macro
- def asciinema(name: str) -> str:
- return f"""
-
-
-
-
"""
diff --git a/docs/nix/default.nix b/docs/nix/default.nix
index 271f48d99..510ffb7e3 100644
--- a/docs/nix/default.nix
+++ b/docs/nix/default.nix
@@ -3,8 +3,6 @@
module-docs,
clan-cli-docs,
clan-lib-openapi,
- asciinema-player-js,
- asciinema-player-css,
roboto,
fira-code,
docs-options,
@@ -57,10 +55,6 @@ pkgs.stdenv.mkDerivation {
cp -r ${docs-options} ./site/options
chmod -R +w ./site/options
- mkdir -p ./site/static/asciinema-player
- ln -snf ${asciinema-player-js} ./site/static/asciinema-player/asciinema-player.min.js
- ln -snf ${asciinema-player-css} ./site/static/asciinema-player/asciinema-player.css
-
# Link to fonts
ln -snf ${roboto}/share/fonts/truetype/Roboto-Regular.ttf ./site/static/
ln -snf ${fira-code}/share/fonts/truetype/FiraCode-VF.ttf ./site/static/
diff --git a/docs/nix/flake-module.nix b/docs/nix/flake-module.nix
index 9281e6379..6e14fea47 100644
--- a/docs/nix/flake-module.nix
+++ b/docs/nix/flake-module.nix
@@ -43,15 +43,6 @@
mypy --strict $out/bin/render-options
'';
- asciinema-player-js = pkgs.fetchurl {
- url = "https://github.com/asciinema/asciinema-player/releases/download/v3.7.0/asciinema-player.min.js";
- sha256 = "sha256-Ymco/+FinDr5YOrV72ehclpp4amrczjo5EU3jfr/zxs=";
- };
- asciinema-player-css = pkgs.fetchurl {
- url = "https://github.com/asciinema/asciinema-player/releases/download/v3.7.0/asciinema-player.css";
- sha256 = "sha256-GZMeZFFGvP5GMqqh516mjJKfQaiJ6bL38bSYOXkaohc=";
- };
-
module-docs =
pkgs.runCommand "rendered"
{
@@ -111,8 +102,6 @@
;
inherit (inputs) nixpkgs;
inherit module-docs;
- inherit asciinema-player-js;
- inherit asciinema-player-css;
};
deploy-docs = pkgs.callPackage ./deploy-docs.nix { inherit (config.packages) docs; };
inherit module-docs;
diff --git a/formatter.nix b/formatter.nix
index e576411a4..1df766e81 100644
--- a/formatter.nix
+++ b/formatter.nix
@@ -52,8 +52,6 @@
"checks/secrets/sops/groups/group/machines/machine"
"checks/syncthing/introducer/introducer_device_id"
"checks/syncthing/introducer/introducer_test_api"
- "docs/site/static/asciinema-player/asciinema-player.css"
- "docs/site/static/asciinema-player/asciinema-player.min.js"
"nixosModules/clanCore/vars/secret/sops/eval-tests/populated/vars/my_machine/my_generator/my_secret"
"pkgs/clan-cli/clan_cli/tests/data/gnupg.conf"
"pkgs/clan-cli/clan_cli/tests/data/password-store/.gpg-id"
@@ -94,9 +92,6 @@
"*.yaml"
"*.yml"
];
- excludes = [
- "*/asciinema-player/*"
- ];
};
treefmt.programs.mypy.directories = {
"clan-cli" = {