mirror of
https://github.com/typst/typst
synced 2025-05-14 17:15:28 +08:00
Add docs to nix src (#3537)
This commit is contained in:
parent
f5a2a9a9a6
commit
4f1d97253d
@ -37,9 +37,9 @@
|
|||||||
craneLib = crane.mkLib pkgs;
|
craneLib = crane.mkLib pkgs;
|
||||||
|
|
||||||
# Typst files to include in the derivation.
|
# Typst files to include in the derivation.
|
||||||
# Here we include Rust files, assets and tests.
|
# Here we include Rust files, docs and tests.
|
||||||
src = sourceByRegex ./. [
|
src = sourceByRegex ./. [
|
||||||
"(assets|crates|tests)(/.*)?"
|
"(docs|crates|tests)(/.*)?"
|
||||||
''Cargo\.(toml|lock)''
|
''Cargo\.(toml|lock)''
|
||||||
''build\.rs''
|
''build\.rs''
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user