asciidocsy-jekyll-theme 0.3.0.pre.dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (340) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +201 -0
  3. data/_config.yml +66 -0
  4. data/_data/theme/alerts.yml +21 -0
  5. data/_data/theme/blocks.yml +33 -0
  6. data/_data/theme/forms.yml +72 -0
  7. data/_data/theme/navigation.yml +53 -0
  8. data/_data/theme/page-actions.yml +83 -0
  9. data/_data/theme/policies.yml +68 -0
  10. data/_data/theme/release-hx.yml +163 -0
  11. data/_data/theme/scripts.yml +43 -0
  12. data/_data/theme/semantics.yml +14 -0
  13. data/_data/theme/strings.yml +13 -0
  14. data/_data/theme/styles.yml +8 -0
  15. data/_docs/snippets/example_tabset-source.adoc +60 -0
  16. data/_docs/snippets/example_tabset-source_data.json +16 -0
  17. data/_docs/snippets/example_tabset-source_data.xml +17 -0
  18. data/_docs/snippets/example_tabset-source_data.yml +10 -0
  19. data/_docs/snippets/example_toggles.adoc +25 -0
  20. data/_docs/snippets/handlers-table.adoc +40 -0
  21. data/_docs/snippets/reference-cluster.adoc +1 -0
  22. data/_docs/topics/advanced-applications_c.adoc +50 -0
  23. data/_docs/topics/config-api_r.adoc +21 -0
  24. data/_docs/topics/config-release-hx.adoc +4 -0
  25. data/_docs/topics/config-search-algolia.adoc +77 -0
  26. data/_docs/topics/config-search.adoc +47 -0
  27. data/_docs/topics/config-semantics.adoc +45 -0
  28. data/_docs/topics/config-switcher_r.adoc +33 -0
  29. data/_docs/topics/config-tabber_r.adoc +49 -0
  30. data/_docs/topics/config-toggle_r.adoc +20 -0
  31. data/_docs/topics/config-versioning-amenders_r.adoc +76 -0
  32. data/_docs/topics/config-versioning-swaps_r.adoc +193 -0
  33. data/_docs/topics/config-versioning-tabsets_r.adoc +51 -0
  34. data/_docs/topics/config-versioning-toggles_r.adoc +42 -0
  35. data/_docs/topics/config-versioning.adoc +134 -0
  36. data/_docs/topics/config_r.adoc +131 -0
  37. data/_docs/topics/extend.adoc +70 -0
  38. data/_docs/topics/frontend-overview.adoc +62 -0
  39. data/_docs/topics/history-converse.adoc +18 -0
  40. data/_docs/topics/history-patches-merged.adoc +18 -0
  41. data/_docs/topics/history.adoc +23 -0
  42. data/_docs/topics/intro.adoc +6 -0
  43. data/_docs/topics/setup-bootstrap_t.adoc +71 -0
  44. data/_docs/topics/setup-environment_rg.adoc +65 -0
  45. data/_docs/topics/setup-quickstart_t.adoc +10 -0
  46. data/_docs/topics/setup.adoc +9 -0
  47. data/_docs/topics/syntax-highlighter-examples_r.adoc +172 -0
  48. data/_docs/topics/toolchain.adoc +79 -0
  49. data/_includes/_settings.liquid +2 -0
  50. data/_includes/_variables.sass +12 -0
  51. data/_includes/breadcrumbs.html +20 -0
  52. data/_includes/breadcrumbs_alt.html +6 -0
  53. data/_includes/config-api-objects.asciidoc +23 -0
  54. data/_includes/config-api-properties.asciidoc +29 -0
  55. data/_includes/config-api.asciidoc +29 -0
  56. data/_includes/feedback.html +59 -0
  57. data/_includes/footer-links_sup.html +5 -0
  58. data/_includes/footer.html +59 -0
  59. data/_includes/gdpr-message.html +41 -0
  60. data/_includes/google-analytics.html +11 -0
  61. data/_includes/head.html +74 -0
  62. data/_includes/header.html +22 -0
  63. data/_includes/hook.liquid +26 -0
  64. data/_includes/nav-site.html +30 -0
  65. data/_includes/nav-subject-menu.html +49 -0
  66. data/_includes/page-links.html +45 -0
  67. data/_includes/path-active.liquid +18 -0
  68. data/_includes/release-hx-change.asciidoc +7 -0
  69. data/_includes/release-hx-changes-listing.asciidoc +14 -0
  70. data/_includes/release-hx-note.asciidoc +54 -0
  71. data/_includes/release-hx-notes-listing.asciidoc +16 -0
  72. data/_includes/release-hx-revision.asciidoc +86 -0
  73. data/_includes/release-hx.asciidoc +57 -0
  74. data/_includes/scripts.html +8 -0
  75. data/_includes/search-form.html +113 -0
  76. data/_includes/see-also.html +17 -0
  77. data/_includes/social-links.html +10 -0
  78. data/_includes/string-eval.liquid +38 -0
  79. data/_includes/tail.html +7 -0
  80. data/_includes/theme-api-object-sub.asciidoc +4 -0
  81. data/_includes/theme-api-object.asciidoc +35 -0
  82. data/_includes/version-handler.html +245 -0
  83. data/_includes/versioning-controls.html +88 -0
  84. data/_layouts/default.html +94 -0
  85. data/_layouts/landing.html +28 -0
  86. data/_layouts/page.html +9 -0
  87. data/_layouts/post.html +8 -0
  88. data/_layouts/reference.html +6 -0
  89. data/_layouts/search.html +110 -0
  90. data/_layouts/topic.html +19 -0
  91. data/_sass/_asciidocsy.scss +698 -0
  92. data/_sass/_custom.scss +3 -0
  93. data/_sass/bootstrap/_alert.scss +51 -0
  94. data/_sass/bootstrap/_badge.scss +54 -0
  95. data/_sass/bootstrap/_breadcrumb.scss +41 -0
  96. data/_sass/bootstrap/_button-group.scss +163 -0
  97. data/_sass/bootstrap/_buttons.scss +137 -0
  98. data/_sass/bootstrap/_card.scss +289 -0
  99. data/_sass/bootstrap/_carousel.scss +197 -0
  100. data/_sass/bootstrap/_close.scss +41 -0
  101. data/_sass/bootstrap/_code.scss +48 -0
  102. data/_sass/bootstrap/_custom-forms.scss +507 -0
  103. data/_sass/bootstrap/_dropdown.scss +191 -0
  104. data/_sass/bootstrap/_forms.scss +330 -0
  105. data/_sass/bootstrap/_functions.scss +86 -0
  106. data/_sass/bootstrap/_grid.scss +52 -0
  107. data/_sass/bootstrap/_images.scss +42 -0
  108. data/_sass/bootstrap/_input-group.scss +193 -0
  109. data/_sass/bootstrap/_jumbotron.scss +17 -0
  110. data/_sass/bootstrap/_list-group.scss +149 -0
  111. data/_sass/bootstrap/_media.scss +8 -0
  112. data/_sass/bootstrap/_mixins.scss +47 -0
  113. data/_sass/bootstrap/_modal.scss +229 -0
  114. data/_sass/bootstrap/_nav.scss +120 -0
  115. data/_sass/bootstrap/_navbar.scss +294 -0
  116. data/_sass/bootstrap/_pagination.scss +73 -0
  117. data/_sass/bootstrap/_popover.scss +171 -0
  118. data/_sass/bootstrap/_print.scss +141 -0
  119. data/_sass/bootstrap/_progress.scss +43 -0
  120. data/_sass/bootstrap/_reboot.scss +483 -0
  121. data/_sass/bootstrap/_root.scss +19 -0
  122. data/_sass/bootstrap/_spinners.scss +55 -0
  123. data/_sass/bootstrap/_tables.scss +185 -0
  124. data/_sass/bootstrap/_toasts.scss +44 -0
  125. data/_sass/bootstrap/_tooltip.scss +115 -0
  126. data/_sass/bootstrap/_transitions.scss +20 -0
  127. data/_sass/bootstrap/_type.scss +125 -0
  128. data/_sass/bootstrap/_utilities.scss +17 -0
  129. data/_sass/bootstrap/_variables.scss +1123 -0
  130. data/_sass/bootstrap/bootstrap-grid.scss +29 -0
  131. data/_sass/bootstrap/bootstrap-reboot.scss +12 -0
  132. data/_sass/bootstrap/bootstrap.scss +44 -0
  133. data/_sass/bootstrap/mixins/_alert.scss +13 -0
  134. data/_sass/bootstrap/mixins/_background-variant.scss +21 -0
  135. data/_sass/bootstrap/mixins/_badge.scss +17 -0
  136. data/_sass/bootstrap/mixins/_border-radius.scss +63 -0
  137. data/_sass/bootstrap/mixins/_box-shadow.scss +20 -0
  138. data/_sass/bootstrap/mixins/_breakpoints.scss +123 -0
  139. data/_sass/bootstrap/mixins/_buttons.scss +107 -0
  140. data/_sass/bootstrap/mixins/_caret.scss +62 -0
  141. data/_sass/bootstrap/mixins/_clearfix.scss +7 -0
  142. data/_sass/bootstrap/mixins/_deprecate.scss +10 -0
  143. data/_sass/bootstrap/mixins/_float.scss +14 -0
  144. data/_sass/bootstrap/mixins/_forms.scss +192 -0
  145. data/_sass/bootstrap/mixins/_gradients.scss +45 -0
  146. data/_sass/bootstrap/mixins/_grid-framework.scss +66 -0
  147. data/_sass/bootstrap/mixins/_grid.scss +51 -0
  148. data/_sass/bootstrap/mixins/_hover.scss +37 -0
  149. data/_sass/bootstrap/mixins/_image.scss +36 -0
  150. data/_sass/bootstrap/mixins/_list-group.scss +21 -0
  151. data/_sass/bootstrap/mixins/_lists.scss +7 -0
  152. data/_sass/bootstrap/mixins/_nav-divider.scss +10 -0
  153. data/_sass/bootstrap/mixins/_pagination.scss +22 -0
  154. data/_sass/bootstrap/mixins/_reset-text.scss +17 -0
  155. data/_sass/bootstrap/mixins/_resize.scss +6 -0
  156. data/_sass/bootstrap/mixins/_screen-reader.scss +33 -0
  157. data/_sass/bootstrap/mixins/_size.scss +7 -0
  158. data/_sass/bootstrap/mixins/_table-row.scss +39 -0
  159. data/_sass/bootstrap/mixins/_text-emphasis.scss +16 -0
  160. data/_sass/bootstrap/mixins/_text-hide.scss +11 -0
  161. data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
  162. data/_sass/bootstrap/mixins/_transition.scss +16 -0
  163. data/_sass/bootstrap/mixins/_visibility.scss +8 -0
  164. data/_sass/bootstrap/utilities/_align.scss +8 -0
  165. data/_sass/bootstrap/utilities/_background.scss +19 -0
  166. data/_sass/bootstrap/utilities/_borders.scss +75 -0
  167. data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
  168. data/_sass/bootstrap/utilities/_display.scss +26 -0
  169. data/_sass/bootstrap/utilities/_embed.scss +39 -0
  170. data/_sass/bootstrap/utilities/_flex.scss +51 -0
  171. data/_sass/bootstrap/utilities/_float.scss +11 -0
  172. data/_sass/bootstrap/utilities/_overflow.scss +5 -0
  173. data/_sass/bootstrap/utilities/_position.scss +32 -0
  174. data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
  175. data/_sass/bootstrap/utilities/_shadows.scss +6 -0
  176. data/_sass/bootstrap/utilities/_sizing.scss +20 -0
  177. data/_sass/bootstrap/utilities/_spacing.scss +73 -0
  178. data/_sass/bootstrap/utilities/_stretched-link.scss +19 -0
  179. data/_sass/bootstrap/utilities/_text.scss +72 -0
  180. data/_sass/bootstrap/utilities/_visibility.scss +13 -0
  181. data/assets/css/asciidocsy.bak.css +722 -0
  182. data/assets/css/asciidocsy.scss +9 -0
  183. data/assets/css/asciidoctor.css +776 -0
  184. data/assets/css/bootstrap-4.3.bak.css +13780 -0
  185. data/assets/css/bootstrap-toc.css +60 -0
  186. data/assets/css/bootstrap.scss +4 -0
  187. data/assets/css/custom.css +2 -0
  188. data/assets/css/font-awesome.css +2337 -0
  189. data/assets/css/font-awesome.min.css +4 -0
  190. data/assets/css/jquery.navgoco.css +69 -0
  191. data/assets/css/palette.css +217 -0
  192. data/assets/css/skins/colony.css +734 -0
  193. data/assets/css/skins/foundation-lime.css +727 -0
  194. data/assets/css/skins/foundation-potion.css +727 -0
  195. data/assets/css/skins/foundation.css +720 -0
  196. data/assets/css/skins/github.css +741 -0
  197. data/assets/css/skins/golo.css +738 -0
  198. data/assets/css/skins/iconic.css +762 -0
  199. data/assets/css/skins/maker.css +738 -0
  200. data/assets/css/skins/readthedocs.css +739 -0
  201. data/assets/css/skins/riak.css +759 -0
  202. data/assets/css/skins/rocket-panda.css +734 -0
  203. data/assets/css/skins/rubygems.css +722 -0
  204. data/assets/css/syntax/hljs/a11y-dark.css +99 -0
  205. data/assets/css/syntax/hljs/a11y-light.css +99 -0
  206. data/assets/css/syntax/hljs/agate.css +108 -0
  207. data/assets/css/syntax/hljs/an-old-hope.css +89 -0
  208. data/assets/css/syntax/hljs/androidstudio.css +66 -0
  209. data/assets/css/syntax/hljs/arduino-light.css +87 -0
  210. data/assets/css/syntax/hljs/arta.css +73 -0
  211. data/assets/css/syntax/hljs/ascetic.css +45 -0
  212. data/assets/css/syntax/hljs/atelier-cave-dark.css +83 -0
  213. data/assets/css/syntax/hljs/atelier-cave-light.css +85 -0
  214. data/assets/css/syntax/hljs/atelier-dune-dark.css +69 -0
  215. data/assets/css/syntax/hljs/atelier-dune-light.css +69 -0
  216. data/assets/css/syntax/hljs/atelier-estuary-dark.css +84 -0
  217. data/assets/css/syntax/hljs/atelier-estuary-light.css +84 -0
  218. data/assets/css/syntax/hljs/atelier-forest-dark.css +69 -0
  219. data/assets/css/syntax/hljs/atelier-forest-light.css +69 -0
  220. data/assets/css/syntax/hljs/atelier-heath-dark.css +69 -0
  221. data/assets/css/syntax/hljs/atelier-heath-light.css +69 -0
  222. data/assets/css/syntax/hljs/atelier-lakeside-dark.css +69 -0
  223. data/assets/css/syntax/hljs/atelier-lakeside-light.css +69 -0
  224. data/assets/css/syntax/hljs/atelier-plateau-dark.css +84 -0
  225. data/assets/css/syntax/hljs/atelier-plateau-light.css +84 -0
  226. data/assets/css/syntax/hljs/atelier-savanna-dark.css +84 -0
  227. data/assets/css/syntax/hljs/atelier-savanna-light.css +84 -0
  228. data/assets/css/syntax/hljs/atelier-seaside-dark.css +69 -0
  229. data/assets/css/syntax/hljs/atelier-seaside-light.css +69 -0
  230. data/assets/css/syntax/hljs/atelier-sulphurpool-dark.css +69 -0
  231. data/assets/css/syntax/hljs/atelier-sulphurpool-light.css +69 -0
  232. data/assets/css/syntax/hljs/atom-one-dark-reasonable.css +75 -0
  233. data/assets/css/syntax/hljs/atom-one-dark.css +96 -0
  234. data/assets/css/syntax/hljs/atom-one-light.css +96 -0
  235. data/assets/css/syntax/hljs/brown-paper.css +64 -0
  236. data/assets/css/syntax/hljs/brown-papersq.png +0 -0
  237. data/assets/css/syntax/hljs/codepen-embed.css +60 -0
  238. data/assets/css/syntax/hljs/color-brewer.css +71 -0
  239. data/assets/css/syntax/hljs/darcula.css +74 -0
  240. data/assets/css/syntax/hljs/dark.css +63 -0
  241. data/assets/css/syntax/hljs/default.css +99 -0
  242. data/assets/css/syntax/hljs/docco.css +97 -0
  243. data/assets/css/syntax/hljs/dracula.css +76 -0
  244. data/assets/css/syntax/hljs/far.css +71 -0
  245. data/assets/css/syntax/hljs/foundation.css +89 -0
  246. data/assets/css/syntax/hljs/github-gist.css +79 -0
  247. data/assets/css/syntax/hljs/github.css +99 -0
  248. data/assets/css/syntax/hljs/gml.css +78 -0
  249. data/assets/css/syntax/hljs/googlecode.css +89 -0
  250. data/assets/css/syntax/hljs/gradient-dark.css +122 -0
  251. data/assets/css/syntax/hljs/gradient-light.css +130 -0
  252. data/assets/css/syntax/hljs/grayscale.css +101 -0
  253. data/assets/css/syntax/hljs/gruvbox-dark.css +108 -0
  254. data/assets/css/syntax/hljs/gruvbox-light.css +108 -0
  255. data/assets/css/syntax/hljs/hopscotch.css +84 -0
  256. data/assets/css/syntax/hljs/hybrid.css +102 -0
  257. data/assets/css/syntax/hljs/idea.css +97 -0
  258. data/assets/css/syntax/hljs/ir-black.css +73 -0
  259. data/assets/css/syntax/hljs/isbl-editor-dark.css +112 -0
  260. data/assets/css/syntax/hljs/isbl-editor-light.css +111 -0
  261. data/assets/css/syntax/hljs/kimbie.dark.css +74 -0
  262. data/assets/css/syntax/hljs/kimbie.light.css +74 -0
  263. data/assets/css/syntax/hljs/lightfair.css +88 -0
  264. data/assets/css/syntax/hljs/lioshi.css +88 -0
  265. data/assets/css/syntax/hljs/magula.css +70 -0
  266. data/assets/css/syntax/hljs/mono-blue.css +56 -0
  267. data/assets/css/syntax/hljs/monokai-sublime.css +83 -0
  268. data/assets/css/syntax/hljs/monokai.css +71 -0
  269. data/assets/css/syntax/hljs/night-owl.css +182 -0
  270. data/assets/css/syntax/hljs/nnfx-dark.css +106 -0
  271. data/assets/css/syntax/hljs/nnfx.css +106 -0
  272. data/assets/css/syntax/hljs/nord.css +309 -0
  273. data/assets/css/syntax/hljs/obsidian.css +88 -0
  274. data/assets/css/syntax/hljs/ocean.css +74 -0
  275. data/assets/css/syntax/hljs/paraiso-dark.css +72 -0
  276. data/assets/css/syntax/hljs/paraiso-light.css +72 -0
  277. data/assets/css/syntax/hljs/pojoaque.css +83 -0
  278. data/assets/css/syntax/hljs/pojoaque.jpg +0 -0
  279. data/assets/css/syntax/hljs/purebasic.css +96 -0
  280. data/assets/css/syntax/hljs/qtcreator_dark.css +83 -0
  281. data/assets/css/syntax/hljs/qtcreator_light.css +83 -0
  282. data/assets/css/syntax/hljs/railscasts.css +106 -0
  283. data/assets/css/syntax/hljs/rainbow.css +85 -0
  284. data/assets/css/syntax/hljs/routeros.css +108 -0
  285. data/assets/css/syntax/hljs/school-book.css +69 -0
  286. data/assets/css/syntax/hljs/school-book.png +0 -0
  287. data/assets/css/syntax/hljs/shades-of-purple.css +96 -0
  288. data/assets/css/syntax/hljs/solarized-dark.css +84 -0
  289. data/assets/css/syntax/hljs/solarized-light.css +84 -0
  290. data/assets/css/syntax/hljs/srcery.css +78 -0
  291. data/assets/css/syntax/hljs/stackoverflow-dark.css +78 -0
  292. data/assets/css/syntax/hljs/stackoverflow-light.css +78 -0
  293. data/assets/css/syntax/hljs/sunburst.css +102 -0
  294. data/assets/css/syntax/hljs/tomorrow-night-blue.css +75 -0
  295. data/assets/css/syntax/hljs/tomorrow-night-bright.css +74 -0
  296. data/assets/css/syntax/hljs/tomorrow-night-eighties.css +74 -0
  297. data/assets/css/syntax/hljs/tomorrow-night.css +75 -0
  298. data/assets/css/syntax/hljs/tomorrow.css +72 -0
  299. data/assets/css/syntax/hljs/vs.css +68 -0
  300. data/assets/css/syntax/hljs/vs2015.css +115 -0
  301. data/assets/css/syntax/hljs/xcode.css +104 -0
  302. data/assets/css/syntax/hljs/xt256.css +92 -0
  303. data/assets/css/syntax/hljs/zenburn.css +80 -0
  304. data/assets/fonts/FontAwesome.otf +0 -0
  305. data/assets/fonts/fontawesome-webfont.eot +0 -0
  306. data/assets/fonts/fontawesome-webfont.svg +2671 -0
  307. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  308. data/assets/fonts/fontawesome-webfont.woff +0 -0
  309. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  310. data/assets/images/asciidocsy-nav-model.png +0 -0
  311. data/assets/images/asciidocsy-screenshot.png +0 -0
  312. data/assets/images/docops-labs-logo.png +0 -0
  313. data/assets/images/favicons/favicon-16x16.png +0 -0
  314. data/assets/images/favicons/favicon-32x32.png +0 -0
  315. data/assets/images/favicons/favicon.ico +0 -0
  316. data/assets/images/github-repo-download_screenshot.png +0 -0
  317. data/assets/images/logo-full.png +0 -0
  318. data/assets/images/logo.png +0 -0
  319. data/assets/images/logo.svg +87 -0
  320. data/assets/images/search-by-algolia-light-background.svg +1 -0
  321. data/assets/images/thumb-topic-data-source-edit.png +0 -0
  322. data/assets/js/anchor.min.js +9 -0
  323. data/assets/js/asciidoctor.min.js +1472 -0
  324. data/assets/js/bootstrap-toc.js +180 -0
  325. data/assets/js/bootstrap.min.js +7 -0
  326. data/assets/js/highlight.pack.js +870 -0
  327. data/assets/js/jquery-3.3.1.js +10364 -0
  328. data/assets/js/jquery-3.3.1.min.js +2 -0
  329. data/assets/js/jquery.cookie.js +114 -0
  330. data/assets/js/jquery.navgoco.js +314 -0
  331. data/assets/js/semantics.js +58 -0
  332. data/assets/js/tabber.js +111 -0
  333. data/assets/js/tail.js +37 -0
  334. data/assets/js/toggler.js +50 -0
  335. data/lib/asciidocsy/data/dependencies.yml +142 -0
  336. data/lib/asciidocsy/data/releases.yml +197 -0
  337. data/lib/asciidocsy/templates/notice-file.txt +16 -0
  338. data/lib/asciidocsy/version.rb +13 -0
  339. data/lib/asciidocsy.rb +1 -0
  340. metadata +423 -0
