~hardware-certification/maas-cert-server/trunk

« back to all changes in this revision

Viewing changes to documentation/styles/cert-doc.style

  • Committer: Rod Smith
  • Date: 2015-11-12 20:59:43 UTC
  • mto: This revision was merged to the branch mainline in revision 40.
  • Revision ID: rod.smith@canonical.com-20151112205943-pwuqga9v71ve98az
Replaced documentation with a dependency on the certification-docs package. Made related changes in maniacs-setup and elsewhere.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
  # List any fonts you would like to embed in the PDF here
3
 
  embeddedFonts: [ ["Ubuntu-R.ttf", "Ubuntu-B.ttf", "Ubuntu-RI.ttf",
4
 
                    "Ubuntu-BI.ttf" ],
5
 
                   ["UbuntuMono-R.ttf", "UbuntuMono-B.ttf",
6
 
                    "UbuntuMono-RI.ttf", "UbuntuMono-BI.ttf"] ]
7
 
  # Default page setup.  Can be overridden by including other
8
 
  # stylesheets with -s
9
 
 
10
 
  pageSetup:
11
 
    size: letter
12
 
    width: null
13
 
    height: null
14
 
    margin-top: 2cm
15
 
    margin-bottom: 2cm
16
 
    margin-left: 2cm
17
 
    margin-right: 2cm
18
 
    margin-gutter: 0cm
19
 
    spacing-header: 5mm
20
 
    spacing-footer: 10mm
21
 
 
22
 
    # The first template is one of the 'pageTemplates"
23
 
    # (See next section)
24
 
 
25
 
    firstTemplate: coverPage
26
 
 
27
 
  # pageTemplates can be accessed with the .. raw:: pdf PageBreak command
28
 
 
29
 
  pageTemplates:
30
 
    coverPage:
31
 
        background: images/cover-background.png
32
 
        frames: []
33
 
            [0cm, 0cm, 100%, 100%]
34
 
        showHeader : false
35
 
        showFooter : false
36
 
 
37
 
    emptyPage:
38
 
        frames: []
39
 
            [0cm, 0cm, 100%, 100%]
40
 
        showHeader : false
41
 
        showFooter : false
42
 
 
43
 
    oneColumn:
44
 
        frames: []
45
 
            [0cm, 0cm, 100%, 100%]
46
 
        showHeader : true
47
 
        showFooter : true
48
 
 
49
 
    twoColumn:
50
 
        frames: []
51
 
            [0cm, 0cm, 49%, 100%]
52
 
            [51%, 0cm, 49%, 100%]
53
 
        showHeader : true
54
 
        showFooter : true
55
 
 
56
 
    threeColumn:
57
 
        frames: []
58
 
            [2%, 0cm, 29.333%, 100%]
59
 
            [35.333%, 0cm, 29.333%, 100%]
60
 
            [68.666%, 0cm, 29.333%, 100%]
61
 
        showHeader : true
62
 
        showFooter : true
63
 
 
64
 
    cutePage:
65
 
        frames: []
66
 
            [0%, 0%, 100%, 100%]
67
 
        showHeader : true
68
 
        showFooter : true
69
 
        defaultFooter : ###Page###
70
 
        defaultHeader : ###Section###
71
 
 
72
 
  fontsAlias:
73
 
    stdFont: Ubuntu-R
74
 
    stdBold: Ubuntu-B
75
 
    stdItalic: Ubuntu-RI
76
 
    stdBoldItalic: Ubuntu-BI
77
 
    stdSans: Ubuntu-R
78
 
    stdSansBold: Ubuntu-B
79
 
    stdSansItalic: Ubuntu-RI
80
 
    stdSansBoldItalic: Ubuntu-BI
81
 
    stdMono: UbuntuMono-R
82
 
    stdMonoItalic: UbuntuMono-RI
83
 
    stdMonoBold: UbuntuMono-B
84
 
    stdMonoBoldItalic: UbuntuMono-BI
85
 
    stdSerif: Times-Roman
86
 
 
87
 
  linkColor: #606060
88
 
 
89
 
  styles:
90
 
    base:
91
 
      parent: null
92
 
      fontName: stdFont
93
 
      fontSize: 12
94
 
      leading: 15
95
 
      leftIndent: 0
96
 
      rightIndent: 0
97
 
      firstLineIndent: 0
98
 
      alignment: TA_LEFT
99
 
      spaceBefore: 0
100
 
      spaceAfter: 0
101
 
      bulletFontName: stdFont
102
 
      bulletFontSize: 12
103
 
      bulletIndent: 0
