Skip to content

Commit c4f2bf7

Browse files
committed
---
yaml --- r: 5969 b: refs/heads/master c: 1b75e5c h: refs/heads/master i: 5967: 30e730a v: v3
1 parent 022cd88 commit c4f2bf7

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 197c8543fee886f53a331ab6fb07e393d9381da1
2+
refs/heads/master: 1b75e5c315f00e6a10b1eca0a2f501107fd8063e

trunk/doc/std.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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+
}

trunk/mk/docs.mk

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ docsnap: doc/rust.pdf
2020
@$(call E, snap: doc/rust-$(shell date +"%Y-%m-%d")-snap.pdf)
2121
$(Q)mv $< doc/rust-$(shell date +"%Y-%m-%d")-snap.pdf
2222

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 \
2424
$(STDLIB_CRATE) $(STDLIB_INPUTS)
2525
@$(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
2727

2828
nd/std/Languages.txt: $(S)doc/Languages.txt
2929
@$(call E, cp: $@)
@@ -32,3 +32,7 @@ nd/std/Languages.txt: $(S)doc/Languages.txt
3232
nd/std/Topics.txt: $(S)doc/Topics.txt
3333
@$(call E, cp: $@)
3434
$(Q)cp $< $@
35+
36+
nd/std/std.css: $(S)doc/std.css
37+
@$(call E, cp: $@)
38+
$(Q)cp $< $@

0 commit comments

Comments
 (0)