File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1
1
/Manifest.toml
2
2
/docs /out /
3
+ /docs /clones /
Original file line number Diff line number Diff line change
1
+ # Script to build the MultiDocumenter demo docs
2
+ #
3
+ # julia --project docs/make.jl [--temp] [deploy]
4
+ #
5
+ # When `deploy` is passed as an argument, it goes into deployment mode
6
+ # and attempts to push the generated site to gh-pages. You can also pass
7
+ # `--temp`, in which case the source repositories are cloned into a temporary
8
+ # directory (as opposed to `docs/clones`).
1
9
using MultiDocumenter
2
10
3
- clonedir = mktempdir ()
11
+ clonedir = (" --temp" in ARGS ) ? mktempdir () : joinpath (@__DIR__ , " clones" )
12
+ outpath = mktempdir ()
13
+ @info """
14
+ Cloning packages into: $(clonedir)
15
+ Building aggregate site into: $(outpath)
16
+ """
4
17
5
18
docs = [
6
19
MultiDocumenter. DropdownNav (
@@ -69,8 +82,6 @@ docs = [
69
82
),
70
83
]
71
84
72
- outpath = mktempdir ()
73
-
74
85
MultiDocumenter. make (
75
86
outpath,
76
87
docs;
You can’t perform that action at this time.
0 commit comments