Skip to content

Commit

Permalink
build(docs): fetch pdoc template from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkolenz committed Nov 19, 2024
1 parent 1b32aca commit c944e84
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 267 deletions.
9 changes: 8 additions & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,19 @@
lib,
stdenv,
callPackage,
fetchFromGitHub,
uv2nix,
pyproject-nix,
python3,
tbb_2021_11,
}:
let
pdocRepo = fetchFromGitHub {
owner = "mitmproxy";
repo = "pdoc";
rev = "v15.0.0";
hash = "sha256-6XEcHhaKkxY/FU748f+OsTcSgrM4iQTmJAL8rJ3EqnY=";
};
workspace = uv2nix.lib.workspace.loadWorkspace { workspaceRoot = ./.; };
projectOverlay = workspace.mkPyprojectOverlay {
sourcePreference = "wheel";
Expand Down Expand Up @@ -98,7 +105,7 @@ let
pdoc \
-d google \
-t pdoc-template \
-t ${pdocRepo}/examples/dark-mode \
--math \
--logo https://raw.githubusercontent.com/wi2trier/cbrkit/main/assets/logo.png \
-o "$out" \
Expand Down
246 changes: 0 additions & 246 deletions pdoc-template/syntax-highlighting.css

This file was deleted.

20 changes: 0 additions & 20 deletions pdoc-template/theme.css

This file was deleted.

0 comments on commit c944e84

Please sign in to comment.