File tree Expand file tree Collapse file tree 3 files changed +18
-27
lines changed
Expand file tree Collapse file tree 3 files changed +18
-27
lines changed Original file line number Diff line number Diff line change 88** `gem install coderay pygments.rb`
99** `gem install --pre asciidoctor-epub3`
1010
11+ == Run `./build.sh` to build HTML site, PDF and EPUB3 locally
12+
1113== Generate Custom CSS
1214
13- 1. http://asciidoctor.org/docs/user-manual/#stylesheet-factory[Clone and install]
14- dependencies for the `asciidoctor-stylesheet-factory`
15-
16- 1. Copy Zalando SASS file to the stylesheet factory's directory
17- [source,bash]
18- ----
19- cp -r sass/* ${asciidoctor-stylesheet-factory}/sass
20- ----
21-
22- 1. Generate CSS
23- [source,bash]
24- ----
25- //TODO
26- ----
27-
28- 1. Copy generated CSS to project's root directory
29- [source,bash]
30- ----
31- cp ${asciidoctor-stylesheet-factory}/stylesheets/zalando.css ${guidelines-repository}/zalando.css
32- ----
33-
34- == Build HTML site, PDF and EPUB3 locally
35- [source,bash]
36- ----
37- ./build.sh
38- ----
15+ . http://asciidoctor.org/docs/user-manual/#stylesheet-factory[Clone and install]
16+ dependencies of the `asciidoctor-stylesheet-factory`
17+
18+ .. `git clone
[email protected] :asciidoctor/asciidoctor-stylesheet-factory.git`
19+ .. `cd ${asciidoctor-stylesheet-factory} && bundle install`
20+
21+ . Copy Zalando SASS files to the stylesheet factory's directory
22+ `cp -r ${guidelines-repository}/sass/* ${asciidoctor-stylesheet-factory}/sass`
23+
24+ . Generate CSS
25+ `cd ${asciidoctor-stylesheet-factory} && compass compile`
26+
27+ . Copy generated CSS file
28+ `cp ${asciidoctor-stylesheet-factory}/stylesheets/zalando.css ${guidelines-repository}/zalando.css`
29+
Original file line number Diff line number Diff line change 1- :stylesheet: assets/ zalando.css
1+ :stylesheet: zalando.css
22:toc: left
33:toclevels: 2
44:leveloffset: +1
File renamed without changes.
You can’t perform that action at this time.
0 commit comments