|
268 | 268 | {param text: 'Skylark' /}
|
269 | 269 | {/call}
|
270 | 270 | </ul>
|
| 271 | + {call .tocCommands} |
| 272 | + {param navid: $navid /} |
| 273 | + {/call} |
271 | 274 | <h3>Build Rules</h3>
|
272 | 275 | <ul>
|
273 | 276 | // Ugh, closure doesn't have the concept of sorting, so we cannot control the order without
|
|
394 | 397 | {call skylark.tableOfContents}
|
395 | 398 | {param navid: $navid /}
|
396 | 399 | {/call}
|
| 400 | + <h3>Extending Buck</h3> |
| 401 | + <ul> |
| 402 | + {call navigation.link} |
| 403 | + {param currentnavid: $navid /} |
| 404 | + {param folder: 'extending' /} |
| 405 | + {param page: 'macros' /} |
| 406 | + {param text: 'Custom Macros' /} |
| 407 | + {/call} |
| 408 | + {call navigation.link} |
| 409 | + {param currentnavid: $navid /} |
| 410 | + {param folder: 'extending' /} |
| 411 | + {param page: 'rules' /} |
| 412 | + {param text: 'Custom Rules' /} |
| 413 | + {/call} |
| 414 | + {call navigation.link} |
| 415 | + {param currentnavid: $navid /} |
| 416 | + {param folder: 'extending' /} |
| 417 | + {param page: 'e2e_tests' /} |
| 418 | + {param text: 'Building E2E Tests for Buck' /} |
| 419 | + {/call} |
| 420 | + </ul> |
| 421 | +{/template} |
| 422 | + |
| 423 | +/** |
| 424 | + * Table of contents for Buck commands section. |
| 425 | + * @param navid The current page's navigation id. |
| 426 | + */ |
| 427 | +{template .tocCommands} |
397 | 428 | <h3>Commands</h3>
|
398 | 429 | <ul>
|
399 | 430 | {call navigation.link}
|
|
444 | 475 | {param text: 'Exit Codes' /}
|
445 | 476 | {/call}
|
446 | 477 | </ul>
|
447 |
| - <h3>Extending Buck</h3> |
448 |
| - <ul> |
449 |
| - {call navigation.link} |
450 |
| - {param currentnavid: $navid /} |
451 |
| - {param folder: 'extending' /} |
452 |
| - {param page: 'macros' /} |
453 |
| - {param text: 'Custom Macros' /} |
454 |
| - {/call} |
455 |
| - {call navigation.link} |
456 |
| - {param currentnavid: $navid /} |
457 |
| - {param folder: 'extending' /} |
458 |
| - {param page: 'rules' /} |
459 |
| - {param text: 'Custom Rules' /} |
460 |
| - {/call} |
461 |
| - {call navigation.link} |
462 |
| - {param currentnavid: $navid /} |
463 |
| - {param folder: 'extending' /} |
464 |
| - {param page: 'e2e_tests' /} |
465 |
| - {param text: 'Building E2E Tests for Buck' /} |
466 |
| - {/call} |
467 |
| - </ul> |
468 | 478 | {/template}
|
0 commit comments