File tree Expand file tree Collapse file tree 4 files changed +17
-14
lines changed Expand file tree Collapse file tree 4 files changed +17
-14
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
5
5
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
- refs/heads/try2: 9f68f793d444285e5d7f00f57b5635ece43613b3
8
+ refs/heads/try2: f0cb0ebc669ade875c05cdef7da341a220d1b522
9
9
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
10
10
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
11
11
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change 19
19
#
20
20
# First, start with one of these build targets:
21
21
#
22
- # * all - The default. Build a complete, bootstrapped compiler.
22
+ # * all - The default. Builds a complete, bootstrapped compiler.
23
23
# `rustc` will be in `${target-triple}/stage2/bin/`. Run it
24
24
# directly from the build directory if you like. This also
25
25
# comes with docs in `doc/`.
26
26
#
27
27
# * check - Run the complete test suite
28
28
#
29
- # * clean - Clean the build repertory. It is advised to run this
30
- # command if you want to build Rust again, after an update
31
- # of the git repository.
32
- #
33
29
# * install - Install Rust. Note that installation is not necessary
34
30
# to use the compiler.
35
31
#
107
103
#
108
104
# </tips>
109
105
#
110
- # <nitty-gritty >
106
+ # <nittygritty >
111
107
#
112
108
# # The Rust Build System
113
109
#
156
152
# libraries are managed and versioned without polluting the common
157
153
# areas of the filesystem.
158
154
#
159
- # General rust binaries may still live in the host bin directory; they
155
+ # General rust binaries may stil live in the host bin directory; they
160
156
# will just link against the libraries in the target lib directory.
161
157
#
162
158
# Admittedly this is a little convoluted.
163
159
#
164
- # </nitty-gritty >
160
+ # </nittygritty >
165
161
#
166
162
167
163
# #####################################################################
Original file line number Diff line number Diff line change @@ -446,13 +446,13 @@ all: $(ALL_TARGET_RULES) $(GENERATED) docs
446
446
# $(1) is the name of the doc <section> in Makefile.in
447
447
# pick everything between tags | remove first line | remove last line
448
448
# | remove extra (?) line | strip leading `#` from lines
449
- SHOW_DOCS = $(Q ) awk '/< $(1 ) > /,/<\/$(1 ) >/' $(S ) /Makefile.in | sed '1d' | sed '$$d' | sed 's/^\# \?//'
449
+ SHOW_DOCS = $(Q ) awk '/$(1 ) /,/<\/$(1 ) >/' $(S ) /Makefile.in | sed '1d' | sed '$$d' | sed 's/^\# \?//'
450
450
451
451
help :
452
452
$(call SHOW_DOCS,help)
453
453
454
- tips :
455
- $(call SHOW_DOCS,tips )
454
+ hot- tips :
455
+ $(call SHOW_DOCS,hottips )
456
456
457
457
nitty-gritty :
458
- $(call SHOW_DOCS,nitty-gritty )
458
+ $(call SHOW_DOCS,nittygritty )
Original file line number Diff line number Diff line change @@ -565,9 +565,16 @@ impl DocFolder for Cache {
565
565
clean:: StructItem ( ..) | clean:: EnumItem ( ..) |
566
566
clean:: TypedefItem ( ..) | clean:: TraitItem ( ..) |
567
567
clean:: FunctionItem ( ..) | clean:: ModuleItem ( ..) |
568
- clean:: ForeignFunctionItem ( ..) | clean :: VariantItem ( .. ) => {
568
+ clean:: ForeignFunctionItem ( ..) => {
569
569
self . paths . insert ( item. id , ( self . stack . clone ( ) , shortty ( & item) ) ) ;
570
570
}
571
+ // link variants to their parent enum because pages aren't emitted
572
+ // for each variant
573
+ clean:: VariantItem ( ..) => {
574
+ let mut stack = self . stack . clone ( ) ;
575
+ stack. pop ( ) ;
576
+ self . paths . insert ( item. id , ( stack, "enum" ) ) ;
577
+ }
571
578
_ => { }
572
579
}
573
580
You can’t perform that action at this time.
0 commit comments