Skip to content

Commit c142028

Browse files
committed
update doc build
1 parent be7aed3 commit c142028

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# All of these options are optional, so you can remove them if you are happy with the defaults
1919
concurrent_skipping: 'never'
2020
skip_after_successful_duplicate: 'true'
21-
paths_ignore: '["**/README.md", "**/docs/**", "**/examples/**"]'
21+
paths_ignore: '["**/README.md", "**/docs/**", "**/examples/**", "**/notebooks/**"]'
2222
do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]'
2323

2424
test:

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ _test.txt
66
docs/build/
77
docs/src/generated/
88
docs/src/assets/indigo.css
9-
docs/src/notebooks
9+
docs/src/notebooks
10+
.vscode

.vscode/settings.json

Lines changed: 0 additions & 2 deletions
This file was deleted.

docs/make.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@ for each in readdir(pkgdir(GenericTensorNetworks, "examples"))
1111
endswith(input_file, ".jl") || continue
1212
@info "building" input_file
1313
output_dir = pkgdir(GenericTensorNetworks, "docs", "src", "generated")
14-
@info "executing" input_file
1514
Literate.markdown(input_file, output_dir; name=each[1:end-3], execute=false)
1615
end
1716

18-
"""Run all Pluto notebooks (".jl" files) in `notebook_dir` and write outputs to HTML files."""
19-
function build()
17+
let
18+
"""Run all Pluto notebooks (".jl" files) in `notebook_dir` and write outputs to HTML files."""
2019
notebook_dir = joinpath(pkgdir(GenericTensorNetworks), "notebooks")
2120
target_dir = joinpath(pkgdir(GenericTensorNetworks), "docs", "src", "notebooks")
2221
cp(notebook_dir, target_dir)

0 commit comments

Comments
 (0)