104
 
      textColor: #303030
105
 
      backColor: null
106
 
      wordWrap: null
107
 
      borderWidth: 0
108
 
      borderPadding: 0
109
 
      borderColor: null
110
 
      borderRadius: null
111
 
      allowWidows: false
112
 
      allowOrphans: false
113
 
      hyphenation: false
114
 
      kerning: false
115
 
      underline: false
116
 
      strike: false
117
 
      commands: []
118
 
 
119
 
    normal:
120
 
      parent: base
121
 
 
122
 
    aubergine:
123
 
      textColor: 6c0149
124
 
 
125
 
    aubergine-right:
126
 
      textColor: ff0050
127
 
      alignment: TA_CENTER
128
 
 
129
 
    title-reference:
130
 
      parent: normal
131
 
      fontName: stdItalic
132
 
 
133
 
    bodytext:
134
 
      parent: normal
135
 
      spaceBefore: 6
136
 
      alignment: TA_LEFT
137
 
      hyphenation: true
138
 
 
139
 
    toc:
140
 
      parent: normal
141
 
 
142
 
    blockquote:
143
 
      parent: bodytext
144
 
      leftIndent: 20
145
 
 
146
 
    lineblock:
147
 
      parent: bodytext
148
 
 
149
 
    line:
150
 
      parent: lineblock
151
 
      spaceBefore: 0
152
 
 
153
 
    toc1:
154
 
      parent: toc
155
 
      fontName: stdBold
156
 
 
157
 
    toc2:
158
 
      parent: toc
159
 
      leftIndent: 20
160
 
 
161
 
    toc3:
162
 
      parent: toc
163
 
      leftIndent: 40
164
 
 
165
 
    toc4:
166
 
      parent: toc
167
 
      leftIndent: 60
168
 
 
169
 
    toc5:
170
 
      parent: toc
171
 
      leftIndent: 80
172
 
 
173
 
    toc6:
174
 
      parent: toc
175
 
      leftIndent: 100
176
 
 
177
 
    toc7:
178
 
      parent: toc
179
 
      leftIndent: 100
180
 
 
181
 
    toc8:
182
 
      parent: toc
183
 
      leftIndent: 100
184
 
 
185
 
    toc9:
186
 
      parent: toc
187
 
      leftIndent: 100
188
 
 
189
 
    toc10:
190
 
      parent: toc
191
 
      leftIndent: 100
192
 
 
193
 
    toc11:
194
 
      parent: toc
195
 
      leftIndent: 100
196
 
 
197
 
    toc12:
198
 
      parent: toc
199
 
      leftIndent: 100
200
 
 
201
 
    toc13:
202
 
      parent: toc
203
 
      leftIndent: 100
204
 
 
205
 
    toc14:
206
 
      parent: toc
207
 
      leftIndent: 100
208
 
 
209
 
    toc15:
210
 
      parent: toc
211
 
      leftIndent: 100
212
 
 
213
 
    footer:
214
 
      parent: normal
215
 
      fontSize: 32
216
 
      alignment: TA_RIGHT
217
 
      backColor: 6c0149
218
 
 
219
 
    header:
220
 
      parent: normal
221
 
      fontSize: 24
222
 
      alignment: TA_LEFT
223
 
      backColor: black
224
 
 
225
 
 
226
 
    attribution:
227
 
      parent: bodytext
228
 
      alignment: TA_RIGHT
229
 
 
230
 
    image:
231
 
      parent: bodytext
232
 
      alignment: TA_CENTER
233
 
 
234
 
    figure:
235
 
      parent: bodytext
236
 
      alignment: TA_CENTER
237
 
      commands: []
238
 
             [VALIGN, [ 0, 0 ], [ -1, -1 ], TOP ]
239
 
             [ALIGN, [ 0, 0 ], [ -1, -1 ], CENTER ]
240
 
      colWidths: [100%]
241
 
 
242
 
    figure-caption:
243
 
      parent: bodytext
244
 
      fontName: stdItalic
245
 
      textColor: 6c0149
246
 
      alignment: TA_LEFT
247
 
 
248
 
    figure-legend:
249
 
      parent: bodytext
250
 
 
251
 
    bullet-list:
252
 
      parent: bodytext
253
 
      spaceBefore: 0
254
 
      commands: []
255
 
             [VALIGN, [ 0, 0 ], [ -1, -1 ], TOP ]
256
 
             [RIGHTPADDING, [ 0, 0 ], [ 1, -1 ], 0 ]
257
 
      colWidths: ["20", null]
