asciidoctor-rsd 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-rsd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-14 00:00:00.000000000 Z
11
+ date: 2018-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor
@@ -156,28 +156,28 @@ dependencies:
156
156
  requirements:
157
157
  - - ">="
158
158
  - !ruby/object:Gem::Version
159
- version: 0.7.5
159
+ version: 0.8.0
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
- version: 0.7.5
166
+ version: 0.8.0
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: isodoc
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - ">="
172
172
  - !ruby/object:Gem::Version
173
- version: '0'
173
+ version: 0.7.0
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - ">="
179
179
  - !ruby/object:Gem::Version
180
- version: '0'
180
+ version: 0.7.0
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: bundler
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -343,19 +343,28 @@ files:
343
343
  - lib/asciidoctor/rsd.rb
344
344
  - lib/asciidoctor/rsd/biblio.rng
345
345
  - lib/asciidoctor/rsd/converter.rb
346
- - lib/asciidoctor/rsd/html/dots-w@2x.png
347
- - lib/asciidoctor/rsd/html/dots@2x.png
348
- - lib/asciidoctor/rsd/html/header.html
349
- - lib/asciidoctor/rsd/html/html_rsd_intro.html
350
- - lib/asciidoctor/rsd/html/html_rsd_titlepage.html
351
- - lib/asciidoctor/rsd/html/htmlstyle.scss
352
- - lib/asciidoctor/rsd/html/rsd.scss
353
- - lib/asciidoctor/rsd/html/scripts.html
354
346
  - lib/asciidoctor/rsd/isodoc.rng
355
347
  - lib/asciidoctor/rsd/isostandard.rng
348
+ - lib/asciidoctor/rsd/m3d.rng
356
349
  - lib/asciidoctor/rsd/rsd.rng
357
- - lib/asciidoctor/rsd/rsdconvert.rb
358
350
  - lib/asciidoctor/rsd/version.rb
351
+ - lib/isodoc/rsd/html/dots-w@2x.png
352
+ - lib/isodoc/rsd/html/dots@2x.png
353
+ - lib/isodoc/rsd/html/header.html
354
+ - lib/isodoc/rsd/html/html_rsd_intro.html
355
+ - lib/isodoc/rsd/html/html_rsd_titlepage.html
356
+ - lib/isodoc/rsd/html/htmlstyle.scss
357
+ - lib/isodoc/rsd/html/logo.jpg
358
+ - lib/isodoc/rsd/html/rsd.scss
359
+ - lib/isodoc/rsd/html/scripts.html
360
+ - lib/isodoc/rsd/html/word_rsd_intro.html
361
+ - lib/isodoc/rsd/html/word_rsd_titlepage.html
362
+ - lib/isodoc/rsd/html/wordstyle.scss
363
+ - lib/isodoc/rsd/metadata.rb
364
+ - lib/isodoc/rsd/rsdhtmlconvert.rb
365
+ - lib/isodoc/rsd/rsdhtmlrender.rb
366
+ - lib/isodoc/rsd/rsdwordconvert.rb
367
+ - lib/isodoc/rsd/rsdwordrender.rb
359
368
  homepage: https://github.com/riboseinc/asciidoctor-rsd
360
369
  licenses:
361
370
  - MIT
@@ -376,7 +385,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
376
385
  version: '0'
377
386
  requirements: []
378
387
  rubyforge_project:
379
- rubygems_version: 2.6.14
388
+ rubygems_version: 2.7.7
380
389
  signing_key:
381
390
  specification_version: 4
382
391
  summary: asciidoctor-rsd lets you write RSD in AsciiDoc.
@@ -1,68 +0,0 @@
1
- <script>//TOC generation
2
- $('#toc').toc({
3
- 'selectors': 'h1,h2:not(.TermNum)', //elements to use as headings
4
- 'container': 'main', //element to find all selectors in
5
- 'smoothScrolling': true, //enable or disable smooth scrolling on click
6
- 'prefix': 'toc', //prefix for anchor tags and class names
7
- 'onHighlight': function(el) {}, //called when a new section is highlighted
8
- 'highlightOnScroll': true, //add class to heading that is currently in focus
9
- 'highlightOffset': 100, //offset to trigger the next headline
10
- 'anchorName': function(i, heading, prefix) { //custom function for anchor name
11
- return prefix+i;
12
- },
13
- 'headerText': function(i, heading, $heading) { //custom function building the header-item text
14
- return $heading.text();
15
- },
16
- 'itemClass': function(i, heading, $heading, prefix) { // custom function for item class
17
- return $heading[0].tagName.toLowerCase();
18
- }
19
- });
20
-
21
- </script>
22
-
23
- <script>
24
- //TOC toggle animation
25
- $('#toggle').on('click', function(){
26
- if( $('nav').is(':visible') ) {
27
- $('nav').animate({ 'left': '-353px' }, 'slow', function(){
28
- $('nav').hide();
29
- });
30
- $('.container').animate({ 'padding-left': '31px' }, 'slow');
31
- }
32
- else {
33
- $('nav').show();
34
- $('nav').animate({ 'left': '0px' }, 'slow');
35
- $('.container').animate({ 'padding-left': '360px' }, 'slow');
36
- }
37
- });
38
- </script>
39
-
40
- <script>
41
- // Scroll to top button
42
- window.onscroll = function() {scrollFunction()};
43
-
44
- function scrollFunction() {
45
- if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) {
46
- document.getElementById("myBtn").style.display = "block";
47
- } else {
48
- document.getElementById("myBtn").style.display = "none";
49
- }
50
- }
51
-
52
- // When the user clicks on the button, scroll to the top of the document
53
- function topFunction() {
54
- document.body.scrollTop = 0;
55
- document.documentElement.scrollTop = 0;
56
- }
57
- </script>
58
-
59
- <script>
60
- $(document).ready(function() {
61
- $('[id^=toc]').each(function ()
62
- {
63
- var currentToc = $(this);
64
- var url = window.location.href;
65
- currentToc.wrap("<a href='" + url + "#" + currentToc.attr("id") + "' </a>");
66
- });
67
- });
68
- </script>