doc: mdbook init
This commit is contained in:
parent
486d8457fa
commit
18472e1933
4 changed files with 15 additions and 3 deletions
3
doc/.gitignore
vendored
3
doc/.gitignore
vendored
|
|
@ -1,2 +1 @@
|
|||
html
|
||||
*.org.*.lean
|
||||
out
|
||||
|
|
|
|||
1
doc/SUMMARY.md
Normal file
1
doc/SUMMARY.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Language Reference
|
||||
12
doc/book.toml
Normal file
12
doc/book.toml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[book]
|
||||
authors = ["Leonardo de Moura", "Sebastian Ullrich"]
|
||||
language = "en"
|
||||
multilingual = false
|
||||
src = "."
|
||||
title = "Lean Manual"
|
||||
|
||||
[build]
|
||||
build-dir = "out"
|
||||
|
||||
[output.html]
|
||||
git-repository-url = "https://github.com/leanprover/lean4"
|
||||
|
|
@ -27,7 +27,7 @@ exit 0
|
|||
};
|
||||
shell = pkgs.mkShell.override { stdenv = lean.stdenv; } rec {
|
||||
inputsFrom = [ lean ];
|
||||
buildInputs = with pkgs; [ temci ccache ];
|
||||
buildInputs = with pkgs; [ temci ccache mdbook ];
|
||||
# https://github.com/NixOS/nixpkgs/issues/60919
|
||||
hardeningDisable = [ "all" ];
|
||||
# more convenient `ctest` output
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue