Skip to content

Commit 7e310d5

Browse files
authored
Merge pull request #14 from miladj/master
Update gemfile & docinfo for supporting rtl
2 parents 308ded5 + e3f695b commit 7e310d5

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

Gemfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
source 'https://rubygems.org'
22

33
gem 'rake'
4-
gem 'asciidoctor', '1.5.0'
4+
gem 'asciidoctor', '1.5.6.2'
55

66
gem 'json'
77
gem 'awesome_print'
88

9-
gem 'asciidoctor-epub3', '1.0.0.alpha.2'
10-
gem 'asciidoctor-pdf', '1.5.0.alpha.5'
9+
gem 'asciidoctor-epub3', '~> 1.5.0.alpha.9'
10+
gem 'asciidoctor-pdf', '~> 1.5.0.beta.8'
1111

1212
gem 'coderay'
1313
gem 'pygments.rb'

book/preface.asc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
Pro Git
22
=======
3-
<body dir="rtl">
3+
44
:doctype: book
5-
:docinfo:
65
:toc:
76
:toclevels: 2
87

docinfo.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<style>
2+
div,dl,dt,dd,ul,ol,li,h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6,form,p,blockquote,th,td,#content{
3+
direction: rtl;
4+
text-align: justify;
5+
}
6+
7+
</style>

progit.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pro Git
22
=======
33
:doctype: book
4-
:docinfo:
4+
:docinfo: shared
55
:toc:
66
:toclevels: 2
77
:pagenums:

0 commit comments

Comments
 (0)