258
 
 
259
 
    bullet-list-item:
260
 
      parent: bodytext
261
 
 
262
 
    item-list:
263
 
      parent: bodytext
264
 
      commands: []
265
 
             [VALIGN, [ 0, 0 ], [ -1, -1 ], TOP ]
266
 
             [RIGHTPADDING, [ 0, 0 ], [ 1, -1 ], 0 ]
267
 
      colWidths: [25pt,null]
268
 
 
269
 
    item-list-item:
270
 
      parent: bodytext
271
 
 
272
 
    definition-list-term:
273
 
      parent: normal
274
 
      fontName: stdBold
275
 
      spaceBefore: 4
276
 
      spaceAfter: 0
277
 
      keepWithNext: false
278
 
 
279
 
    definition-list-classifier:
280
 
      parent: normal
281
 
      fontName: stdItalic
282
 
 
283
 
    definition:
284
 
      parent: bodytext
285
 
      firstLineIndent: 0
286
 
      bulletIndent: 0
287
 
      spaceBefore: 0
288
 
      colWidths: [20pt,null]
289
 
      commands: []
290
 
                    [VALIGN, [ 0, 0 ], [ -1, -1 ], TOP ]
291
 
                    [LEFTPADDING, [ 0, 0 ], [ -1, -1 ], 0 ]
292
 
                    [BOTTOMPADDING, [ 0, 0 ], [ -1, -1 ], 0 ]
293
 
                    [RIGHTPADDING, [ 0, 0 ], [ -1, -1 ], 0 ]
294
 
                    
295
 
    fieldname:
296
 
      parent: bodytext
297
 
      alignment: TA_RIGHT
298
 
      fontName: stdBold
299
 
 
300
 
    fieldvalue:
301
 
      parent: bodytext
302
 
 
303
 
    rubric:
304
 
      parent: bodytext
305
 
      textColor: darkred
306
 
      alignment: TA_CENTER
307
 
 
308
 
    italic:
309
 
      parent: bodytext
310
 
      fontName: stdItalic
311
 
 
312
 
    heading:
313
 
      parent: normal
314
 
      keepWithNext: true
315
 
      spaceBefore: 12
316
 
      spaceAfter: 6
317
 
 
318
 
    title:
319
 
      parent: heading
320
 
      fontName: stdBold
321
 
      fontSize: 200%
322
 
      textColor: 6c0149
323
 
      alignment: TA_LEFT
324
 
      keepWithNext: false
325
 
      spaceAfter: 10
326
 
 
327
 
    subtitle:
328
 
      parent: title
329
 
      spaceBefore: 12
330
 
      fontSize: 75%
331
 
 
332
 
    heading1:
333
 
      parent: heading
334
 
      fontName: stdBold
335
 
      fontSize: 175%
336
 
 
337
 
    heading2:
338
 
      parent: heading
339
 
      fontName: stdBold
340
 
      fontSize: 150%
341
 
 
342
 
    heading3:
343
 
      parent: heading
344
 
      fontName: stdBoldItalic
345
 
      fontSize: 125%
346
 
 
347
 
    heading4:
348
 
      parent: heading
349
 
      fontName: stdBoldItalic
350
 
 
351
 
    heading5:
352
 
      parent: heading
353
 
      fontName: stdBoldItalic
354
 
 
355
 
    heading6:
356
 
      parent: heading
357
 
      fontName: stdBoldItalic
358
 
 
359
 
    topic-title:
360
 
      parent: heading3
361
 
 
362
 
    sidebar-title:
363
 
      parent: heading3
364
 
 
365
 
    sidebar-subtitle:
366
 
      parent: heading4
367
 
 
368
 
    sidebar:
369
 
      float: none
370
 
      width: 100%
371
 
      parent: normal
372
 
      backColor: beige
373
 
      borderColor: darkgray
374
 
      borderPadding: 8
375
 
      borderWidth: 0.5
376
 
 
377
 
    admonition:
378
 
      parent: normal
379
 
      spaceBefore: 12
380
 
      spaceAfter: 6
381
 
      borderPadding: [16,16,16,16]
382
 
      backColor: beige
383
 
      borderColor: darkgray
384
 
      borderWidth: 0.5
385
 
      commands:[]
386
 
             [VALIGN, [ 0, 0 ], [ -1, -1 ], TOP ]
387
 
 
388
 
    attention:
389
 
      parent: admonition
390
 
 
391
 
    caution:
392
 
      parent: admonition
393
 
 
394
 
    danger:
395
 
      parent: admonition
396
 
 
397
 
    error:
