asciidoctor 1.5.7.1 → 1.5.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +95 -5
- data/Gemfile +23 -13
- data/README-de.adoc +482 -0
- data/README-fr.adoc +128 -119
- data/README-jp.adoc +2 -3
- data/README-zh_CN.adoc +2 -3
- data/README.adoc +131 -106
- data/asciidoctor.gemspec +9 -7
- data/data/locale/attributes-ar.adoc +1 -1
- data/data/locale/attributes-bg.adoc +1 -1
- data/data/locale/attributes-ca.adoc +1 -1
- data/data/locale/attributes-cs.adoc +1 -1
- data/data/locale/attributes-da.adoc +1 -1
- data/data/locale/attributes-de.adoc +1 -1
- data/data/locale/attributes-en.adoc +1 -1
- data/data/locale/attributes-es.adoc +1 -1
- data/data/locale/attributes-fa.adoc +1 -1
- data/data/locale/attributes-fi.adoc +1 -1
- data/data/locale/attributes-fr.adoc +1 -1
- data/data/locale/attributes-hu.adoc +1 -1
- data/data/locale/attributes-id.adoc +1 -1
- data/data/locale/attributes-it.adoc +1 -1
- data/data/locale/attributes-ja.adoc +1 -1
- data/data/locale/attributes-kr.adoc +1 -1
- data/data/locale/attributes-nb.adoc +1 -1
- data/data/locale/attributes-nl.adoc +1 -1
- data/data/locale/attributes-nn.adoc +1 -1
- data/data/locale/attributes-pl.adoc +1 -1
- data/data/locale/attributes-pt.adoc +1 -1
- data/data/locale/attributes-pt_BR.adoc +1 -1
- data/data/locale/attributes-ro.adoc +1 -1
- data/data/locale/attributes-ru.adoc +1 -1
- data/data/locale/attributes-sr.adoc +5 -4
- data/data/locale/attributes-sr_Latn.adoc +5 -4
- data/data/locale/attributes-sv.adoc +23 -0
- data/data/locale/attributes-tr.adoc +1 -1
- data/data/locale/attributes-uk.adoc +1 -1
- data/data/locale/attributes-zh_CN.adoc +1 -1
- data/data/locale/attributes-zh_TW.adoc +1 -1
- data/data/stylesheets/asciidoctor-default.css +23 -23
- data/lib/asciidoctor.rb +110 -104
- data/lib/asciidoctor/abstract_block.rb +55 -32
- data/lib/asciidoctor/abstract_node.rb +32 -17
- data/lib/asciidoctor/attribute_list.rb +8 -7
- data/lib/asciidoctor/block.rb +5 -7
- data/lib/asciidoctor/cli/options.rb +5 -9
- data/lib/asciidoctor/converter.rb +2 -2
- data/lib/asciidoctor/converter/docbook45.rb +7 -20
- data/lib/asciidoctor/converter/docbook5.rb +36 -37
- data/lib/asciidoctor/converter/factory.rb +10 -8
- data/lib/asciidoctor/converter/html5.rb +90 -65
- data/lib/asciidoctor/converter/manpage.rb +72 -62
- data/lib/asciidoctor/converter/template.rb +8 -6
- data/lib/asciidoctor/core_ext/1.8.7/concurrent/hash.rb +5 -0
- data/lib/asciidoctor/document.rb +62 -10
- data/lib/asciidoctor/extensions.rb +74 -16
- data/lib/asciidoctor/helpers.rb +11 -14
- data/lib/asciidoctor/list.rb +2 -2
- data/lib/asciidoctor/parser.rb +223 -195
- data/lib/asciidoctor/path_resolver.rb +15 -7
- data/lib/asciidoctor/reader.rb +65 -36
- data/lib/asciidoctor/section.rb +6 -4
- data/lib/asciidoctor/substitutors.rb +170 -149
- data/lib/asciidoctor/table.rb +16 -8
- data/lib/asciidoctor/version.rb +1 -1
- data/man/asciidoctor.1 +6 -5
- data/man/asciidoctor.adoc +3 -2
- data/test/api_test.rb +236 -0
- data/test/attribute_list_test.rb +242 -0
- data/test/attributes_test.rb +65 -52
- data/test/blocks_test.rb +408 -260
- data/test/converter_test.rb +7 -7
- data/test/document_test.rb +60 -54
- data/test/extensions_test.rb +218 -32
- data/test/fixtures/doctime-localtime.adoc +2 -0
- data/test/fixtures/section-a.adoc +4 -0
- data/test/fixtures/subs.adoc +0 -1
- data/test/invoker_test.rb +56 -18
- data/test/links_test.rb +105 -81
- data/test/lists_test.rb +636 -265
- data/test/logger_test.rb +1 -1
- data/test/manpage_test.rb +140 -3
- data/test/paragraphs_test.rb +42 -42
- data/test/parser_test.rb +63 -183
- data/test/paths_test.rb +21 -4
- data/test/preamble_test.rb +9 -9
- data/test/reader_test.rb +78 -28
- data/test/sections_test.rb +273 -151
- data/test/substitutions_test.rb +53 -19
- data/test/tables_test.rb +286 -163
- data/test/test_helper.rb +4 -3
- data/test/text_test.rb +65 -65
- metadata +16 -21
data/asciidoctor.gemspec
CHANGED
@@ -23,16 +23,17 @@ Gem::Specification.new do |s|
|
|
23
23
|
'source_code_uri' => 'https://github.com/asciidoctor/asciidoctor'
|
24
24
|
}
|
25
25
|
|
26
|
+
# NOTE the logic to build the list of files is designed to produce a usable package even when the git command is not available
|
26
27
|
files = begin
|
28
|
+
# NOTE popen3 is used instead of backticks to fail properly when used with JRuby
|
27
29
|
(result = Open3.popen3('git ls-files -z') {|_, out| out.read }.split %(\0)).empty? ? Dir['**/*'] : result
|
28
30
|
rescue
|
29
31
|
Dir['**/*']
|
30
32
|
end
|
31
|
-
s.files = files.grep
|
32
|
-
s.executables = files.grep
|
33
|
+
s.files = files.grep %r/^(?:(?:data|lib|man)\/.+|Gemfile|Rakefile|LICENSE|(?:CHANGELOG|CONTRIBUTING|README(?:-\w+)?)\.adoc|#{s.name}\.gemspec)$/
|
34
|
+
s.executables = (files.grep %r/^bin\//).map {|f| File.basename f }
|
33
35
|
s.require_paths = ['lib']
|
34
|
-
s.test_files = files.grep
|
35
|
-
s.has_rdoc = true
|
36
|
+
s.test_files = files.grep %r/^(?:(?:features|test)\/.+)$/
|
36
37
|
s.rdoc_options = ['--charset=UTF-8']
|
37
38
|
s.extra_rdoc_files = ['CHANGELOG.adoc', 'CONTRIBUTING.adoc', 'LICENSE']
|
38
39
|
|
@@ -45,12 +46,13 @@ Gem::Specification.new do |s|
|
|
45
46
|
s.add_development_dependency 'erubis', '~> 2.7.0'
|
46
47
|
# haml is needed for testing custom templates
|
47
48
|
s.add_development_dependency 'haml', '~> 5.0.0'
|
48
|
-
s.add_development_dependency 'nokogiri', '~> 1.8.
|
49
|
+
s.add_development_dependency 'nokogiri', '~> 1.8.5'
|
49
50
|
s.add_development_dependency 'rake', '~> 10.0.0'
|
50
51
|
s.add_development_dependency 'rspec-expectations', '~> 2.14.0'
|
51
52
|
# slim is needed for testing custom templates
|
52
|
-
s.add_development_dependency 'slim', '~>
|
53
|
-
|
53
|
+
s.add_development_dependency 'slim', '~> 4.0.0'
|
54
|
+
# concurrent-ruby is defined in Gemfile due to enforcement of minimum required Ruby version
|
55
|
+
#s.add_development_dependency 'concurrent-ruby', '~> 1.0.0'
|
54
56
|
# tilt is needed for testing custom templates
|
55
57
|
s.add_development_dependency 'tilt', '~> 2.0.0'
|
56
58
|
s.add_development_dependency 'minitest', '~> 5.3.0'
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: مهم
|
10
10
|
:last-update-label: اخر تحديث
|
11
11
|
ifdef::listing-caption[:listing-caption: قائمة]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: اسم]
|
13
13
|
:note-caption: ملاحظة
|
14
14
|
//:part-refsig: ???
|
15
15
|
ifdef::preface-title[:preface-title: تمهيد]
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: Важно
|
10
10
|
:last-update-label: Последно обновен
|
11
11
|
ifdef::listing-caption[:listing-caption: Листинг]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: Име]
|
13
13
|
:note-caption: Забележка
|
14
14
|
//:part-refsig: ???
|
15
15
|
ifdef::preface-title[:preface-title: Предговор]
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: Important
|
10
10
|
:last-update-label: Última actualització
|
11
11
|
ifdef::listing-caption[:listing-caption: Llista]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: Nom]
|
13
13
|
:note-caption: Nota
|
14
14
|
//:part-refsig: ???
|
15
15
|
ifdef::preface-title[:preface-title: Prefaci]
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: Důležité
|
10
10
|
:last-update-label: Změněno
|
11
11
|
ifdef::listing-caption[:listing-caption: Seznam]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: Název]
|
13
13
|
:note-caption: Poznámka
|
14
14
|
:part-refsig: Část
|
15
15
|
ifdef::preface-title[:preface-title: Úvod]
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: Vigtig
|
10
10
|
:last-update-label: Sidst opdateret
|
11
11
|
ifdef::listing-caption[:listing-caption: List]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: Navn]
|
13
13
|
:note-caption: Notat
|
14
14
|
//:part-refsig: ???
|
15
15
|
ifdef::preface-title[:preface-title: Forord]
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: Wichtig
|
10
10
|
:last-update-label: Zuletzt aktualisiert
|
11
11
|
//ifdef::listing-caption[:listing-caption: ???]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: Bezeichnung]
|
13
13
|
:note-caption: Anmerkung
|
14
14
|
//:part-refsig: ???
|
15
15
|
ifdef::preface-title[:preface-title: Vorwort]
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: Important
|
10
10
|
:last-update-label: Last updated
|
11
11
|
ifdef::listing-caption[:listing-caption: Listing]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: Name]
|
13
13
|
:note-caption: Note
|
14
14
|
:part-label: Part
|
15
15
|
:part-refsig: {part-label}
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: Importante
|
10
10
|
:last-update-label: Ultima actualización
|
11
11
|
ifdef::listing-caption[:listing-caption: Lista]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: Nombre]
|
13
13
|
:note-caption: Nota
|
14
14
|
//:part-refsig: ???
|
15
15
|
ifdef::preface-title[:preface-title: Prefacio]
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: مهم
|
10
10
|
:last-update-label: آخرین به روز رسانی
|
11
11
|
ifdef::listing-caption[:listing-caption: فهرست]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: نام]
|
13
13
|
:note-caption: یادداشت
|
14
14
|
//:part-refsig: ???
|
15
15
|
ifdef::preface-title[:preface-title: پیشگفتار]
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: Tärkeää
|
10
10
|
:last-update-label: Viimeksi päivitetty
|
11
11
|
ifdef::listing-caption[:listing-caption: Listaus]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: Nimi]
|
13
13
|
:note-caption: Huomio
|
14
14
|
//:part-refsig: ???
|
15
15
|
ifdef::preface-title[:preface-title: Esipuhe]
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: Important
|
10
10
|
:last-update-label: Dernière mise à jour
|
11
11
|
ifdef::listing-caption[:listing-caption: Liste]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: Nom]
|
13
13
|
:note-caption: Note
|
14
14
|
//:part-refsig: ???
|
15
15
|
ifdef::preface-title[:preface-title: Préface]
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: Fontos
|
10
10
|
:last-update-label: Utolsó frissítés
|
11
11
|
ifdef::listing-caption[:listing-caption: Lista]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: Név]
|
13
13
|
:note-caption: Megjegyzés
|
14
14
|
//:part-refsig: ???
|
15
15
|
ifdef::preface-title[:preface-title: Előszó]
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: Penting
|
10
10
|
:last-update-label: Pembaruan terakhir
|
11
11
|
ifdef::listing-caption[:listing-caption: Daftar]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: Nama]
|
13
13
|
:note-caption: Catatan
|
14
14
|
//:part-refsig: ???
|
15
15
|
//ifdef::preface-title[:preface-title: ???]
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: Importante
|
10
10
|
:last-update-label: Ultimo aggiornamento
|
11
11
|
ifdef::listing-caption[:listing-caption: Elenco]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: Nome]
|
13
13
|
:note-caption: Nota
|
14
14
|
//:part-refsig: ???
|
15
15
|
ifdef::preface-title[:preface-title: Prefazione]
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: Viktig
|
10
10
|
:last-update-label: Sist oppdatert
|
11
11
|
ifdef::listing-caption[:listing-caption: Programkode]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: Navn]
|
13
13
|
:note-caption: Merk
|
14
14
|
//:part-refsig: ???
|
15
15
|
ifdef::preface-title[:preface-title: Forord]
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: Belangrijk
|
10
10
|
:last-update-label: Laatste aanpassing
|
11
11
|
ifdef::listing-caption[:listing-caption: Lijst]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: Naam]
|
13
13
|
:note-caption: Noot
|
14
14
|
//:part-refsig: ???
|
15
15
|
ifdef::preface-title[:preface-title: Inleiding]
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: Viktig
|
10
10
|
:last-update-label: Sist oppdatert
|
11
11
|
ifdef::listing-caption[:listing-caption: Programkode]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: Namn]
|
13
13
|
:note-caption: Merk
|
14
14
|
//:part-refsig: ???
|
15
15
|
ifdef::preface-title[:preface-title: Forord]
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: Ważne
|
10
10
|
:last-update-label: Ostatnio zmodyfikowany
|
11
11
|
//ifdef::listing-caption[:listing-caption: ???]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: Nazwa]
|
13
13
|
:note-caption: Notka
|
14
14
|
//:part-refsig: ???
|
15
15
|
//ifdef::preface-title[:preface-title: ???]
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: Importante
|
10
10
|
:last-update-label: Última actualização
|
11
11
|
ifdef::listing-caption[:listing-caption: Listagem]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: Nome]
|
13
13
|
:note-caption: Nota
|
14
14
|
//:part-refsig: ???
|
15
15
|
ifdef::preface-title[:preface-title: Prefácio]
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: Importante
|
10
10
|
:last-update-label: Última atualização
|
11
11
|
ifdef::listing-caption[:listing-caption: Listagem]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: Nome]
|
13
13
|
:note-caption: Nota
|
14
14
|
//:part-refsig: ???
|
15
15
|
ifdef::preface-title[:preface-title: Prefácio]
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: Important
|
10
10
|
:last-update-label: Ultima actualizare
|
11
11
|
ifdef::listing-caption[:listing-caption: Listare]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: Nume]
|
13
13
|
:note-caption: Notă
|
14
14
|
//:part-refsig: ???
|
15
15
|
ifdef::preface-title[:preface-title: Prefață]
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: Важно
|
10
10
|
:last-update-label: Последний раз обновлено
|
11
11
|
ifdef::listing-caption[:listing-caption: Листинг]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: Название]
|
13
13
|
:note-caption: Примечание
|
14
14
|
//:part-refsig: ???
|
15
15
|
ifdef::preface-title[:preface-title: Предисловие]
|
@@ -8,12 +8,13 @@
|
|
8
8
|
:figure-caption: Слика
|
9
9
|
:important-caption: Важно
|
10
10
|
:last-update-label: Последње ажурирано
|
11
|
-
ifdef::listing-caption[:listing-caption:
|
12
|
-
|
11
|
+
ifdef::listing-caption[:listing-caption: Листинг]
|
12
|
+
ifdef::manname-title[:manname-title: Назив]
|
13
13
|
:note-caption: Белешка
|
14
|
-
|
14
|
+
:part-label: Део
|
15
|
+
:part-refsig: {part-label}
|
15
16
|
ifdef::preface-title[:preface-title: Предговор]
|
16
|
-
|
17
|
+
:section-refsig: Секција
|
17
18
|
:table-caption: Табела
|
18
19
|
:tip-caption: Савет
|
19
20
|
:toc-title: Садржај
|
@@ -8,12 +8,13 @@
|
|
8
8
|
:figure-caption: Slika
|
9
9
|
:important-caption: Važno
|
10
10
|
:last-update-label: Poslednje ažurirano
|
11
|
-
ifdef::listing-caption[:listing-caption:
|
12
|
-
|
11
|
+
ifdef::listing-caption[:listing-caption: Listing]
|
12
|
+
ifdef::manname-title[:manname-title: Naziv]
|
13
13
|
:note-caption: Beleška
|
14
|
-
|
14
|
+
:part-label: Deo
|
15
|
+
:part-refsig: {part-label}
|
15
16
|
ifdef::preface-title[:preface-title: Predgovor]
|
16
|
-
|
17
|
+
:section-refsig: Sekcija
|
17
18
|
:table-caption: Tabela
|
18
19
|
:tip-caption: Savet
|
19
20
|
:toc-title: Sadržaj
|
@@ -0,0 +1,23 @@
|
|
1
|
+
// Swedish translation, Jonas Björk <jonas.bjork@gmail.com>
|
2
|
+
:appendix-caption: Bilaga
|
3
|
+
:appendix-refsig: {appendix-caption}
|
4
|
+
:caution-caption: Var uppmärksam
|
5
|
+
:chapter-label: Kapitel
|
6
|
+
:chapter-refsig: {chapter-label}
|
7
|
+
:example-caption: Exempel
|
8
|
+
:figure-caption: Figur
|
9
|
+
:important-caption: Viktigt
|
10
|
+
:last-update-label: Senast uppdaterad
|
11
|
+
ifdef::listing-caption[:listing-caption: Lista]
|
12
|
+
ifdef::manname-title[:manname-title: Namn]
|
13
|
+
:note-caption: Notera
|
14
|
+
:part-label: Del
|
15
|
+
:part-refsig: {part-label}
|
16
|
+
ifdef::preface-title[:preface-title: Förord]
|
17
|
+
:section-refsig: Avsnitt
|
18
|
+
:table-caption: Tabell
|
19
|
+
:tip-caption: Tips
|
20
|
+
:toc-title: Innehållsförteckning
|
21
|
+
:untitled-label: Odöpt
|
22
|
+
:version-label: Version
|
23
|
+
:warning-caption: Varning
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: Önemli
|
10
10
|
:last-update-label: Son güncelleme
|
11
11
|
ifdef::listing-caption[:listing-caption: Listeleme]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: İsim]
|
13
13
|
:note-caption: Not
|
14
14
|
//:part-refsig: ???
|
15
15
|
ifdef::preface-title[:preface-title: Ön söz]
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:important-caption: Важливо
|
10
10
|
:last-update-label: Востаннє оновлено
|
11
11
|
ifdef::listing-caption[:listing-caption: Лістинг]
|
12
|
-
|
12
|
+
ifdef::manname-title[:manname-title: Назва]
|
13
13
|
:note-caption: Зауваження
|
14
14
|
//:part-refsig: ???
|
15
15
|
ifdef::preface-title[:preface-title: Передмова]
|
@@ -69,7 +69,7 @@ h2{font-size:1.6875em}
|
|
69
69
|
h3,#toctitle,.sidebarblock>.content>.title{font-size:1.375em}
|
70
70
|
h4,h5{font-size:1.125em}
|
71
71
|
h6{font-size:1em}
|
72
|
-
hr{border:solid #
|
72
|
+
hr{border:solid #dddddf;border-width:1px 0 0;clear:both;margin:1.25em 0 1.1875em;height:0}
|
73
73
|
em,i{font-style:italic;line-height:inherit}
|
74
74
|
strong,b{font-weight:bold;line-height:inherit}
|
75
75
|
small{font-size:60%;line-height:inherit}
|
@@ -131,9 +131,9 @@ p a>code:hover{color:rgba(0,0,0,.9)}
|
|
131
131
|
#content{margin-top:1.25em}
|
132
132
|
#content::before{content:none}
|
133
133
|
#header>h1:first-child{color:rgba(0,0,0,.85);margin-top:2.25rem;margin-bottom:0}
|
134
|
-
#header>h1:first-child+#toc{margin-top:8px;border-top:1px solid #
|
135
|
-
#header>h1:only-child,body.toc2 #header>h1:nth-last-child(2){border-bottom:1px solid #
|
136
|
-
#header .details{border-bottom:1px solid #
|
134
|
+
#header>h1:first-child+#toc{margin-top:8px;border-top:1px solid #dddddf}
|
135
|
+
#header>h1:only-child,body.toc2 #header>h1:nth-last-child(2){border-bottom:1px solid #dddddf;padding-bottom:8px}
|
136
|
+
#header .details{border-bottom:1px solid #dddddf;line-height:1.45;padding-top:.25em;padding-bottom:.25em;padding-left:.25em;color:rgba(0,0,0,.6);display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-flow:row wrap;-webkit-flex-flow:row wrap;flex-flow:row wrap}
|
137
137
|
#header .details span:first-child{margin-left:-.125em}
|
138
138
|
#header .details span.email a{color:rgba(0,0,0,.85)}
|
139
139
|
#header .details br{display:none}
|
@@ -142,8 +142,8 @@ p a>code:hover{color:rgba(0,0,0,.9)}
|
|
142
142
|
#header .details br+span#revremark::before{content:"\00a0|\00a0"}
|
143
143
|
#header #revnumber{text-transform:capitalize}
|
144
144
|
#header #revnumber::after{content:"\00a0"}
|
145
|
-
#content>h1:first-child:not([class]){color:rgba(0,0,0,.85);border-bottom:1px solid #
|
146
|
-
#toc{border-bottom:1px solid #
|
145
|
+
#content>h1:first-child:not([class]){color:rgba(0,0,0,.85);border-bottom:1px solid #dddddf;padding-bottom:8px;margin-top:0;padding-top:1rem;margin-bottom:1.25rem}
|
146
|
+
#toc{border-bottom:1px solid #e7e7e9;padding-bottom:.5em}
|
147
147
|
#toc>ul{margin-left:.125em}
|
148
148
|
#toc ul.sectlevel0>li>a{font-style:italic}
|
149
149
|
#toc ul.sectlevel0 ul.sectlevel1{margin:.5em 0}
|
@@ -154,13 +154,13 @@ p a>code:hover{color:rgba(0,0,0,.9)}
|
|
154
154
|
#toctitle{color:#7a2518;font-size:1.2em}
|
155
155
|
@media screen and (min-width:768px){#toctitle{font-size:1.375em}
|
156
156
|
body.toc2{padding-left:15em;padding-right:0}
|
157
|
-
#toc.toc2{margin-top:0!important;background-color:#f8f8f7;position:fixed;width:15em;left:0;top:0;border-right:1px solid #
|
157
|
+
#toc.toc2{margin-top:0!important;background-color:#f8f8f7;position:fixed;width:15em;left:0;top:0;border-right:1px solid #e7e7e9;border-top-width:0!important;border-bottom-width:0!important;z-index:1000;padding:1.25em 1em;height:100%;overflow:auto}
|
158
158
|
#toc.toc2 #toctitle{margin-top:0;margin-bottom:.8rem;font-size:1.2em}
|
159
159
|
#toc.toc2>ul{font-size:.9em;margin-bottom:0}
|
160
160
|
#toc.toc2 ul ul{margin-left:0;padding-left:1em}
|
161
161
|
#toc.toc2 ul.sectlevel0 ul.sectlevel1{padding-left:0;margin-top:.5em;margin-bottom:.5em}
|
162
162
|
body.toc2.toc-right{padding-left:0;padding-right:15em}
|
163
|
-
body.toc2.toc-right #toc.toc2{border-right-width:0;border-left:1px solid #
|
163
|
+
body.toc2.toc-right #toc.toc2{border-right-width:0;border-left:1px solid #e7e7e9;left:auto;right:0}}
|
164
164
|
@media screen and (min-width:1280px){body.toc2{padding-left:20em;padding-right:0}
|
165
165
|
#toc.toc2{width:20em}
|
166
166
|
#toc.toc2 #toctitle{font-size:1.375em}
|
@@ -177,7 +177,7 @@ body.toc2.toc-right{padding-left:0;padding-right:20em}}
|
|
177
177
|
@media screen and (min-width:768px){#content{margin-bottom:1.25em}
|
178
178
|
.sect1{padding-bottom:1.25em}}
|
179
179
|
.sect1:last-child{padding-bottom:0}
|
180
|
-
.sect1+.sect1{border-top:1px solid #
|
180
|
+
.sect1+.sect1{border-top:1px solid #e7e7e9}
|
181
181
|
#content h1>a.anchor,h2>a.anchor,h3>a.anchor,#toctitle>a.anchor,.sidebarblock>.content>.title>a.anchor,h4>a.anchor,h5>a.anchor,h6>a.anchor{position:absolute;z-index:1001;width:1.5ex;margin-left:-1.5ex;display:block;text-decoration:none!important;visibility:hidden;text-align:center;font-weight:400}
|
182
182
|
#content h1>a.anchor::before,h2>a.anchor::before,h3>a.anchor::before,#toctitle>a.anchor::before,.sidebarblock>.content>.title>a.anchor::before,h4>a.anchor::before,h5>a.anchor::before,h6>a.anchor::before{content:"\00A7";font-size:.85em;display:block;padding-top:.1em}
|
183
183
|
#content h1:hover>a.anchor,#content h1>a.anchor:hover,h2:hover>a.anchor,h2>a.anchor:hover,h3:hover>a.anchor,#toctitle:hover>a.anchor,.sidebarblock>.content>.title:hover>a.anchor,h3>a.anchor:hover,#toctitle>a.anchor:hover,.sidebarblock>.content>.title>a.anchor:hover,h4:hover>a.anchor,h4>a.anchor:hover,h5:hover>a.anchor,h5>a.anchor:hover,h6:hover>a.anchor,h6>a.anchor:hover{visibility:visible}
|
@@ -192,7 +192,7 @@ table.tableblock #preamble>.sectionbody>[class="paragraph"]:first-of-type p{font
|
|
192
192
|
.admonitionblock>table td.icon{text-align:center;width:80px}
|
193
193
|
.admonitionblock>table td.icon img{max-width:none}
|
194
194
|
.admonitionblock>table td.icon .title{font-weight:bold;font-family:"Open Sans","DejaVu Sans",sans-serif;text-transform:uppercase}
|
195
|
-
.admonitionblock>table td.content{padding-left:1.125em;padding-right:1.25em;border-left:1px solid #
|
195
|
+
.admonitionblock>table td.content{padding-left:1.125em;padding-right:1.25em;border-left:1px solid #dddddf;color:rgba(0,0,0,.6)}
|
196
196
|
.admonitionblock>table td.content>:last-child>:last-child{margin-bottom:0}
|
197
197
|
.exampleblock>.content{border-style:solid;border-width:1px;border-color:#e6e6e6;margin-bottom:1.25em;padding:1.25em;background:#fff;-webkit-border-radius:4px;border-radius:4px}
|
198
198
|
.exampleblock>.content>:first-child{margin-top:0}
|
@@ -204,10 +204,10 @@ table.tableblock #preamble>.sectionbody>[class="paragraph"]:first-of-type p{font
|
|
204
204
|
.exampleblock>.content>:last-child>:last-child,.exampleblock>.content .olist>ol>li:last-child>:last-child,.exampleblock>.content .ulist>ul>li:last-child>:last-child,.exampleblock>.content .qlist>ol>li:last-child>:last-child,.sidebarblock>.content>:last-child>:last-child,.sidebarblock>.content .olist>ol>li:last-child>:last-child,.sidebarblock>.content .ulist>ul>li:last-child>:last-child,.sidebarblock>.content .qlist>ol>li:last-child>:last-child{margin-bottom:0}
|
205
205
|
.literalblock pre,.listingblock pre:not(.highlight),.listingblock pre[class="highlight"],.listingblock pre[class^="highlight "],.listingblock pre.CodeRay,.listingblock pre.prettyprint{background:#f7f7f8}
|
206
206
|
.sidebarblock .literalblock pre,.sidebarblock .listingblock pre:not(.highlight),.sidebarblock .listingblock pre[class="highlight"],.sidebarblock .listingblock pre[class^="highlight "],.sidebarblock .listingblock pre.CodeRay,.sidebarblock .listingblock pre.prettyprint{background:#f2f1f1}
|
207
|
-
.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{-webkit-border-radius:4px;border-radius:4px;word-wrap:break-word;padding:1em;font-size:.8125em}
|
208
|
-
.literalblock pre.nowrap,.literalblock pre[class].nowrap,.listingblock pre.nowrap,.listingblock pre[class].nowrap{overflow-x:auto;white-space:pre;word-wrap:normal}
|
207
|
+
.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{-webkit-border-radius:4px;border-radius:4px;word-wrap:break-word;overflow-x:auto;padding:1em;font-size:.8125em}
|
209
208
|
@media screen and (min-width:768px){.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{font-size:.90625em}}
|
210
209
|
@media screen and (min-width:1280px){.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{font-size:1em}}
|
210
|
+
.literalblock pre.nowrap,.literalblock pre.nowrap pre,.listingblock pre.nowrap,.listingblock pre.nowrap pre{white-space:pre;word-wrap:normal}
|
211
211
|
.literalblock.output pre{color:#f7f7f8;background-color:rgba(0,0,0,.9)}
|
212
212
|
.listingblock pre.highlightjs{padding:0}
|
213
213
|
.listingblock pre.highlightjs>code{padding:1em;-webkit-border-radius:4px;border-radius:4px}
|
@@ -220,19 +220,16 @@ table.tableblock #preamble>.sectionbody>[class="paragraph"]:first-of-type p{font
|
|
220
220
|
table.pyhltable{border-collapse:separate;border:0;margin-bottom:0;background:none}
|
221
221
|
table.pyhltable td{vertical-align:top;padding-top:0;padding-bottom:0;line-height:1.45}
|
222
222
|
table.pyhltable td.code{padding-left:.75em;padding-right:0}
|
223
|
-
pre.pygments .lineno,table.pyhltable td:not(.code){color:#999;padding-left:0;padding-right:.5em;border-right:1px solid #
|
223
|
+
pre.pygments .lineno,table.pyhltable td:not(.code){color:#999;padding-left:0;padding-right:.5em;border-right:1px solid #dddddf}
|
224
224
|
pre.pygments .lineno{display:inline-block;margin-right:.25em}
|
225
225
|
table.pyhltable .linenodiv{background:none!important;padding-right:0!important}
|
226
226
|
.quoteblock{margin:0 1em 1.25em 1.5em;display:table}
|
227
227
|
.quoteblock>.title{margin-left:-1.5em;margin-bottom:.75em}
|
228
|
-
.quoteblock blockquote,.quoteblock
|
228
|
+
.quoteblock blockquote,.quoteblock p{color:rgba(0,0,0,.85);font-size:1.15rem;line-height:1.75;word-spacing:.1em;letter-spacing:0;font-style:italic;text-align:justify}
|
229
229
|
.quoteblock blockquote{margin:0;padding:0;border:0}
|
230
230
|
.quoteblock blockquote::before{content:"\201c";float:left;font-size:2.75em;font-weight:bold;line-height:.6em;margin-left:-.6em;color:#7a2518;text-shadow:0 1px 2px rgba(0,0,0,.1)}
|
231
231
|
.quoteblock blockquote>.paragraph:last-child p{margin-bottom:0}
|
232
|
-
.quoteblock .attribution{margin-top:.
|
233
|
-
.quoteblock .quoteblock{margin-left:0;margin-right:0;padding:.5em 0;border-left:3px solid rgba(0,0,0,.6)}
|
234
|
-
.quoteblock .quoteblock blockquote{padding:0 0 0 .75em}
|
235
|
-
.quoteblock .quoteblock blockquote::before{display:none}
|
232
|
+
.quoteblock .attribution{margin-top:.75em;margin-right:.5ex;text-align:right}
|
236
233
|
.verseblock{margin:0 1em 1.25em}
|
237
234
|
.verseblock pre{font-family:"Open Sans","DejaVu Sans",sans;font-size:1.15rem;color:rgba(0,0,0,.85);font-weight:300;text-rendering:optimizeLegibility}
|
238
235
|
.verseblock pre strong{font-weight:400}
|
@@ -240,10 +237,13 @@ table.pyhltable .linenodiv{background:none!important;padding-right:0!important}
|
|
240
237
|
.quoteblock .attribution,.verseblock .attribution{font-size:.9375em;line-height:1.45;font-style:italic}
|
241
238
|
.quoteblock .attribution br,.verseblock .attribution br{display:none}
|
242
239
|
.quoteblock .attribution cite,.verseblock .attribution cite{display:block;letter-spacing:-.025em;color:rgba(0,0,0,.6)}
|
240
|
+
.quoteblock.abstract blockquote::before,.quoteblock.excerpt blockquote::before,.quoteblock .quoteblock blockquote::before{display:none}
|
241
|
+
.quoteblock.abstract blockquote,.quoteblock.abstract p,.quoteblock.excerpt blockquote,.quoteblock.excerpt p,.quoteblock .quoteblock blockquote,.quoteblock .quoteblock p{line-height:1.6;word-spacing:0}
|
243
242
|
.quoteblock.abstract{margin:0 1em 1.25em;display:block}
|
244
243
|
.quoteblock.abstract>.title{margin:0 0 .375em;font-size:1.15em;text-align:center}
|
245
|
-
.quoteblock.
|
246
|
-
.quoteblock.
|
244
|
+
.quoteblock.excerpt,.quoteblock .quoteblock{margin:0 0 1.25em;padding:0 0 .25em 1em;border-left:.25em solid #dddddf}
|
245
|
+
.quoteblock.excerpt blockquote,.quoteblock.excerpt p,.quoteblock .quoteblock blockquote,.quoteblock .quoteblock p{color:inherit;font-size:1.0625rem}
|
246
|
+
.quoteblock.excerpt .attribution,.quoteblock .quoteblock .attribution{color:inherit;text-align:left;margin-right:0}
|
247
247
|
table.tableblock{max-width:100%;border-collapse:separate}
|
248
248
|
p.tableblock:last-child{margin-bottom:0}
|
249
249
|
td.tableblock>.content{margin-bottom:-1.25em}
|
@@ -302,8 +302,8 @@ td.hdlist1{font-weight:bold;padding-bottom:1.25em}
|
|
302
302
|
.colist td:not([class]):first-child img{max-width:none}
|
303
303
|
.colist td:not([class]):last-child{padding:.25em 0}
|
304
304
|
.thumb,.th{line-height:0;display:inline-block;border:solid 4px #fff;-webkit-box-shadow:0 0 0 1px #ddd;box-shadow:0 0 0 1px #ddd}
|
305
|
-
.imageblock.left
|
306
|
-
.imageblock.right
|
305
|
+
.imageblock.left{margin:.25em .625em 1.25em 0}
|
306
|
+
.imageblock.right{margin:.25em 0 1.25em .625em}
|
307
307
|
.imageblock>.title{margin-bottom:0}
|
308
308
|
.imageblock.thumb,.imageblock.th{border-width:6px}
|
309
309
|
.imageblock.thumb>.title,.imageblock.th>.title{padding:0 .125em}
|
@@ -397,7 +397,7 @@ svg{max-width:100%}
|
|
397
397
|
p,blockquote,dt,td.content{font-size:1em;orphans:3;widows:3}
|
398
398
|
h2,h3,#toctitle,.sidebarblock>.content>.title{page-break-after:avoid}
|
399
399
|
#toc,.sidebarblock,.exampleblock>.content{background:none!important}
|
400
|
-
#toc{border-bottom:1px solid #
|
400
|
+
#toc{border-bottom:1px solid #dddddf!important;padding-bottom:0!important}
|
401
401
|
body.book #header{text-align:center}
|
402
402
|
body.book #header>h1:first-child{border:0!important;margin:2.5em 0 1em}
|
403
403
|
body.book #header .details{border:0!important;display:block;padding:0!important}
|