Commit 97b379f6 authored by sunye's avatar sunye
Browse files

configure book pdf generation

parent 073d25ef
Pipeline #57074 passed with stages
in 4 minutes and 47 seconds
......@@ -25,6 +25,7 @@ $(BOOK_DIR)/book.pdf: src/book/asciidoc/book.adoc
bundle exec asciidoctor-pdf \
-r asciidoctor-diagram \
--attribute imagesdir=../../images \
--attribute imagesoutdir=./src/images \
--attribute allow-uri-read=true \
-o $@ $<
......
:sectnums: true
= Software Construction and Evolution
include::../../asciidoc/construction.adoc[leveloffset=+1]
include::../../asciidoc/mapping.adoc[leveloffset=+1]
include::../../asciidoc/behavior.adoc[leveloffset=+1]
include::../../asciidoc/build.adoc[leveloffset=+1]
include::../../asciidoc/patterns.adoc[leveloffset=+1]
include::../../asciidoc/refactorings.adoc[leveloffset=+1]
include::../../asciidoc/test.adoc[leveloffset=+1]
include::../../asciidoc/agile.adoc[leveloffset=+1]
include::../../asciidoc/evolution.adoc[leveloffset=+1]
include::../../asciidoc/ci.adoc[leveloffset=+1]
include::../../slides/asciidoc/introduction.adoc[leveloffset=+1]
include::../../slides/asciidoc/coding.adoc[leveloffset=+1]
include::../../slides/asciidoc/mapping.adoc[leveloffset=+1]
include::../../slides/asciidoc/behavior.adoc[leveloffset=+1]
include::../../slides/asciidoc/build.adoc[leveloffset=+1]
include::../../slides/asciidoc/patterns.adoc[leveloffset=+1]
include::../../slides/asciidoc/refactorings.adoc[leveloffset=+1]
include::../../slides/asciidoc/smells.adoc[leveloffset=+1]
include::../../slides/asciidoc/test.adoc[leveloffset=+1]
include::../../slides/asciidoc/agile.adoc[leveloffset=+1]
include::../../slides/asciidoc/evolution.adoc[leveloffset=+1]
include::../../slides/asciidoc/ci.adoc[leveloffset=+1]
include::../../slides/asciidoc/gradle.adoc[leveloffset=+1]
:revealjs_center: false
:revealjs_display: flex
:revealjs_transition: none
:revealjs_slideNumber: c/t
:revealjs_theme: stereopticon
:revealjs_width: 1920
:revealjs_height: 1080
:revealjs_history: true
:revealjs_margin: 0
:source-highlighter: rouge
:rouge-css: style
:sectids!:
:imagesdir: ../../images
:includedir: includes
:docinfo: shared
:docinfodir: ../html
:icons: font
:plantuml-config: ../common/plantuml.config
:diagramdir: ../../diagram
:javasources: ../../main/java
\ No newline at end of file
[%notitle]
== License
*Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)*
[.center]
.You are free to:
* *Share* — copy and redistribute the material in any medium or format
* *Adapt* — remix, transform, and build upon the material for any purpose, even commercially.
The licensor cannot revoke these freedoms as long as you follow the license terms.
[.center]
.Under the following terms:
* *Attribution* — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
* *NonCommercial* — You may not use the material for commercial purposes.
* *ShareAlike* — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
*No additional restrictions* — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
\ No newline at end of file
skinparam {
' use the strictuml style - no circles, no footboxes, no drop shadows, and proper arrows
' Style strictuml
BackgroundColor transparent
TitleFontName Helvetica
TitleFontStyle Bold
TitleFontSize 12
sequenceParticipant underline
Default {
TextAlignment center
FontName Helvetica
}
Sequence {
LifeLine {
BackgroundColor LightGrey
BorderColor DarkBlue
}
Arrow {
Color DarkBlue
Thickness 0.5
}
' FontColor #FF0000
' FontName Helvetica Neue
' FontStyle Light
Actor {
BorderThickness 0.5
FontSize 5
BackgroundColor #F2F2F2
BorderColor DarkBlue
}
Participant {
BorderThickness 0.5
BackgroundColor White
BorderColor DarkBlue
Font {
Style Light
Size 10
Name Helvetica Neue
}
}
Box {
BackgroundColor #F2F2F2
BorderColor Black
FontSize 10
}
Message {
Align center
}
Stereotype {
Font {
Size 8
Style Plain
Color #515151
}
}
}
Boundary {
BackgroundColor #F2F2F2
BorderColor DarkBlue
FontSize 10
}
Class {
FontSize 10
FontName Helvetica Neue
FontStyle Plain
BackgroundColor White
BorderColor Black
BorderThickness 0.2
FontColor Black
Attribute {
IconSize 0
FontSize 8
FontName Helvetica Neue
FontColor Black
FontStyle Light
}
Stereotype {
Font {
Size 8
Style plain
Color #515151
}
}
}
Note {
FontSize 8
FontColor White
BorderThickness 0.1
BorderColor DarkBlue
BackgroundColor #99CCFF
Shadowing true
}
Component {
FontSize 10
FontName Helvetica Neue
FontStyle Bold
BackgroundColor White
BorderColor Black
BorderThickness 0.2
FontColor Black
}
Interface {
IconSize 8
BackgroundColor White
BorderColor Black
BorderThickness 0.2
Font {
Color Black
Name Helvetica Neue
Size 10
Style Plain
}
}
Stereotype {
IBackgroundColor White
IBorderColor DarkBlue
}
CircledCharacter {
FontSize 10
FontStyle Plain
}
Arrow {
Font {
Size 8
Name Helvetica Neue
Style Light
}
Thickness 0.2
}
Activity {
ArrowThickness 0.2
BackgroundColor transparent
Border {
Color DarkBlue
Thickness 0.2
}
Diamond {
BackgroundColor #99CCFF
BorderColor DarkBlue
BorderThickness 0.2
FontColor White
}
BarColor DarkBlue
}
State {
Border {
Color DarkBlue
Thickness 0.2
}
Start {
Color DarkBlue
}
BackgroundColor transparent
Arrow {
FontSize 12
}
}
}
hide circle
hide footbox
scale 1024 width
scale 800 height
\ No newline at end of file
......@@ -394,7 +394,7 @@ Should I create a new class only for _that_?
* Data clumps
* Shotgun Surgery
image::https://assets.amuniversal.com/f25e36e0e4ee012fed51001dd8b71c47[align=center]
image::dt120107.gif[align=center]
[.center]
[.small]
https://dilbert.com/strip/2012-01-07[Dilbert by Scott Adams]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment