forked from jenkins-infra/jenkins.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbook.html.haml
47 lines (42 loc) · 1.44 KB
/
book.html.haml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
title: "Jenkins Developer Reference"
layout: developer
---
:css
.jenkins-developer-chapters {
list-style: none;
padding-inline-start: 0;
}
ion-icon {
color: #bf6900;
}
%ul{:class => 'jenkins-developer-chapters'}
- site.devbook.chapters.each do |chapter|
%li{:style => 'font-size: 24px;'}
%a{:href => expand_link(chapter.page.url)}
= chapter.title
- if chapter.page.wip
- if !chapter.page.references || chapter.page.references.length == 0
%span{:title => 'Early work in progress'}
%ion-icon{:name=>"warning"}
- else
%span{:title => 'Partial work in progress'}
%ion-icon{:name=>"warning", :style => 'opacity: 0.5;'}
- if chapter.page.summary
%p{:style => 'font-size: 14px;'}
= chapter.page.summary
%ul
- chapter.sections.each do | section |
%li{:style => 'font-size: 18px;'}
%a{:href => expand_link(section.page.url)}
= section.title
- if section.page.wip
- if !section.page.references || section.page.references.length == 0
%i.icon-warning{:title => 'Work in progress'}
- else
%i.icon-warning{:title => 'Partial work in progress', :style => 'opacity: 0.5;'}
%li{:style => 'font-size: 24px;'}
%a{:href => '../guides'}
Appendix C: Index of All How-To Guides