summaryrefslogtreecommitdiff
path: root/docs/.nix
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-11-07 17:49:12 +0100
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-11-07 17:49:12 +0100
commitbeed9c20da5fbacf8626e2d4b747bb84ae7f6d93 (patch)
tree3835bcdc4180b7e2c68a51f8b1e1c759f298bd1d /docs/.nix
parent25b8bc7c4bbd914f27d745bea07e0bc66c9841b1 (diff)
downloadforstio-forstio-beed9c20da5fbacf8626e2d4b747bb84ae7f6d93.tar.gz
Moved docs around
Diffstat (limited to 'docs/.nix')
-rw-r--r--docs/.nix/derivation.nix42
1 files changed, 0 insertions, 42 deletions
diff --git a/docs/.nix/derivation.nix b/docs/.nix/derivation.nix
deleted file mode 100644
index a6dee7d..0000000
--- a/docs/.nix/derivation.nix
+++ /dev/null
@@ -1,42 +0,0 @@
-{ lib
-, stdenvNoCC
-, python3
-, python3Packages
-, doxygen
-, gasp
-, version
-}:
-
-stdenvNoCC.mkDerivation {
- pname = "forstio-docs";
- inherit version;
-
- src = ../../.;
-
- nativeBuildInputs = [
- python3
- python3Packages.sphinx
- python3Packages.sphinx-rtd-theme
- doxygen
- gasp
- ];
-
- buildPhase = ''
- # C++ API generation
- pushd docs
- doxygen Doxygen.in
- python3 ${gasp.outPath}/bin/gasp.py xml --namespace saw > cpp_map.json
- # C++ and C template generation
- mkdir -p source/cpp_api
- python3 ${gasp.outPath}/bin/make_rst.py --title="C++" -t ${gasp.outPath}/templates/rst -m cpp_map.json -o source/cpp_api
- make html
- popd
- '';
-
- installPhase = ''
- mkdir -p $out
- pushd docs
- mv build/html $out/html
- popd
- '';
-}