@@ -0,0 +1,58 @@
1
+ ---
2
+ layout: null
3
+ ---
4
+ $( document ).ready(function() {
5
+ /**
6
+ * controls the
7
+ * term-popover effect
8
+ **/
9
+ if ($('.term').length) { // nothing happens if there are no terms on the page
10
+ const termsDict = {{ site.data.terms | jsonify }}
11
+ const icon = '{{ site.data.theme.semantics.inline.role.term.show.icon.text }}'
12
+ var termsList = []
13
+ /**
14
+ Scan content for terms and insert data- attrs for
15
+ popovers
16
+ **/
17
+ const asciidoctor = Asciidoctor();
18
+ $('.term').each(function() {
19
+ var classes = $(this).attr('class').split(' ');
20
+ if (classes.length > 1) {
21
+ var theTerm = termsDict.find(t => t.slug == classes[1]);
22
+ } else {
23
+ var theTerm = termsDict.find(t => t.slug == $(this).html().toLowerCase().replace(' ','-'));
24
+ };
25
+ if (typeof theTerm !== 'undefined') {
26
+ if (!termsList.find(t => t.slug == theTerm.slug)) {
27
+ termsList.push(theTerm);
28
+ };
29
+ {% if site.data.theme.semantics.inline.role.term.show.icon %}
30
+ {% if site.data.theme.semantics.inline.role.term.show.icon.tilt %}
31
+ {% assign rotate = "fa-rotate-" | append: site.data.theme.semantics.inline.role.term.show.icon.tilt %}
32
+ {% endif %}
33
+ $(this).append('<i class="icon ' + icon + ' {{rotate}}">');
34
+ {% endif %}
35
+ $(this).attr('data-toggle', 'popover');
36
+ $(this).attr('data-title', theTerm['term']);
37
+ $(this).attr('data-content', asciidoctor.convert(theTerm['desc'], {doctype: 'inline'}));
38
+ {% if site.data.theme.semantics.inline.role.term.show.icon.spin %}
39
+ $(this).hover(
40
+ function() {
41
+ $(this).children('i').addClass('fa-spin')
42
+ },
43
+ function() {
44
+ $(this).children('i').removeClass('fa-spin')
45
+ });
46
+ {% endif %}
47
+ } else {
48
+ $(this).attr('data-error', 'No term entry found');
49
+ };
50
+ });
51
+ var termsListHTML = '<div class="h5 nav-title terms-nav">Terms in this topic:</div><ul class="page-terms-list nav-list">'
52
+ termsList.forEach(function(item){
53
+ termsListHTML += '<li class="list-item nav-item"><a href="/glossary/#' + item.slug + '">' + item.term + '</li>'
54
+ });
55
+ termsListHTML += '</ul>';
56
+ $('#terms-listing').prepend(termsListHTML);
57
+ };
58
+ });
@@ -0,0 +1,111 @@
1
+ ---
2
+ layout: null
3
+ ---
4
+ /**
5
+ * Convert the div blocks configured with 'tabber-' classes into Bootstrap
6
+ * tab/pane structures so they can be treated as Bootstrap tab controls.
7
+ *
8
+ * See:
9
+ * https://getbootstrap.com/docs/4.3/components/navs/#javascript-behavior
10
+ * https://www.w3schools.com/bootstrap/bootstrap_tabs_pills.asp
11
+ */
12
+ /**
13
+ Liquid generate JSON object of version handlers block
14
+ **/
15
+ {% assign handlers = site.data.theme.versioning.handlers %}
16
+ const tabSets = {
17
+ {% for ts in handlers %}
18
+ {% if ts[1].verb == "tab" %}
19
+ "{{ts[0]}}": {{ ts[1] | jsonify }}
20
+ {% endif %}
21
+ {% endfor %}
22
+ }
23
+
24
+ /**
25
+ Custom jQuery functions
26
+ **/
27
+ // Get the name of a tabset, tab, or pane based on this current element class
28
+ jQuery.fn.getNameByClass = function() {
29
+ var classes = this.attr("class").split(" ");
30
+ for (let i = 0; i < classes.length; ++i) {
31
+ if (classes[i] !== null) {
32
+ var nameClass = classes[i]
33
+ .match(/^((tabs|pane|item|link)\-)([a-z_\-0-9]+$)/)
34
+ if (nameClass != null) {
35
+ return classes[i].replace(nameClass[0],nameClass[3]);
36
+ break;
37
+ };
38
+ };
39
+ };
40
+ };
41
+
42
+ /**
43
+ Document ready
44
+ **/
45
+ $( document ).ready(function() {
46
+ // Get all the tabbed blocks of the page
47
+ $(".tabber-tabset").each(function() {
48
+ $(this).addClass("container")
49
+ var tabberName = $(this).getNameByClass()
50
+ var tabSet = tabSets[tabberName]['swap']['opts'];
51
+ $(this).prepend('<ul class="nav nav-tabs list-' + tabberName + '" role="tablist"></ul>')
52
+ // Get each tabbed pane
53
+ $(this).find('.tabber-pane').each(function() {
54
+ var tabName = $(this).getNameByClass()
55
+ var tabLabel = tabName.replace("-"," ")
56
+ $(this).wrap('<div class="tab-pane pane-' + tabName + ' fade" role="tabpanel"></div>')
57
+ if (tabSet !== null) {
58
+ // use a match from the tabSet to affix labevar tabLabel = ;
59
+ tabEntry = tabSet.find(opt => {
60
+ return opt.slug == tabName
61
+ });
62
+ if (typeof tabEntry !== "undefined" && tabEntry['text'] !== null) {
63
+ tabLabel = tabEntry['text']
64
+ }
65
+ };
66
+ // use the caption IF there is one
67
+ $(this).find('.title').each(function() {
68
+ tabLabel = $(this).html();
69
+ $(this).remove()
70
+ });
71
+ $(this).parent().parent('.content')
72
+ .addClass("tab-content").siblings('.nav.nav-tabs')
73
+ .append('<li class="nav-item item-' + tabName + '"><a href=".pane-' + tabName + '" class="nav-link link-' + tabName + '" data-toggle="tab" role="tab" aria-selected="false">' + tabLabel + '</a></li>')
74
+ });
75
+ // establish defaults
76
+ var pick = tabSets[tabberName]['swap']['pick'];
77
+ var nochoice = false;
78
+ if ( urlParams.has(tabberName) ) {
79
+ var val = urlParams.get(tabberName)
80
+ } else if ( $.cookie(tabberName) ) {
81
+ var val = $.cookie(tabberName)
82
+ } else if ( typeof tabSets[tabberName]['swap']['pick'] !== 'undefined' ) {
83
+ var val = tabSets[tabberName]['swap']['pick']
84
+ }
85
+ // fallback selection in case default/chosen is not a tab/pane in this tabber
86
+ $('.tabber-tabset .nav-item:first-child .nav-link').each( function() {
87
+ $(this).tab('show')
88
+ $('.pane-' + $(this).getNameByClass() ).each( function() {
89
+ $(this).addClass("active show").siblings().removeClass("active show")
90
+ });
91
+ });
92
+ // now load the defaults that do exist
93
+ $('.item-' + val + ' .link-' + val).each( function() {
94
+ $(this).tab('show')
95
+ });
96
+ $('.pane-' + val ).each( function() {
97
+ $(this).addClass("active show").siblings().removeClass("active show")
98
+ });
99
+ $.cookie(tabberName, val)
100
+ });
101
+ // additional actions on any tab click event
102
+ $('.tabber-tabset a[data-toggle="tab"]').on('click', function () {
103
+ var href = $(this).attr("href")
104
+ $('.tabber-tabset a[href="' + href + '"]').not($(this)).tab('show')
105
+ $(href).addClass("active show").siblings().removeClass("active show")
106
+ $.cookie(
107
+ $(this).parent().parent().parent().getNameByClass()
108
+ ,$(this).getNameByClass()
109
+ )
110
+ })
111
+ });
data/assets/js/tail.js ADDED
@@ -0,0 +1,37 @@
1
+ ---
2
+ layout: null
3
+ ---
4
+ $( document ).ready(function() {
5
+
6
+ // enable bootstrap effecs
7
+ $('[data-toggle="popover"]').popover({
8
+ placement : 'top',
9
+ container : 'body',
10
+ trigger : 'hover',
11
+ delay : { "show": 300, "hide": 200 },
12
+ html : true
13
+ });
14
+ $('[data-toggle="tooltip"]').tooltip({
15
+ placement : 'right',
16
+ container : 'body',
17
+ trigger : 'hover',
18
+ delay : { "show": 300, "hide": 200 }
19
+ });
20
+
21
+ // navgoco menu invocation and settings
22
+ $('#subject-menu').navgoco({
23
+ accordion: false,
24
+ openClass: 'open',
25
+ save: true,
26
+ cookie: {
27
+ name: 'navgoco',
28
+ expires: false,
29
+ path: '/'
30
+ },
31
+ slide: {
32
+ duration: 400,
33
+ easing: 'swing'
34
+ }
35
+ });
36
+
37
+ });
@@ -0,0 +1,50 @@
1
+ ---
2
+ ---
3
+ /**
4
+ Prepares content for toggling and executes toggle functionality
5
+ **/
6
+ $( document ).ready(function() {
7
+ {% assign handlers = site.data.theme.versioning.handlers %}
8
+ const toggleSets = {
9
+ {%- for ts in handlers %}
10
+ {%- if ts[1].verb == "toggle" %}
11
+ "{{ts[0]}}": {{ ts[1] | jsonify }}
12
+ {%- endif %}
13
+ {%- endfor %}
14
+ }
15
+ var togglesList = [];
16
+ // hide all elements with a switcher-managed class
17
+ $('.toggle-handler input').each(function () {
18
+ var theClass = $("." + $(this).val());
19
+ $(theClass).hide();
20
+ });
21
+ function toggleButton () {
22
+ console.log($(this).parent())
23
+ var thisToggle = $(this).parent().parent().attr('name');
24
+ var $thisInput = $(this)
25
+ var thisVal = $thisInput.val();
26
+ var activeClass = "." + thisVal;
27
+ $(this).parent().siblings().each( function() {
28
+ $( '.' + $(this).find('input').val() ).hide();
29
+ });
30
+ $(activeClass).show();
31
+ $.cookie(thisToggle, thisVal);
32
+ }
33
+ $('.toggle-handler input').on('focus', toggleButton)
34
+ $('.toggle-handler').each( function() {
35
+ var thisToggle = $(this).attr('name')
36
+ var pick = toggleSets[thisToggle]['swap']['pick']
37
+ // Prepare inititial activation, if any
38
+ if ( urlParams.has(thisToggle) ) {
39
+ var val = urlParams.get(thisToggle)
40
+ } else if ( $.cookie(thisToggle) ) {
41
+ var val = ($.cookie(thisToggle))
42
+ } else if ( pick != '' && typeof pick !== 'undefined' ) {
43
+ var val = pick
44
+ } else {
45
+ var val = $(this).find('input:first-child').val()
46
+ }
47
+ $(this).find('input[value="' + val + '"]').click()
48
+ });
49
+ // focus event
50
+ });
@@ -0,0 +1,142 @@
1
+ - name: FontAwesome
2
+ slug: fontawesome
3
+ desc: The iconic font and CSS toolkit.
4
+ version: 4.7.0
5
+ original:
6
+ author: Dave Gandy
7
+ license: Open Font License
8
+ uris:
9
+ site-www: http://fontawesome.io
10
+ repo-www: https://github.com/FortAwesome/Font-Awesome
11
+ # repo-uri: # infers git@:github.com:FortAwesome/Font-Awesome.git
12
+
13
+ - name: Bootstrap
14
+ slug: bootstrap
15
+ desc: Twitter's killer HTML/CSS/JS framework
16
+ version: 4.3.1
17
+ original:
18
+ author: Twitter Inc and The Bootstrap Authors
19
+ license: MIT
20
+ uris:
21
+ repo-www: https://github.com/twbs/bootstrap
22
+ site-www: https://getbootstrap.com/docs/4.3
23
+ vendor:
24
+ repo: git@github.com:DocOps/bootstrap.git
25
+ ref: v4.3.1
26
+ builds:
27
+ - # Sass compile command
28
+ # path: vendor/bootstrap # inferred
29
+ cdn:
30
+ - css: https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css
31
+ integrity: sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh
32
+ - js: https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js
33
+ integrity: sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6
34
+
35
+ - name: jQuery
36
+ slug: jquery
37
+ desc: Google's JavaScript framework
38
+ original:
39
+ author: OpenJS Foundation and other contributors
40
+ license: MIT
41
+ uris:
42
+ repo-www: https://github.com/jquery/jquery
43
+ site-www: https://jquery.com
44
+ vendor:
45
+ type: static
46
+ repo: https://github.com/DocOps/jquery
47
+ path: vendor/jquery
48
+ ref: 3.3.1
49
+ migrate:
50
+ - # jquery and jquery.min files
51
+
52
+ - name: JQuery Cookie
53
+ desc: Component for handing cookies
54
+ note: Used by Navgoco and AsciiDocsy
55
+ original:
56
+ author: Klaus Hartl
57
+ license: MIT
58
+ uris:
59
+ repo-www: https://github.com/carhartl/jquery-cookie
60
+ vendor:
61
+ source:
62
+ repo-www: https://github.com/DocOps/jquery-cookie
63
+ ref: v1.4.1
64
+
65
+ - name: Navgoco
66
+ slug: navgoco
67
+ desc: jQuery collapsible menu
68
+ original:
69
+ author: Christodoulos Tsoulloftas
70
+ license: BSD-3
71
+ uris:
72
+ repo-www: https://github.com/tefra/navgoco
73
+ vendor:
74
+ source:
75
+ repo-www: https://github.com/DocOps/navgoco
76
+ ref: 898fd27
77
+
78
+
79
+ - name: Bootstrap TOC
80
+ slug: bootstrap-ext-toc
81
+ desc: Unofficial Bootstrap table-of-contents extension
82
+ original:
83
+ author: Aidan Feldman
84
+ license: MIT
85
+ uris:
86
+ repo-www: https://github.com/afeld/bootstrap-toc
87
+ site-www: https://afeld.github.io/bootstrap-toc/
88
+ vendor:
89
+ source:
90
+ repo: git@github.com:DocOps/bootstrap-toc.git
91
+ ref: v1.0.1
92
+ cdn:
93
+ migrate:
94
+ - # javascript file
95
+ - # CSS file
96
+
97
+ - name: AsciidoctorJS
98
+ slug: asciidoctor-js
99
+ desc: JavaScript-based AsciiDoc converter
100
+ original:
101
+ author: Dan Allen, Guillaume Grossetie, Anthonny Quérouil and the Asciidoctor Project
102
+ license: MIT
103
+ uris:
104
+ repo-www: https://github.com/asciidoctor/asciidoctor.js
105
+
106
+ - name: Asciidoctor Extensions Lab
107
+ slug: asciidoctor-extensions
108
+ desc: Asciidoctor extensions
109
+ original:
110
+ author: The Asciidoctor Project
111
+ license: MIT
112
+ uris:
113
+ repo-www: https://github.com/asciidoctor/asciidoctor-extensions-lab
114
+ docs-www: https://docs.asciidoctor.org/asciidoctor/latest/extensions
115
+ vendor:
116
+ source:
117
+ repo: git@github.com:DocOps/asciidoctor-extensions-lab.git
118
+ ref: "6975c66"
119
+
120
+ - name: Asciidoctor Stylesheet Factory
121
+ slug: asciidoctor-stylesheets
122
+ desc: Build AsciiDoc-friendly CSS skins from Sass
123
+ original:
124
+ author: The Asciidoctor Project
125
+ license: MIT
126
+ uris:
127
+ repo-www: https://github.com/asciidoctor/asciidoctor-stylesheet-factory
128
+ docs-www: https://asciidoctor.org/docs/produce-custom-themes-using-asciidoctor-stylesheet-factory/
129
+ vendor:
130
+ source:
131
+ repo: git@github.com:DocOps/asciidoctor-stylesheet-factory.git
132
+ ref: bcb291c
133
+ compile: # Sass compile command
134
+
135
+ - name: Docsy Jekyll
136
+ slug: docsy-jekyll
137
+ desc: Original Jekyll port of Docsy theme
138
+ original:
139
+ author: Vanessa Sochat
140
+ license: Apache 2.0
141
+ uris:
142
+ repo-www: https://github.com/vsoch/docsy-jekyll
@@ -0,0 +1,197 @@
1
+ # SUPPORTED product revisions for ASCIIDOCSY
2
+ # LATEST TO OLDEST
3
+ revisions:
4
+
5
+ - code: 0.3.0-dev
6
+ date: 2021-09-12
7
+
8
+ - code: 0.2.0
9
+ date: 2021-07-21
10
+ memo: |
11
+ This release introduces a <<#62bf5dd,suite of version-handling features>> as well as a new <<#cced5cd,theme configuration system>> and experimental <<#428a4eb,ReleaseHx>> templates.
12
+ Several bugfixes are also included.
13
+ hash: 4e39baa4 # Git hash for the release
14
+ down: false
15
+ work:
16
+ -
17
+ tick: 10
18
+ hash: 62bf5dd5ad400011b3239718ef9381b221d1b0c3
19
+ type: new-feature
20
+ part: content
21
+ summ: Added version-handling features and config system
22
+ tags: [breaking]
23
+ note: |
24
+ A full suite of versioning options now enables amending the DOM, swapping tokens, toggling classes, and tabbing panes.
25
+ Also resolves link:https://github.com/DocOps/asciidocsy-jekyll-theme/issues/9[Issue #9].
26
+ docs:
27
+ - xref: /docs/theme/config/versioning
28
+ text: configuration reference
29
+ -
30
+ tick: 41 # ID for the issue ticket
31
+ hash: cced5cd9f995daf4f0013121f689872c35e5bef9 # Commit hash (7+ chars)
32
+ type: improvement
33
+ part: backend
34
+ summ: Refactored the theme config system, moving from `site` scope to `site.data` scope
35
+ tags: [breaking]
36
+ note: |
37
+ A full suite of versioning options now enables amending the DOM, swapping tokens, toggling classes, and tabbing panes.
38
+ docs:
39
+ - xref: /docs/theme/config/
40
+ text: configuration overview
41
+ - xref: /docs/theme/config/api-reference
42
+ text: config API reference
43
+ -
44
+ hash: 428a4ebff412d7a988830105eee6a99487b869e7
45
+ type: new-feature
46
+ part: content
47
+ summ: Added ReleaseHx "`release history`" templates
48
+ note: |
49
+ AsciiDocsy provides a templates and a YAML format for generating release notes and/or a changelog.
50
+ If you are reading this as HTML or PDF, you are most likely looking at one such generated release history, for AsciiDocsy itself.
51
+ Documentation is forthcoming; this feature may change without notice prior to 1.0.
52
+ tags: [experimental]
53
+ -
54
+ hash: 8d7ab51c636e2c7bede590be173ec7c96c45b22d
55
+ type: new-feature
56
+ part: docs
57
+ summ: Started reporting Release History for AsciiDocsy
58
+ note: |
59
+ The flagship implementation of the ReleaseHx minimum-viable product is the AsciiDocsy Release Notes and Changelog itself.
60
+ docs:
61
+ - text: Release History
62
+ xref: /docs/theme/history#
63
+
64
+ -
65
+ tick: 4 # ID for the issue ticket
66
+ hash: a65cfee896b66067fc4dd92ba178167085d55674
67
+ type: bugfix
68
+ part: frontend
69
+ summ: Fixed "`peel`" ("`print-friendly`") function/page-link
70
+ -
71
+ tick: 2 # ID for the issue ticket
72
+ hash: e45db56e8a203ae215ee28152a3c60ea688003c0
73
+ type: bugfix
74
+ part: frontend
75
+ summ: Widened footer, removed unwanted margins
76
+ -
77
+ tick: 58 # ID for the issue ticket
78
+ hash: 9337ab4c1a7a02154ce57d4a720627900e1e3141
79
+ type: bugfix
80
+ part: backend
81
+ summ: Started tracking `Gemfile.lock` in Git (removed from `.gitignore`)
82
+ -
83
+ hash: 5a21cd5d3152d2862a8299c0a6a1279096f25e39
84
+ type: bugfix
85
+ part: frontend
86
+ summ: Fix handling of `site.base_url` in head hrefs
87
+ patches:
88
+ - code: 0.2.1
89
+ date: 2021-08-22
90
+ hash: nohashyetgetahash
91
+ memo: |
92
+ Front-end cleanup and dropping the `.html`.
93
+ work:
94
+ -
95
+ hash: e841ea3e561905f9baddffe1d429a78009d6498b
96
+ tick: 64
97
+ type: improvement
98
+ part: backend
99
+ summ: Stopped Asciidoctor from appending `.html` to xrefs
100
+ -
101
+ hash: ff96b2f065070f401b367e180f4eecc3d4a842d6
102
+ tick: 62
103
+ type: bugfix
104
+ part: frontend
105
+ summ: Added the obligitory Algolia logo to search forms
106
+ -
107
+ hash: 750d7875650229e96646532fc922a1a3a28e7269
108
+ tick: 15
109
+ type: bugfix
110
+ part: frontend
111
+ summ: Stopped the top navbar from scrolling at mobile widths
112
+ -
113
+ hash: 3b7510c0f896259f2e3f316d2ed589094a6fb31f
114
+ tick: 13
115
+ type: bugfix
116
+ tags: [deprecation]
117
+ part: frontend
118
+ summ: Removed Iconic from skins selection list
119
+ note: |
120
+ Because the Iconic skin imposed an ugly box under the page header that was not obviously fixable, Iconic will no longer be an option for users to select in the AsciiDocsy demo site skin changer.
121
+ The Iconic skin source itself may be removed as early as v0.3.0.
122
+ Mostly this note was just an excuse to use the `deprecation` tag, also added in this release.
123
+
124
+ -
125
+ hash: d7e9eddc3fee360489df40b70c10764fa5095487
126
+ tick: 14
127
+ type: bugfix
128
+ part: frontend
129
+ summ: Eliminated scrolling of right sidebar in shorter browsers
130
+ -
131
+ hash: 1e3886d223849f6e7ecc978adda210498976fc18
132
+ tick: 50
133
+ type: bugfix
134
+ part: frontend
135
+ summ: Added optional labels, icons to button-based handlers
136
+ -
137
+ hash: a28686e
138
+ type: bugfix
139
+ part: frontend
140
+ summ: Fixed ticket-link template rendering in ReleaseHx
141
+ -
142
+ hash: f4346d5
143
+ type: bugfix
144
+ part: frontend
145
+ summ: Fixed Docs link feature in Changelog entries
146
+ note: |
147
+ Changelog entries with one and only one doc link will now hyperlink directly to that doc URL.
148
+ Those with 2 or more doc entries still link to the Release Note entry for the same change, but now all changes with 2+ doc entries will always appear under Release Notes, even if they have no `note` property, so their multiple docs links can appear.
149
+
150
+ - code: 0.1.0 # unique revision ID
151
+ date: 2021-05-19 # release date
152
+ memo: |
153
+ This first release of AsciiDocsy has a long way to go, but it is already more mature than many Jekyll docs themes.
154
+ hash: 884003cfc64754445c71dd5863bd64a54bbf2749
155
+ work: # NOT YET DELINEATED
156
+ -
157
+ hash: 884003cfc64754445c71dd5863bd64a54bbf2749 # Commit hash (7+ chars)
158
+ type: new-feature #
159
+ part: backend #
160
+ summ: Added initial back-end and front-end infrastructure.
161
+ -
162
+ hash: 64ad492730b1fcb7d6385bf84721c1ad22ff0d6b
163
+ type: new-feature
164
+ part: docs
165
+ summ: Added initial technical documentation.
166
+ note: |
167
+ Basic documentation site uses AsciiDocsy theme under _docs/ directory.
168
+ Also introduces rudimentary Config API reference platform/DSL.
169
+ docs:
170
+ - text: Live Website
171
+ href: "{{site.deploy_url}}/docs"
172
+ - text: Source
173
+ href: "{{site.source_www}}/tree/{{site.source_trunk_branch}}/_docs"
174
+ patches:
175
+ - code: 0.1.1
176
+ date: 2021-05-26
177
+ hash: 4986070b45d553d1b9c2a5f78df46afd01fb304c
178
+ memo: |
179
+ A few promised fixes, nothing backward incompatible.
180
+ work:
181
+ - hash: f0a3071bf7d3c9523f0b16a7ad444157d44b885c
182
+ summ: Split search into 2 indices as was already indicated in UI
183
+ part: backend
184
+ type: bugfix
185
+ note: Both searches were drawing off the same index, so we switched them up into *site search* and *subject search*.
186
+ - hash: 06b3b93b296b112306fcbcdc010558602617bf16
187
+ summ: Fixed Navgoco (subject) menu highlights
188
+ part: frontend
189
+ type: bugfix
190
+ - hash: ec35702c953efc0c9d12c2fede52d17905f65207
191
+ summ: Fixed semantic term icon spin feature
192
+ part: frontend
193
+ type: bugfix
194
+ - hash: a1a61769086268bd38dd8a377b1a6b999e401b2b
195
+ summ: Improved the install instructions with basic Netlify deployment option
196
+ part: docs
197
+ type: improvement
@@ -0,0 +1,16 @@
1
+ NOTICE / BILL OF MATERIALS
2
+ ====== DO NOT EDIT =======
3
+ This file was automatically generated before release
4
+ from: lib/data/dependencies.yml
5
+ command: rake build_notice
6
+
7
+ The AsciiDocsy Jekyll theme acknowledges the following upstream contributions
8
+ packaged in the AsciiDocsy gem:
9
+ {% for dep in data %}
10
+ Project: {{ dep.name }}
11
+ Author: {{ dep.original.author }}
12
+ License: {{ dep.original.license }}
13
+ Source: {{ dep.original.uris.repo-www }}
14
+ {% endfor %}
15
+ For dependencies not included in the AsciiDocsy gem package,
16
+ see ./Gemfile.lock in this repository.
@@ -0,0 +1,13 @@
1
+ require 'safe_yaml'
2
+
3
+ SafeYAML::OPTIONS[:deserialize_symbols] = true
4
+ SafeYAML::OPTIONS[:default_mode] = :safe
5
+
6
+ module AsciiDocsy
7
+ releases = YAML.load_file('lib/asciidocsy/data/releases.yml')
8
+ if releases['revisions'][0]['patches']
9
+ VERSION = releases['revisions'][0]['patches'][0]['code']
10
+ else
11
+ VERSION = releases['revisions'][0]['code']
12
+ end
13
+ end
data/lib/asciidocsy.rb ADDED
@@ -0,0 +1 @@
1
+ require 'asciidocsy/version'