398
 
      parent: admonition
399
 
 
400
 
    hint:
401
 
      parent: admonition
402
 
 
403
 
    important:
404
 
      parent: admonition
405
 
 
406
 
    note:
407
 
      parent: admonition
408
 
 
409
 
    tip:
410
 
      parent: admonition
411
 
 
412
 
    warning:
413
 
      parent: admonition
414
 
 
415
 
    admonition-title:
416
 
      parent: heading3
417
 
 
418
 
    admonition-heading:
419
 
      parent: heading3
420
 
 
421
 
    attention-heading:
422
 
      parent: admonition-heading
423
 
 
424
 
    caution-heading:
425
 
      parent: admonition-heading
426
 
 
427
 
    danger-heading:
428
 
      parent: admonition-heading
429
 
 
430
 
    error-heading:
431
 
      parent: admonition-heading
432
 
 
433
 
    hint-heading:
434
 
      parent: admonition-heading
435
 
 
436
 
    important-heading:
437
 
      parent: admonition-heading
438
 
 
439
 
    note-heading:
440
 
      parent: admonition-heading
441
 
 
442
 
    tip-heading:
443
 
      parent: admonition-heading
444
 
 
445
 
    warning-heading:
446
 
      parent: admonition-heading
447
 
 
448
 
    literal:
449
 
      parent: normal
450
 
      fontName: stdMono
451
 
      firstLineIndent: 0
452
 
      hyphenation: false
453
 
      wordWrap: null
454
 
 
455
 
    aafigure:
456
 
      parent: literal
457
 
 
458
 
    table:
459
 
      spaceBefore:6
460
 
      spaceAfter:0
461
 
      alignment: TA_CENTER
462
 
      commands: []
463
 
             [VALIGN, [ 0, 0 ], [ -1, -1 ], TOP ]
464
 
             [INNERGRID, [ 0, 0 ], [ -1, -1 ], 0.25, black ]
