middleman-pagegroups 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +8 -1
- data/.yardopts +8 -0
- data/CHANGELOG.md +24 -4
- data/README.md +5 -5
- data/Rakefile +201 -7
- data/documentation_project/Gemfile +2 -2
- data/documentation_project/config.rb +15 -19
- data/documentation_project/source/documentation/100_nested_folder/another_file.html.md.erb +19 -0
- data/documentation_project/source/documentation/100_nested_folder/index.html.md.erb +25 -0
- data/documentation_project/source/documentation/100_nested_folder/one_file.html.md.erb +11 -0
- data/documentation_project/source/documentation/100_nested_folder/stray.txt +6 -0
- data/documentation_project/source/documentation/10_concepts.html.md.erb +1 -1
- data/documentation_project/source/documentation/20_directory_organization.html.md.erb +12 -10
- data/documentation_project/source/documentation/40_resources.html.md.erb +3 -68
- data/documentation_project/source/documentation/50_helpers.html.md.erb +41 -163
- data/documentation_project/source/documentation/60_sample_partials.html.md.erb +23 -22
- data/documentation_project/source/documentation/80_config.html.md.erb +6 -0
- data/documentation_project/source/documentation/90_cli.html.md.erb +47 -0
- data/documentation_project/source/partials/_yard_config.erb +744 -0
- data/documentation_project/source/partials/_yard_helpers.erb +710 -0
- data/documentation_project/source/partials/_yard_helpers_css.erb +523 -0
- data/documentation_project/source/partials/_yard_helpers_extended.erb +56 -0
- data/documentation_project/source/partials/_yard_resources.erb +540 -0
- data/documentation_project/source/stylesheets/_middlemac_minimal.scss +287 -0
- data/features/helpers_and_resources.feature +120 -0
- data/features/support/env.rb +20 -0
- data/fixtures/middleman_pagegroups_app/config.rb +17 -0
- data/fixtures/middleman_pagegroups_app/source/20_sub_folder_02/index.html.md.erb +8 -0
- data/fixtures/middleman_pagegroups_app/source/20_sub_folder_02/not_legitimate.html.md.erb +8 -0
- data/fixtures/middleman_pagegroups_app/source/20_sub_folder_02/sibling_one.html.md.erb +8 -0
- data/fixtures/middleman_pagegroups_app/source/20_sub_folder_02/sibling_two.html.md.erb +8 -0
- data/fixtures/middleman_pagegroups_app/source/_partial.md.erb +111 -0
- data/fixtures/middleman_pagegroups_app/source/index.html.md.erb +23 -0
- data/fixtures/middleman_pagegroups_app/source/layout.erb +6 -0
- data/fixtures/middleman_pagegroups_app/source/sub_folder_01/10_sibling_one.html.md.erb +7 -0
- data/fixtures/middleman_pagegroups_app/source/sub_folder_01/20_sibling_two.html.md.erb +7 -0
- data/fixtures/middleman_pagegroups_app/source/sub_folder_01/30_sibling_three.html.md.erb +7 -0
- data/fixtures/middleman_pagegroups_app/source/sub_folder_01/index.html.md.erb +9 -0
- data/lib/middleman-pagegroups/extension.rb +468 -110
- data/lib/middleman-pagegroups/partials.rb +9 -12
- data/lib/middleman-pagegroups/version.rb +1 -1
- data/middleman-pagegroups.gemspec +10 -2
- data/yard/readme.md +5 -0
- data/yard/template-grouped/default/module/html/method_details_list.erb +11 -0
- data/yard/template-partials/default/method_details/setup.rb +4 -0
- data/yard/template-partials/default/module/html/attribute_details.erb +9 -0
- data/yard/template-partials/default/module/html/method_details_list.erb +10 -0
- data/yard/template-partials/default/module/setup.rb +6 -0
- data/yard/template-partials/default/onefile/html/layout.erb +1 -0
- data/yard/template-partials/default/onefile/html/setup.rb +4 -0
- data/yard/yard_extensions.rb +109 -0
- metadata +105 -7
@@ -96,3 +96,9 @@ end
|
|
96
96
|
|
97
97
|
The block above is taken directly from this project’s `config.rb`. The comments
|
98
98
|
in the code above describe the purpose of each setting.
|
99
|
+
|
100
|
+
## Configuration Reference
|
101
|
+
|
102
|
+
Below is the complete configuration reference.
|
103
|
+
|
104
|
+
<%= partial 'partials/yard_config' %>
|
@@ -0,0 +1,47 @@
|
|
1
|
+
---
|
2
|
+
title: Command Line Interface
|
3
|
+
id: cli
|
4
|
+
blurb: <code>middleman-pagegroups</code> has a small CLI.
|
5
|
+
layout: template-logo-medium
|
6
|
+
navigator: true
|
7
|
+
---
|
8
|
+
|
9
|
+
# <%= current_page.data.title %>
|
10
|
+
|
11
|
+
`middleman-pagegroups` has a small command line interface that might be useful
|
12
|
+
for generating sample documentation or installing the sample partials.
|
13
|
+
|
14
|
+
The CLI takes the format:
|
15
|
+
|
16
|
+
~~~ bash
|
17
|
+
middleman-pagegroups command [options]
|
18
|
+
~~~
|
19
|
+
|
20
|
+
…where the following commands are available.
|
21
|
+
|
22
|
+
`documentation`
|
23
|
+
|
24
|
+
: Produces a sample project named `middleman-pagegroups-docs/` in your current
|
25
|
+
working directory. This sample uses the features of this gem. You can then
|
26
|
+
serve this new project to read the documentation by:
|
27
|
+
|
28
|
+
~~~ bash
|
29
|
+
cd middleman-pagegroups-docs
|
30
|
+
bundle install
|
31
|
+
bundle exec middleman server
|
32
|
+
~~~
|
33
|
+
|
34
|
+
|
35
|
+
`help`
|
36
|
+
|
37
|
+
: Displays CLI usage help.
|
38
|
+
|
39
|
+
`partials` [_directory_]
|
40
|
+
|
41
|
+
: Produces sample partial files into your current working directory, or into
|
42
|
+
_`directory`_ if you specify one. These partials can then be used using
|
43
|
+
Middleman's `partials` helper in your own projects.
|
44
|
+
|
45
|
+
`--version` or `-v`
|
46
|
+
|
47
|
+
: Displays the version of `middleman-pagegroups`.
|
@@ -0,0 +1,744 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
<div id="instance_attr_details" class="attr_details">
|
6
|
+
|
7
|
+
|
8
|
+
<span id="options[:extend_page_class]=-instance_method"></span>
|
9
|
+
<div class="method_details first">
|
10
|
+
<h3 class="signature first" id="options[:extend_page_class]=-instance_method">
|
11
|
+
|
12
|
+
- (<tt>Boolean</tt>) <strong>options[:extend_page_class]=</strong>(value)
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
</h3><div class="docstring">
|
19
|
+
<div class="discussion">
|
20
|
+
<p>If true then the default <strong>Middleman</strong> <code>page_class</code> helper will be extended
|
21
|
+
to include simple <code>group</code> and <code>page_name</code> for each resource.</p>
|
22
|
+
|
23
|
+
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
<div class="tags">
|
27
|
+
<p class="tag_title">Parameters:</p>
|
28
|
+
<ul class="param">
|
29
|
+
|
30
|
+
<li>
|
31
|
+
|
32
|
+
<span class='name'>value</span>
|
33
|
+
|
34
|
+
|
35
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
—
|
40
|
+
<div class='inline'><p><code>true</code> or <code>false</code> to enable or disable this feature.</p>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
</li>
|
44
|
+
|
45
|
+
</ul>
|
46
|
+
|
47
|
+
<p class="tag_title">Returns:</p>
|
48
|
+
<ul class="return">
|
49
|
+
|
50
|
+
<li>
|
51
|
+
|
52
|
+
|
53
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
—
|
58
|
+
<div class='inline'><p>Returns the current value of this option.</p>
|
59
|
+
</div>
|
60
|
+
|
61
|
+
</li>
|
62
|
+
|
63
|
+
</ul>
|
64
|
+
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
|
68
|
+
|
69
|
+
<span id="options[:nav_breadcrumbs_alt_class]=-instance_method"></span>
|
70
|
+
<div class="method_details ">
|
71
|
+
<h3 class="signature " id="options[:nav_breadcrumbs_alt_class]=-instance_method">
|
72
|
+
|
73
|
+
- (<tt>String</tt>) <strong>options[:nav_breadcrumbs_alt_class]=</strong>(value)
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
</h3><div class="docstring">
|
80
|
+
<div class="discussion">
|
81
|
+
<p>Default css class for the <code>nav_breadcrumbs_alt</code> helper/partial.</p>
|
82
|
+
|
83
|
+
|
84
|
+
</div>
|
85
|
+
</div>
|
86
|
+
<div class="tags">
|
87
|
+
<p class="tag_title">Parameters:</p>
|
88
|
+
<ul class="param">
|
89
|
+
|
90
|
+
<li>
|
91
|
+
|
92
|
+
<span class='name'>value</span>
|
93
|
+
|
94
|
+
|
95
|
+
<span class='type'>(<tt>String</tt>)</span>
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
—
|
100
|
+
<div class='inline'><p>The <code>class</code> attribute value to use for this item’s
|
101
|
+
containing element.</p>
|
102
|
+
</div>
|
103
|
+
|
104
|
+
</li>
|
105
|
+
|
106
|
+
</ul>
|
107
|
+
|
108
|
+
<p class="tag_title">Returns:</p>
|
109
|
+
<ul class="return">
|
110
|
+
|
111
|
+
<li>
|
112
|
+
|
113
|
+
|
114
|
+
<span class='type'>(<tt>String</tt>)</span>
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
—
|
119
|
+
<div class='inline'><p>Returns the current value of this option.</p>
|
120
|
+
</div>
|
121
|
+
|
122
|
+
</li>
|
123
|
+
|
124
|
+
</ul>
|
125
|
+
|
126
|
+
</div>
|
127
|
+
</div>
|
128
|
+
|
129
|
+
|
130
|
+
<span id="options[:nav_breadcrumbs_alt_label]=-instance_method"></span>
|
131
|
+
<div class="method_details ">
|
132
|
+
<h3 class="signature " id="options[:nav_breadcrumbs_alt_label]=-instance_method">
|
133
|
+
|
134
|
+
- (<tt>String</tt>) <strong>options[:nav_breadcrumbs_alt_label]=</strong>(value)
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
</h3><div class="docstring">
|
141
|
+
<div class="discussion">
|
142
|
+
<p>Default “current page” label for the <code>nav_breadcrumbs_alt</code> helper/partial.</p>
|
143
|
+
|
144
|
+
|
145
|
+
</div>
|
146
|
+
</div>
|
147
|
+
<div class="tags">
|
148
|
+
<p class="tag_title">Parameters:</p>
|
149
|
+
<ul class="param">
|
150
|
+
|
151
|
+
<li>
|
152
|
+
|
153
|
+
<span class='name'>value</span>
|
154
|
+
|
155
|
+
|
156
|
+
<span class='type'>(<tt>String</tt>)</span>
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
—
|
161
|
+
<div class='inline'><p>The <code>class</code> attribute value to use for this item’s
|
162
|
+
containing element.</p>
|
163
|
+
</div>
|
164
|
+
|
165
|
+
</li>
|
166
|
+
|
167
|
+
</ul>
|
168
|
+
|
169
|
+
<p class="tag_title">Returns:</p>
|
170
|
+
<ul class="return">
|
171
|
+
|
172
|
+
<li>
|
173
|
+
|
174
|
+
|
175
|
+
<span class='type'>(<tt>String</tt>)</span>
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
—
|
180
|
+
<div class='inline'><p>Returns the current value of this option.</p>
|
181
|
+
</div>
|
182
|
+
|
183
|
+
</li>
|
184
|
+
|
185
|
+
</ul>
|
186
|
+
|
187
|
+
</div>
|
188
|
+
</div>
|
189
|
+
|
190
|
+
|
191
|
+
<span id="options[:nav_breadcrumbs_class]=-instance_method"></span>
|
192
|
+
<div class="method_details ">
|
193
|
+
<h3 class="signature " id="options[:nav_breadcrumbs_class]=-instance_method">
|
194
|
+
|
195
|
+
- (<tt>String</tt>) <strong>options[:nav_breadcrumbs_class]=</strong>(value)
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
</h3><div class="docstring">
|
202
|
+
<div class="discussion">
|
203
|
+
<p>Default css class for the <code>nav_breadcrumbs</code> helper/partial.</p>
|
204
|
+
|
205
|
+
|
206
|
+
</div>
|
207
|
+
</div>
|
208
|
+
<div class="tags">
|
209
|
+
<p class="tag_title">Parameters:</p>
|
210
|
+
<ul class="param">
|
211
|
+
|
212
|
+
<li>
|
213
|
+
|
214
|
+
<span class='name'>value</span>
|
215
|
+
|
216
|
+
|
217
|
+
<span class='type'>(<tt>String</tt>)</span>
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
—
|
222
|
+
<div class='inline'><p>The <code>class</code> attribute value to use for this item’s
|
223
|
+
containing element.</p>
|
224
|
+
</div>
|
225
|
+
|
226
|
+
</li>
|
227
|
+
|
228
|
+
</ul>
|
229
|
+
|
230
|
+
<p class="tag_title">Returns:</p>
|
231
|
+
<ul class="return">
|
232
|
+
|
233
|
+
<li>
|
234
|
+
|
235
|
+
|
236
|
+
<span class='type'>(<tt>String</tt>)</span>
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
—
|
241
|
+
<div class='inline'><p>Returns the current value of this option.</p>
|
242
|
+
</div>
|
243
|
+
|
244
|
+
</li>
|
245
|
+
|
246
|
+
</ul>
|
247
|
+
|
248
|
+
</div>
|
249
|
+
</div>
|
250
|
+
|
251
|
+
|
252
|
+
<span id="options[:nav_brethren_class]=-instance_method"></span>
|
253
|
+
<div class="method_details ">
|
254
|
+
<h3 class="signature " id="options[:nav_brethren_class]=-instance_method">
|
255
|
+
|
256
|
+
- (<tt>String</tt>) <strong>options[:nav_brethren_class]=</strong>(value)
|
257
|
+
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
|
262
|
+
</h3><div class="docstring">
|
263
|
+
<div class="discussion">
|
264
|
+
<p>Default css class for the <code>nav_brethren</code> helper/partial.</p>
|
265
|
+
|
266
|
+
|
267
|
+
</div>
|
268
|
+
</div>
|
269
|
+
<div class="tags">
|
270
|
+
<p class="tag_title">Parameters:</p>
|
271
|
+
<ul class="param">
|
272
|
+
|
273
|
+
<li>
|
274
|
+
|
275
|
+
<span class='name'>value</span>
|
276
|
+
|
277
|
+
|
278
|
+
<span class='type'>(<tt>String</tt>)</span>
|
279
|
+
|
280
|
+
|
281
|
+
|
282
|
+
—
|
283
|
+
<div class='inline'><p>The <code>class</code> attribute value to use for this item’s
|
284
|
+
containing element.</p>
|
285
|
+
</div>
|
286
|
+
|
287
|
+
</li>
|
288
|
+
|
289
|
+
</ul>
|
290
|
+
|
291
|
+
<p class="tag_title">Returns:</p>
|
292
|
+
<ul class="return">
|
293
|
+
|
294
|
+
<li>
|
295
|
+
|
296
|
+
|
297
|
+
<span class='type'>(<tt>String</tt>)</span>
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
—
|
302
|
+
<div class='inline'><p>Returns the current value of this option.</p>
|
303
|
+
</div>
|
304
|
+
|
305
|
+
</li>
|
306
|
+
|
307
|
+
</ul>
|
308
|
+
|
309
|
+
</div>
|
310
|
+
</div>
|
311
|
+
|
312
|
+
|
313
|
+
<span id="options[:nav_brethren_index_class]=-instance_method"></span>
|
314
|
+
<div class="method_details ">
|
315
|
+
<h3 class="signature " id="options[:nav_brethren_index_class]=-instance_method">
|
316
|
+
|
317
|
+
- (<tt>String</tt>) <strong>options[:nav_brethren_index_class]=</strong>(value)
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
</h3><div class="docstring">
|
324
|
+
<div class="discussion">
|
325
|
+
<p>Default css class for the <code>nav_brethren_index</code> helper/partial.</p>
|
326
|
+
|
327
|
+
|
328
|
+
</div>
|
329
|
+
</div>
|
330
|
+
<div class="tags">
|
331
|
+
<p class="tag_title">Parameters:</p>
|
332
|
+
<ul class="param">
|
333
|
+
|
334
|
+
<li>
|
335
|
+
|
336
|
+
<span class='name'>value</span>
|
337
|
+
|
338
|
+
|
339
|
+
<span class='type'>(<tt>String</tt>)</span>
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
—
|
344
|
+
<div class='inline'><p>The <code>class</code> attribute value to use for this item’s
|
345
|
+
containing element.</p>
|
346
|
+
</div>
|
347
|
+
|
348
|
+
</li>
|
349
|
+
|
350
|
+
</ul>
|
351
|
+
|
352
|
+
<p class="tag_title">Returns:</p>
|
353
|
+
<ul class="return">
|
354
|
+
|
355
|
+
<li>
|
356
|
+
|
357
|
+
|
358
|
+
<span class='type'>(<tt>String</tt>)</span>
|
359
|
+
|
360
|
+
|
361
|
+
|
362
|
+
—
|
363
|
+
<div class='inline'><p>Returns the current value of this option.</p>
|
364
|
+
</div>
|
365
|
+
|
366
|
+
</li>
|
367
|
+
|
368
|
+
</ul>
|
369
|
+
|
370
|
+
</div>
|
371
|
+
</div>
|
372
|
+
|
373
|
+
|
374
|
+
<span id="options[:nav_legitimate_children_class]=-instance_method"></span>
|
375
|
+
<div class="method_details ">
|
376
|
+
<h3 class="signature " id="options[:nav_legitimate_children_class]=-instance_method">
|
377
|
+
|
378
|
+
- (<tt>String</tt>) <strong>options[:nav_legitimate_children_class]=</strong>(value)
|
379
|
+
|
380
|
+
|
381
|
+
|
382
|
+
|
383
|
+
|
384
|
+
</h3><div class="docstring">
|
385
|
+
<div class="discussion">
|
386
|
+
<p>Default css class for the <code>nav_legitimate_children</code> helper/partial.</p>
|
387
|
+
|
388
|
+
|
389
|
+
</div>
|
390
|
+
</div>
|
391
|
+
<div class="tags">
|
392
|
+
<p class="tag_title">Parameters:</p>
|
393
|
+
<ul class="param">
|
394
|
+
|
395
|
+
<li>
|
396
|
+
|
397
|
+
<span class='name'>value</span>
|
398
|
+
|
399
|
+
|
400
|
+
<span class='type'>(<tt>String</tt>)</span>
|
401
|
+
|
402
|
+
|
403
|
+
|
404
|
+
—
|
405
|
+
<div class='inline'><p>The <code>class</code> attribute value to use for this item’s
|
406
|
+
containing element.</p>
|
407
|
+
</div>
|
408
|
+
|
409
|
+
</li>
|
410
|
+
|
411
|
+
</ul>
|
412
|
+
|
413
|
+
<p class="tag_title">Returns:</p>
|
414
|
+
<ul class="return">
|
415
|
+
|
416
|
+
<li>
|
417
|
+
|
418
|
+
|
419
|
+
<span class='type'>(<tt>String</tt>)</span>
|
420
|
+
|
421
|
+
|
422
|
+
|
423
|
+
—
|
424
|
+
<div class='inline'><p>Returns the current value of this option.</p>
|
425
|
+
</div>
|
426
|
+
|
427
|
+
</li>
|
428
|
+
|
429
|
+
</ul>
|
430
|
+
|
431
|
+
</div>
|
432
|
+
</div>
|
433
|
+
|
434
|
+
|
435
|
+
<span id="options[:nav_prev_next_class]=-instance_method"></span>
|
436
|
+
<div class="method_details ">
|
437
|
+
<h3 class="signature " id="options[:nav_prev_next_class]=-instance_method">
|
438
|
+
|
439
|
+
- (<tt>String</tt>) <strong>options[:nav_prev_next_class]=</strong>(value)
|
440
|
+
|
441
|
+
|
442
|
+
|
443
|
+
|
444
|
+
|
445
|
+
</h3><div class="docstring">
|
446
|
+
<div class="discussion">
|
447
|
+
<p>Default css class for the <code>nav_prev_next</code> helper/partial.</p>
|
448
|
+
|
449
|
+
|
450
|
+
</div>
|
451
|
+
</div>
|
452
|
+
<div class="tags">
|
453
|
+
<p class="tag_title">Parameters:</p>
|
454
|
+
<ul class="param">
|
455
|
+
|
456
|
+
<li>
|
457
|
+
|
458
|
+
<span class='name'>value</span>
|
459
|
+
|
460
|
+
|
461
|
+
<span class='type'>(<tt>String</tt>)</span>
|
462
|
+
|
463
|
+
|
464
|
+
|
465
|
+
—
|
466
|
+
<div class='inline'><p>The <code>class</code> attribute value to use for this item’s
|
467
|
+
containing element.</p>
|
468
|
+
</div>
|
469
|
+
|
470
|
+
</li>
|
471
|
+
|
472
|
+
</ul>
|
473
|
+
|
474
|
+
<p class="tag_title">Returns:</p>
|
475
|
+
<ul class="return">
|
476
|
+
|
477
|
+
<li>
|
478
|
+
|
479
|
+
|
480
|
+
<span class='type'>(<tt>String</tt>)</span>
|
481
|
+
|
482
|
+
|
483
|
+
|
484
|
+
—
|
485
|
+
<div class='inline'><p>Returns the current value of this option.</p>
|
486
|
+
</div>
|
487
|
+
|
488
|
+
</li>
|
489
|
+
|
490
|
+
</ul>
|
491
|
+
|
492
|
+
</div>
|
493
|
+
</div>
|
494
|
+
|
495
|
+
|
496
|
+
<span id="options[:nav_prev_next_label_next]=-instance_method"></span>
|
497
|
+
<div class="method_details ">
|
498
|
+
<h3 class="signature " id="options[:nav_prev_next_label_next]=-instance_method">
|
499
|
+
|
500
|
+
- (<tt>String</tt>) <strong>options[:nav_prev_next_label_next]=</strong>(value)
|
501
|
+
|
502
|
+
|
503
|
+
|
504
|
+
|
505
|
+
|
506
|
+
</h3><div class="docstring">
|
507
|
+
<div class="discussion">
|
508
|
+
<p>Default “next” label text for the <code>nav_prev_next</code> helper/partial.</p>
|
509
|
+
|
510
|
+
|
511
|
+
</div>
|
512
|
+
</div>
|
513
|
+
<div class="tags">
|
514
|
+
<p class="tag_title">Parameters:</p>
|
515
|
+
<ul class="param">
|
516
|
+
|
517
|
+
<li>
|
518
|
+
|
519
|
+
<span class='name'>value</span>
|
520
|
+
|
521
|
+
|
522
|
+
<span class='type'>(<tt>String</tt>)</span>
|
523
|
+
|
524
|
+
|
525
|
+
|
526
|
+
—
|
527
|
+
<div class='inline'><p>The <code>class</code> attribute value to use for this item’s
|
528
|
+
containing element.</p>
|
529
|
+
</div>
|
530
|
+
|
531
|
+
</li>
|
532
|
+
|
533
|
+
</ul>
|
534
|
+
|
535
|
+
<p class="tag_title">Returns:</p>
|
536
|
+
<ul class="return">
|
537
|
+
|
538
|
+
<li>
|
539
|
+
|
540
|
+
|
541
|
+
<span class='type'>(<tt>String</tt>)</span>
|
542
|
+
|
543
|
+
|
544
|
+
|
545
|
+
—
|
546
|
+
<div class='inline'><p>Returns the current value of this option.</p>
|
547
|
+
</div>
|
548
|
+
|
549
|
+
</li>
|
550
|
+
|
551
|
+
</ul>
|
552
|
+
|
553
|
+
</div>
|
554
|
+
</div>
|
555
|
+
|
556
|
+
|
557
|
+
<span id="options[:nav_prev_next_label_prev]=-instance_method"></span>
|
558
|
+
<div class="method_details ">
|
559
|
+
<h3 class="signature " id="options[:nav_prev_next_label_prev]=-instance_method">
|
560
|
+
|
561
|
+
- (<tt>String</tt>) <strong>options[:nav_prev_next_label_prev]=</strong>(value)
|
562
|
+
|
563
|
+
|
564
|
+
|
565
|
+
|
566
|
+
|
567
|
+
</h3><div class="docstring">
|
568
|
+
<div class="discussion">
|
569
|
+
<p>Default “previous” label text for the <code>nav_prev_next</code> helper/partial.</p>
|
570
|
+
|
571
|
+
|
572
|
+
</div>
|
573
|
+
</div>
|
574
|
+
<div class="tags">
|
575
|
+
<p class="tag_title">Parameters:</p>
|
576
|
+
<ul class="param">
|
577
|
+
|
578
|
+
<li>
|
579
|
+
|
580
|
+
<span class='name'>value</span>
|
581
|
+
|
582
|
+
|
583
|
+
<span class='type'>(<tt>String</tt>)</span>
|
584
|
+
|
585
|
+
|
586
|
+
|
587
|
+
—
|
588
|
+
<div class='inline'><p>The <code>class</code> attribute value to use for this item’s
|
589
|
+
containing element.</p>
|
590
|
+
</div>
|
591
|
+
|
592
|
+
</li>
|
593
|
+
|
594
|
+
</ul>
|
595
|
+
|
596
|
+
<p class="tag_title">Returns:</p>
|
597
|
+
<ul class="return">
|
598
|
+
|
599
|
+
<li>
|
600
|
+
|
601
|
+
|
602
|
+
<span class='type'>(<tt>String</tt>)</span>
|
603
|
+
|
604
|
+
|
605
|
+
|
606
|
+
—
|
607
|
+
<div class='inline'><p>Returns the current value of this option.</p>
|
608
|
+
</div>
|
609
|
+
|
610
|
+
</li>
|
611
|
+
|
612
|
+
</ul>
|
613
|
+
|
614
|
+
</div>
|
615
|
+
</div>
|
616
|
+
|
617
|
+
|
618
|
+
<span id="options[:nav_toc_index_class]=-instance_method"></span>
|
619
|
+
<div class="method_details ">
|
620
|
+
<h3 class="signature " id="options[:nav_toc_index_class]=-instance_method">
|
621
|
+
|
622
|
+
- (<tt>String</tt>) <strong>options[:nav_toc_index_class]=</strong>(value)
|
623
|
+
|
624
|
+
|
625
|
+
|
626
|
+
|
627
|
+
|
628
|
+
</h3><div class="docstring">
|
629
|
+
<div class="discussion">
|
630
|
+
<p>Default css class for the <code>nav_toc_index</code> helper/partial.</p>
|
631
|
+
|
632
|
+
|
633
|
+
</div>
|
634
|
+
</div>
|
635
|
+
<div class="tags">
|
636
|
+
<p class="tag_title">Parameters:</p>
|
637
|
+
<ul class="param">
|
638
|
+
|
639
|
+
<li>
|
640
|
+
|
641
|
+
<span class='name'>value</span>
|
642
|
+
|
643
|
+
|
644
|
+
<span class='type'>(<tt>String</tt>)</span>
|
645
|
+
|
646
|
+
|
647
|
+
|
648
|
+
—
|
649
|
+
<div class='inline'><p>The <code>class</code> attribute value to use for this item’s
|
650
|
+
containing element.</p>
|
651
|
+
</div>
|
652
|
+
|
653
|
+
</li>
|
654
|
+
|
655
|
+
</ul>
|
656
|
+
|
657
|
+
<p class="tag_title">Returns:</p>
|
658
|
+
<ul class="return">
|
659
|
+
|
660
|
+
<li>
|
661
|
+
|
662
|
+
|
663
|
+
<span class='type'>(<tt>String</tt>)</span>
|
664
|
+
|
665
|
+
|
666
|
+
|
667
|
+
—
|
668
|
+
<div class='inline'><p>Returns the current value of this option.</p>
|
669
|
+
</div>
|
670
|
+
|
671
|
+
</li>
|
672
|
+
|
673
|
+
</ul>
|
674
|
+
|
675
|
+
</div>
|
676
|
+
</div>
|
677
|
+
|
678
|
+
|
679
|
+
<span id="options[:strip_file_prefixes]=-instance_method"></span>
|
680
|
+
<div class="method_details ">
|
681
|
+
<h3 class="signature " id="options[:strip_file_prefixes]=-instance_method">
|
682
|
+
|
683
|
+
- (<tt>Boolean</tt>) <strong>options[:strip_file_prefixes]=</strong>(value)
|
684
|
+
|
685
|
+
|
686
|
+
|
687
|
+
|
688
|
+
|
689
|
+
</h3><div class="docstring">
|
690
|
+
<div class="discussion">
|
691
|
+
<p>If <code>true</code> leading numbers used for sorting files will be removed for
|
692
|
+
presentation purposes. This makes it possible to neatly organize your
|
693
|
+
source files in their presentation order on your filesystem but output
|
694
|
+
nice filenames without ugly prefix numbers.</p>
|
695
|
+
|
696
|
+
|
697
|
+
</div>
|
698
|
+
</div>
|
699
|
+
<div class="tags">
|
700
|
+
<p class="tag_title">Parameters:</p>
|
701
|
+
<ul class="param">
|
702
|
+
|
703
|
+
<li>
|
704
|
+
|
705
|
+
<span class='name'>value</span>
|
706
|
+
|
707
|
+
|
708
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
709
|
+
|
710
|
+
|
711
|
+
|
712
|
+
—
|
713
|
+
<div class='inline'><p><code>true</code> or <code>false</code> to enable or disable this feature.</p>
|
714
|
+
</div>
|
715
|
+
|
716
|
+
</li>
|
717
|
+
|
718
|
+
</ul>
|
719
|
+
|
720
|
+
<p class="tag_title">Returns:</p>
|
721
|
+
<ul class="return">
|
722
|
+
|
723
|
+
<li>
|
724
|
+
|
725
|
+
|
726
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
727
|
+
|
728
|
+
|
729
|
+
|
730
|
+
—
|
731
|
+
<div class='inline'><p>Returns the current value of this option.</p>
|
732
|
+
</div>
|
733
|
+
|
734
|
+
</li>
|
735
|
+
|
736
|
+
</ul>
|
737
|
+
|
738
|
+
</div>
|
739
|
+
</div>
|
740
|
+
|
741
|
+
</div>
|
742
|
+
|
743
|
+
|
744
|
+
|