File tree 2 files changed +16
-4
lines changed
2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -43,23 +43,34 @@ define runsile =
43
43
endef
44
44
45
45
.PHONY : static
46
- static : examples lua-api-docs
46
+ static : examples lua-api-docs rust-api-docs
47
47
48
48
DOCSBRANCH = master
49
+
49
50
.PHONY : lua-api-docs
50
51
lua-api-docs : static/lua-api/index.html
51
52
52
53
static/lua-api/index.html : sile-sources-$(DOCSBRANCH )
53
54
pushd $<
54
- touch aminclude.am
55
- nix develop --phase autoreconf
56
- nix develop --configure
57
55
nix develop --command bash -c " make lua-api-docs"
58
56
popd
59
57
rsync -av $< /lua-api-docs/ $(@D ) /
60
58
59
+ .PHONY : rust-api-docs
60
+ rust-api-docs : static/rust-api/sile/index.html
61
+
62
+ static/rust-api/sile/index.html : sile-sources-$(DOCSBRANCH )
63
+ pushd $<
64
+ nix develop --command bash -c " make rust-api-docs"
65
+ popd
66
+ rsync -av $< /rust-api-docs/doc/ static/rust-api/
67
+
61
68
sile-sources-$(DOCSBRANCH ) :
62
69
git clone -b $(DOCSBRANCH ) --depth 1 --recurse-submodules https://github.com/sile-typesetter/sile $@
70
+ pushd $@
71
+ touch aminclude.am
72
+ nix develop --phase autoreconf
73
+ nix develop --configure
63
74
64
75
.PHONY : examples
65
76
examples : $(EXAMPLEPDFS ) $(DEVELEXAMPLEPDFS ) $(EXAMPLEPNGS ) $(EXAMPLETHBS )
Original file line number Diff line number Diff line change 9
9
</ li >
10
10
< li > < a href ="{{ get_url(path= "/manual/sile-0.15.3.pdf") }}"> Manual (PDF)</ a > </ li >
11
11
< li > < a href ="{{ get_url(path= "/lua-api/") }}"> Lua API</ a > </ li >
12
+ < li > < a href ="{{ get_url(path= "/rust-api/sile/") }}"> Rust API</ a > </ li >
12
13
< li > < a href ="{{ get_url(path= "@ /sil-grammar/index.md") }}"> SIL Grammar</ a > </ li >
13
14
< li > < a href ="https://github.com/sile-typesetter/sile/releases "> < strong > Download</ strong > </ a > </ li >
14
15
</ ul >
You can’t perform that action at this time.
0 commit comments