465
 
             [ROWBACKGROUNDS, [0, 0], [-1, -1], [white,#E0E0E0]]
466
 
             [BOX, [ 0, 0 ], [ -1, -1 ], 0.25, black ]
467
 
 
468
 
    table-title:
469
 
      parent : heading4
470
 
      keepWithNext: false
471
 
      alignment : TA_CENTER
472
 
 
473
 
    table-heading:
474
 
      parent : heading
475
 
      backColor : beige
476
 
      alignment : TA_CENTER
477
 
      valign : BOTTOM
478
 
      borderPadding : 0
479
 
 
480
 
    table-body:
481
 
      parent : normal
482
 
 
483
 
    dedication:
484
 
      parent : normal
485
 
 
486
 
    abstract:
487
 
      parent : normal
488
 
 
489
 
    contents:
490
 
      parent : normal
491
 
 
492
 
    tableofcontents:
493
 
      parent : normal
494
 
 
495
 
    code:
496
 
      parent: literal
497
 
      leftIndent: 0
498
 
      spaceBefore: 8
499
 
      spaceAfter: 8
500
 
      backColor: #f0f0f0
501
 
      borderColor: darkgray
502
 
      borderWidth: 0.5
503
 
      borderPadding: 6
504
 
 
505
 
    linenumber:
506
 
      parent: code
507
 
 
508
 
    right:
509
 
      parent: bodytext
510
 
      alignment: right
511
 
 
512
 
    center:
513
 
      parent: bodytext
514
 
      alignment: center
515
 
 
516
 
    pygments-n: parent: code
517
 
    pygments-nx: parent: code
518
 
    pygments-p: parent: code
519
 
    pygments-hll: {parent: code, backColor: #ffffcc}
520
 
    pygments-c: {textColor: #008800, parent: code}
521
 
    pygments-err: {parent: code}
522
 
    pygments-k: {textColor: #AA22FF, parent: code}
523
 
    pygments-o: {textColor: #666666, parent: code}
524
 
    pygments-cm: {textColor: #008800, parent: code}
525
 
    pygments-cp: {textColor: #008800, parent: code}
526
 
    pygments-c1: {textColor: #008800, parent: code}
527
 
    pygments-cs: {textColor: #008800, parent: code}
528
 
    pygments-gd: {textColor: #A00000, parent: code}
529
 
    pygments-ge: {parent: code}
530
 
    pygments-gr: {textColor: #FF0000, parent: code}
531
 
    pygments-gh: {textColor: #000080, parent: code}
532
 
    pygments-gi: {textColor: #00A000, parent: code}
533
 
    pygments-go: {textColor: #808080, parent: code}
534
 
    pygments-gp: {textColor: #000080, parent: code}
535
 
    pygments-gs: {parent: code}
536
 
    pygments-gu: {textColor: #800080, parent: code}
537
 
    pygments-gt: {textColor: #0040D0, parent: code}
538
 
    pygments-kc: {textColor: #AA22FF, parent: code}
539
 
    pygments-kd: {textColor: #AA22FF, parent: code}
540
 
    pygments-kn: {textColor: #AA22FF, parent: code}
541
 
    pygments-kp: {textColor: #AA22FF, parent: code}
542
 
    pygments-kr: {textColor: #AA22FF, parent: code}
543
 
    pygments-kt: {textColor: #00BB00, parent: code}
544
 
    pygments-m: {textColor: #666666, parent: code}
545
 
    pygments-s: {textColor: #BB4444, parent: code}
546
 
    pygments-na: {textColor: #BB4444, parent: code}
547
 
    pygments-nb: {textColor: #AA22FF, parent: code}
548
 
    pygments-nc: {textColor: #0000FF, parent: code}
549
 
    pygments-no: {textColor: #880000, parent: code}
550
 
    pygments-nd: {textColor: #AA22FF, parent: code}
551
 
    pygments-ni: {textColor: #999999, parent: code}
552
 
    pygments-ne: {textColor: #D2413A, parent: code}
553
 
    pygments-nf: {textColor: #00A000, parent: code}
554
 
    pygments-nl: {textColor: #A0A000, parent: code}
555
 
    pygments-nn: {textColor: #0000FF, parent: code}
556
 
    pygments-nt: {textColor: #008000, parent: code}
557
 
    pygments-nv: {textColor: #B8860B, parent: code}
558
 
    pygments-ow: {textColor: #AA22FF, parent: code}
559
 
    pygments-w: {textColor: #bbbbbb, parent: code}
560
 
    pygments-mf: {textColor: #666666, parent: code}
561
 
    pygments-mh: {textColor: #666666, parent: code}
562
 
    pygments-mi: {textColor: #666666, parent: code}
563
 
    pygments-mo: {textColor: #666666, parent: code}
564
 
    pygments-sb: {textColor: #BB4444, parent: code}
565
 
    pygments-sc: {textColor: #BB4444, parent: code}
566
 
    pygments-sd: {textColor: #BB4444, parent: code}
567
 
    pygments-s2: {textColor: #BB4444, parent: code}
568
 
    pygments-se: {textColor: #BB6622, parent: code}
569
 
    pygments-sh: {textColor: #BB4444, parent: code}
570
 
    pygments-si: {textColor: #BB6688, parent: code}
571
 
    pygments-sx: {textColor: #008000, parent: code}
572
 
    pygments-sr: {textColor: #BB6688, parent: code}
573
 
    pygments-s1: {textColor: #BB4444, parent: code}
574
 
    pygments-ss: {textColor: #B8860B, parent: code}
575
 
    pygments-bp: {textColor: #AA22FF, parent: code}
576
 
    pygments-vc: {textColor: #B8860B, parent: code}
577
 
    pygments-vg: {textColor: #B8860B, parent: code}
578
 
    pygments-vi: {textColor: #B8860B, parent: code}
579
 
    pygments-il: {textColor: #666666, parent: code}
580
 
 
581
 
    endnote:
582
 
        parent: bodytext
583
 
        commands: []
584
 
            [VALIGN, [ 0, 0 ], [ -1, -1 ], TOP ]
585
 
            [TOPPADDING, [ 0, 0 ], [ -1, -1 ], 0 ]
586
 
            [BOTTOMPADDING, [ 0, 0 ], [ -1, -1 ], 0 ]
587
 
            [RIGHTPADDING, [ 0, 0 ], [ 1, -1 ], 0 ]
588
 
        colWidths: [3cm, null]
589
 
 
590
 
    field-list:
591
 
        parent: bodytext
592
 
        commands: []
593
 
            [VALIGN, [ 0, 0 ], [ -1, -1 ], TOP ]
594
 
            [TOPPADDING, [ 0, 0 ], [ -1, -1 ], 0 ]
595
 
        colWidths: [3cm, null]
596
 
        spaceBefore: 6
597
 
 
598
 
    option-list:
599
 
        commands: []
600
 
            [VALIGN, [ 0, 0 ], [ -1, -1 ], TOP ]
601
 
            [TOPPADDING, [ 0, 0 ], [ -1, -1 ], 0 ]
602
 
        colWidths: [null,null]
603