File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ Custom styles for the standard library docs generated by naturaldocs
3
+ */
4
+
5
+ p {
6
+ text-indent : 0 ;
7
+ margin-bottom : 1em ;
8
+ }
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ docsnap: doc/rust.pdf
20
20
@$(call E, snap: doc/rust-$(shell date +"% Y-% m-% d") -snap.pdf)
21
21
$(Q ) mv $< doc/rust-$(shell date +"% Y-% m-% d") -snap.pdf
22
22
23
- doc/std/index.html : nd/std/Languages.txt nd/std/Topics.txt \
23
+ doc/std/index.html : nd/std/Languages.txt nd/std/Topics.txt nd/std/std.css \
24
24
$(STDLIB_CRATE) $(STDLIB_INPUTS)
25
25
@$(call E, naturaldocs: $@)
26
- naturaldocs -i $(S)src/lib -o HTML doc/std -p nd/std -r
26
+ naturaldocs -i $(S)src/lib -o HTML doc/std -p nd/std -r -s Default std
27
27
28
28
nd/std/Languages.txt : $(S ) doc/Languages.txt
29
29
@$(call E, cp: $@ )
@@ -32,3 +32,7 @@ nd/std/Languages.txt: $(S)doc/Languages.txt
32
32
nd/std/Topics.txt : $(S ) doc/Topics.txt
33
33
@$(call E, cp: $@ )
34
34
$(Q ) cp $< $@
35
+
36
+ nd/std/std.css : $(S ) doc/std.css
37
+ @$(call E, cp: $@ )
38
+ $(Q ) cp $< $@
You can’t perform that action at this time.
0 commit comments