codefresh 0.88.3 → 0.88.5

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.
Files changed (411) hide show
  1. package/lib/interface/cli/completion/tree.json +1 -0
  2. package/package.json +9 -2
  3. package/.dockerignore +0 -15
  4. package/.eslintrc.js +0 -20
  5. package/.gitattributes +0 -29
  6. package/.github/CODEOWNERS +0 -1
  7. package/.github/pull_request_template.md +0 -5
  8. package/.github/release-drafter.yaml +0 -8
  9. package/.github/workflows/create-release.yaml +0 -36
  10. package/.github/workflows/draft-release.yaml +0 -33
  11. package/.nvmrc +0 -1
  12. package/Dockerfile +0 -39
  13. package/Dockerfile-debian +0 -43
  14. package/Dockerfile-debian-rootless +0 -50
  15. package/Dockerfile-rootless +0 -47
  16. package/__mocks__/codefresh.yml +0 -40
  17. package/__mocks__/requestretry.js +0 -35
  18. package/cli.gif +0 -0
  19. package/docs/archetypes/default.md +0 -6
  20. package/docs/config.toml +0 -44
  21. package/docs/content/_header.md +0 -6
  22. package/docs/content/_index.md +0 -19
  23. package/docs/content/contexts/spec/_index.md +0 -28
  24. package/docs/content/contexts/spec/config.md +0 -30
  25. package/docs/content/contexts/spec/helm-repository.md +0 -16
  26. package/docs/content/contexts/spec/secret-yaml.md +0 -32
  27. package/docs/content/contexts/spec/secret.md +0 -30
  28. package/docs/content/contexts/spec/yaml.md +0 -30
  29. package/docs/content/external-resources.md +0 -8
  30. package/docs/content/getting-started/_index.md +0 -28
  31. package/docs/content/installation/_index.md +0 -13
  32. package/docs/content/installation/docker.md +0 -15
  33. package/docs/content/installation/homebrew.md +0 -29
  34. package/docs/content/installation/npm.md +0 -22
  35. package/docs/content/installation/yarn.md +0 -22
  36. package/docs/content/more/_index.md +0 -7
  37. package/docs/content/operate on resources/_index.md +0 -10
  38. package/docs/content/pipelines/Run Pipeline.md +0 -38
  39. package/docs/content/pipelines/spec.md +0 -264
  40. package/docs/docs.spec.js +0 -8
  41. package/docs/index.js +0 -431
  42. package/docs/layouts/partials/menu-footer.html +0 -13
  43. package/docs/themes/docdock/LICENSE.md +0 -22
  44. package/docs/themes/docdock/README.md +0 -129
  45. package/docs/themes/docdock/archetypes/default.md +0 -9
  46. package/docs/themes/docdock/archetypes/slide.md +0 -46
  47. package/docs/themes/docdock/exampleSite/config.toml +0 -68
  48. package/docs/themes/docdock/exampleSite/content/_index.md +0 -50
  49. package/docs/themes/docdock/exampleSite/content/content-organisation/_index.md +0 -138
  50. package/docs/themes/docdock/exampleSite/content/content-organisation/customize-style/_index.md +0 -66
  51. package/docs/themes/docdock/exampleSite/content/content-organisation/customize-style/disable.md +0 -24
  52. package/docs/themes/docdock/exampleSite/content/content-organisation/customize-style/theme-variants.md +0 -35
  53. package/docs/themes/docdock/exampleSite/content/content-organisation/customize-style/themestyle.md +0 -25
  54. package/docs/themes/docdock/exampleSite/content/content-organisation/extramenu.md +0 -28
  55. package/docs/themes/docdock/exampleSite/content/content-organisation/logo.md +0 -12
  56. package/docs/themes/docdock/exampleSite/content/create-page/_index.md +0 -54
  57. package/docs/themes/docdock/exampleSite/content/create-page/homepage.md +0 -8
  58. package/docs/themes/docdock/exampleSite/content/create-page/myslide.md +0 -48
  59. package/docs/themes/docdock/exampleSite/content/create-page/page-images.md +0 -28
  60. package/docs/themes/docdock/exampleSite/content/create-page/page-slide.md +0 -114
  61. package/docs/themes/docdock/exampleSite/content/credits.md +0 -44
  62. package/docs/themes/docdock/exampleSite/content/getting-start/_index.md +0 -12
  63. package/docs/themes/docdock/exampleSite/content/getting-start/configuration.md +0 -56
  64. package/docs/themes/docdock/exampleSite/content/getting-start/installation.md +0 -83
  65. package/docs/themes/docdock/exampleSite/content/search/_index.md +0 -13
  66. package/docs/themes/docdock/exampleSite/content/shortcodes/_index.md +0 -10
  67. package/docs/themes/docdock/exampleSite/content/shortcodes/alert.md +0 -30
  68. package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.files/BachGavotteShort.mp3 +0 -0
  69. package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.files/Carroll_AliceAuPaysDesMerveilles.pdf +0 -0
  70. package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.files/adivorciarsetoca00cape.pdf +0 -0
  71. package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.files/hugo.png +0 -0
  72. package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.files/movieselectricsheep-flock-244-32500-2.mp4 +0 -0
  73. package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.md +0 -59
  74. package/docs/themes/docdock/exampleSite/content/shortcodes/button.md +0 -37
  75. package/docs/themes/docdock/exampleSite/content/shortcodes/children/_index.md +0 -46
  76. package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-1/_index.md +0 -6
  77. package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-1/children-1-1/_index.md +0 -6
  78. package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/_index.md +0 -6
  79. package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/_index.md +0 -6
  80. package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/children-1-1-1-1-1/_index.md +0 -6
  81. package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-2/_index.md +0 -11
  82. package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-2/test3.md +0 -6
  83. package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-3/_index.md +0 -6
  84. package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-4/_index.md +0 -7
  85. package/docs/themes/docdock/exampleSite/content/shortcodes/children/test.md +0 -6
  86. package/docs/themes/docdock/exampleSite/content/shortcodes/excerpt-include.md +0 -25
  87. package/docs/themes/docdock/exampleSite/content/shortcodes/excerpt.md +0 -39
  88. package/docs/themes/docdock/exampleSite/content/shortcodes/expand.md +0 -41
  89. package/docs/themes/docdock/exampleSite/content/shortcodes/icon.md +0 -1254
  90. package/docs/themes/docdock/exampleSite/content/shortcodes/mermaid.md +0 -98
  91. package/docs/themes/docdock/exampleSite/content/shortcodes/notice.md +0 -61
  92. package/docs/themes/docdock/exampleSite/content/shortcodes/panel.md +0 -60
  93. package/docs/themes/docdock/exampleSite/content/shortcodes/revealjs.md +0 -119
  94. package/docs/themes/docdock/exampleSite/content/showcase.md +0 -15
  95. package/docs/themes/docdock/exampleSite/layouts/partials/custom-head.html +0 -10
  96. package/docs/themes/docdock/exampleSite/layouts/partials/menu-footer.html +0 -13
  97. package/docs/themes/docdock/exampleSite/layouts/shortcodes/ghcontributors.html +0 -31
  98. package/docs/themes/docdock/exampleSite/static/menu-entry-icon.png +0 -0
  99. package/docs/themes/docdock/exampleSite/static/showcase/bitfan.site.png +0 -0
  100. package/docs/themes/docdock/exampleSite/static/showcase/invincible.site.png +0 -0
  101. package/docs/themes/docdock/exampleSite/static/style-flex.png +0 -0
  102. package/docs/themes/docdock/exampleSite/static/style-original.png +0 -0
  103. package/docs/themes/docdock/exampleSite/static/variant-gold.png +0 -0
  104. package/docs/themes/docdock/exampleSite/static/variant-gray.png +0 -0
  105. package/docs/themes/docdock/exampleSite/static/variant-green.png +0 -0
  106. package/docs/themes/docdock/i18n/en.toml +0 -44
  107. package/docs/themes/docdock/i18n/es.toml +0 -26
  108. package/docs/themes/docdock/i18n/fr.toml +0 -44
  109. package/docs/themes/docdock/i18n/nb.toml +0 -38
  110. package/docs/themes/docdock/images/screenshot.png +0 -0
  111. package/docs/themes/docdock/images/tn.png +0 -0
  112. package/docs/themes/docdock/layouts/404.html +0 -39
  113. package/docs/themes/docdock/layouts/_default/baseof.html +0 -32
  114. package/docs/themes/docdock/layouts/_default/li.html +0 -22
  115. package/docs/themes/docdock/layouts/_default/list.html +0 -20
  116. package/docs/themes/docdock/layouts/_default/single.html +0 -3
  117. package/docs/themes/docdock/layouts/index.html +0 -30
  118. package/docs/themes/docdock/layouts/index.json +0 -12
  119. package/docs/themes/docdock/layouts/partials/breadcrumb.html +0 -8
  120. package/docs/themes/docdock/layouts/partials/custom-content-footer.html +0 -6
  121. package/docs/themes/docdock/layouts/partials/custom-footer.html +0 -0
  122. package/docs/themes/docdock/layouts/partials/custom-head.html +0 -2
  123. package/docs/themes/docdock/layouts/partials/flex/body-aftercontent.html +0 -54
  124. package/docs/themes/docdock/layouts/partials/flex/body-beforecontent.html +0 -68
  125. package/docs/themes/docdock/layouts/partials/flex/head.html +0 -17
  126. package/docs/themes/docdock/layouts/partials/flex/scripts.html +0 -11
  127. package/docs/themes/docdock/layouts/partials/flex/selectnavigation.html +0 -58
  128. package/docs/themes/docdock/layouts/partials/header.html +0 -10
  129. package/docs/themes/docdock/layouts/partials/language-selector.html +0 -18
  130. package/docs/themes/docdock/layouts/partials/menu-footer.html +0 -0
  131. package/docs/themes/docdock/layouts/partials/menu.html +0 -82
  132. package/docs/themes/docdock/layouts/partials/next-prev-page.html +0 -44
  133. package/docs/themes/docdock/layouts/partials/original/body-aftercontent.html +0 -13
  134. package/docs/themes/docdock/layouts/partials/original/body-beforecontent.html +0 -128
  135. package/docs/themes/docdock/layouts/partials/original/head.html +0 -23
  136. package/docs/themes/docdock/layouts/partials/original/scripts.html +0 -10
  137. package/docs/themes/docdock/layouts/partials/pagination.html +0 -9
  138. package/docs/themes/docdock/layouts/shortcodes/alert.html +0 -6
  139. package/docs/themes/docdock/layouts/shortcodes/anchor.html +0 -1
  140. package/docs/themes/docdock/layouts/shortcodes/anchorlink.html +0 -1
  141. package/docs/themes/docdock/layouts/shortcodes/attachmentlink.html +0 -5
  142. package/docs/themes/docdock/layouts/shortcodes/attachments.html +0 -33
  143. package/docs/themes/docdock/layouts/shortcodes/button.html +0 -6
  144. package/docs/themes/docdock/layouts/shortcodes/children.html +0 -104
  145. package/docs/themes/docdock/layouts/shortcodes/code.html +0 -1
  146. package/docs/themes/docdock/layouts/shortcodes/emoticon.html +0 -29
  147. package/docs/themes/docdock/layouts/shortcodes/excerpt-include.html +0 -14
  148. package/docs/themes/docdock/layouts/shortcodes/excerpt.html +0 -7
  149. package/docs/themes/docdock/layouts/shortcodes/expand.html +0 -16
  150. package/docs/themes/docdock/layouts/shortcodes/header.html +0 -16
  151. package/docs/themes/docdock/layouts/shortcodes/icon.html +0 -13
  152. package/docs/themes/docdock/layouts/shortcodes/image.html +0 -5
  153. package/docs/themes/docdock/layouts/shortcodes/info.html +0 -10
  154. package/docs/themes/docdock/layouts/shortcodes/label.html +0 -1
  155. package/docs/themes/docdock/layouts/shortcodes/mermaid.html +0 -3
  156. package/docs/themes/docdock/layouts/shortcodes/note.html +0 -4
  157. package/docs/themes/docdock/layouts/shortcodes/notice.html +0 -1
  158. package/docs/themes/docdock/layouts/shortcodes/pagelink.html +0 -12
  159. package/docs/themes/docdock/layouts/shortcodes/pagetreesearch.html +0 -1
  160. package/docs/themes/docdock/layouts/shortcodes/panel.html +0 -5
  161. package/docs/themes/docdock/layouts/shortcodes/recently-updated.html +0 -7
  162. package/docs/themes/docdock/layouts/shortcodes/relref.html +0 -14
  163. package/docs/themes/docdock/layouts/shortcodes/revealjs.html +0 -66
  164. package/docs/themes/docdock/layouts/shortcodes/section.html +0 -1
  165. package/docs/themes/docdock/layouts/shortcodes/task.html +0 -10
  166. package/docs/themes/docdock/layouts/shortcodes/tasklist.html +0 -4
  167. package/docs/themes/docdock/layouts/shortcodes/tip.html +0 -10
  168. package/docs/themes/docdock/layouts/shortcodes/toc.html +0 -2
  169. package/docs/themes/docdock/layouts/shortcodes/unknow.html +0 -1
  170. package/docs/themes/docdock/layouts/shortcodes/userlink.html +0 -1
  171. package/docs/themes/docdock/layouts/shortcodes/viewppt.html +0 -5
  172. package/docs/themes/docdock/layouts/shortcodes/viewxls.html +0 -5
  173. package/docs/themes/docdock/layouts/shortcodes/warning.html +0 -12
  174. package/docs/themes/docdock/layouts/shortcodes/well.html +0 -1
  175. package/docs/themes/docdock/layouts/slide/single.html +0 -38
  176. package/docs/themes/docdock/static/css/auto-complete.css +0 -49
  177. package/docs/themes/docdock/static/css/bootstrap.min.css +0 -1884
  178. package/docs/themes/docdock/static/css/featherlight.min.css +0 -8
  179. package/docs/themes/docdock/static/css/font-awesome.min.css +0 -4
  180. package/docs/themes/docdock/static/css/horsey.css +0 -35
  181. package/docs/themes/docdock/static/css/hybrid.css +0 -102
  182. package/docs/themes/docdock/static/css/nucleus.css +0 -617
  183. package/docs/themes/docdock/static/fonts/FontAwesome.otf +0 -0
  184. package/docs/themes/docdock/static/fonts/Inconsolata.eot +0 -0
  185. package/docs/themes/docdock/static/fonts/Inconsolata.svg +0 -359
  186. package/docs/themes/docdock/static/fonts/Inconsolata.ttf +0 -0
  187. package/docs/themes/docdock/static/fonts/Inconsolata.woff +0 -0
  188. package/docs/themes/docdock/static/fonts/Lato-Bold.ttf +0 -0
  189. package/docs/themes/docdock/static/fonts/Lato-Bold.woff2 +0 -0
  190. package/docs/themes/docdock/static/fonts/Lato-Regular.ttf +0 -0
  191. package/docs/themes/docdock/static/fonts/Lato-Regular.woff2 +0 -0
  192. package/docs/themes/docdock/static/fonts/Novecentosanswide-Normal-webfont.eot +0 -0
  193. package/docs/themes/docdock/static/fonts/Novecentosanswide-Normal-webfont.svg +0 -1019
  194. package/docs/themes/docdock/static/fonts/Novecentosanswide-Normal-webfont.ttf +0 -0
  195. package/docs/themes/docdock/static/fonts/Novecentosanswide-Normal-webfont.woff +0 -0
  196. package/docs/themes/docdock/static/fonts/Novecentosanswide-Normal-webfont.woff2 +0 -0
  197. package/docs/themes/docdock/static/fonts/Novecentosanswide-UltraLight-webfont.eot +0 -0
  198. package/docs/themes/docdock/static/fonts/Novecentosanswide-UltraLight-webfont.svg +0 -918
  199. package/docs/themes/docdock/static/fonts/Novecentosanswide-UltraLight-webfont.ttf +0 -0
  200. package/docs/themes/docdock/static/fonts/Novecentosanswide-UltraLight-webfont.woff +0 -0
  201. package/docs/themes/docdock/static/fonts/Novecentosanswide-UltraLight-webfont.woff2 +0 -0
  202. package/docs/themes/docdock/static/fonts/Roboto-Italic.ttf +0 -0
  203. package/docs/themes/docdock/static/fonts/Roboto-Medium.ttf +0 -0
  204. package/docs/themes/docdock/static/fonts/Roboto-Regular.ttf +0 -0
  205. package/docs/themes/docdock/static/fonts/RobotoMono-Medium.ttf +0 -0
  206. package/docs/themes/docdock/static/fonts/RobotoMono-Regular.ttf +0 -0
  207. package/docs/themes/docdock/static/fonts/Work_Sans_200.eot +0 -0
  208. package/docs/themes/docdock/static/fonts/Work_Sans_200.svg +0 -332
  209. package/docs/themes/docdock/static/fonts/Work_Sans_200.ttf +0 -0
  210. package/docs/themes/docdock/static/fonts/Work_Sans_200.woff +0 -0
  211. package/docs/themes/docdock/static/fonts/Work_Sans_200.woff2 +0 -0
  212. package/docs/themes/docdock/static/fonts/Work_Sans_300.eot +0 -0
  213. package/docs/themes/docdock/static/fonts/Work_Sans_300.svg +0 -331
  214. package/docs/themes/docdock/static/fonts/Work_Sans_300.ttf +0 -0
  215. package/docs/themes/docdock/static/fonts/Work_Sans_300.woff +0 -0
  216. package/docs/themes/docdock/static/fonts/Work_Sans_300.woff2 +0 -0
  217. package/docs/themes/docdock/static/fonts/Work_Sans_500.eot +0 -0
  218. package/docs/themes/docdock/static/fonts/Work_Sans_500.svg +0 -333
  219. package/docs/themes/docdock/static/fonts/Work_Sans_500.ttf +0 -0
  220. package/docs/themes/docdock/static/fonts/Work_Sans_500.woff +0 -0
  221. package/docs/themes/docdock/static/fonts/Work_Sans_500.woff2 +0 -0
  222. package/docs/themes/docdock/static/fonts/fontawesome-webfont.eot +0 -0
  223. package/docs/themes/docdock/static/fonts/fontawesome-webfont.svg +0 -2671
  224. package/docs/themes/docdock/static/fonts/fontawesome-webfont.ttf +0 -0
  225. package/docs/themes/docdock/static/fonts/fontawesome-webfont.woff +0 -0
  226. package/docs/themes/docdock/static/fonts/fontawesome-webfont.woff2 +0 -0
  227. package/docs/themes/docdock/static/fonts/glyphicons-halflings-regular.eot +0 -0
  228. package/docs/themes/docdock/static/fonts/glyphicons-halflings-regular.svg +0 -288
  229. package/docs/themes/docdock/static/fonts/glyphicons-halflings-regular.ttf +0 -0
  230. package/docs/themes/docdock/static/fonts/glyphicons-halflings-regular.woff +0 -0
  231. package/docs/themes/docdock/static/fonts/glyphicons-halflings-regular.woff2 +0 -0
  232. package/docs/themes/docdock/static/images/clippy.svg +0 -4
  233. package/docs/themes/docdock/static/images/favicon.png +0 -0
  234. package/docs/themes/docdock/static/images/gopher-404.jpg +0 -0
  235. package/docs/themes/docdock/static/js/auto-complete.js +0 -223
  236. package/docs/themes/docdock/static/js/clipboard.min.js +0 -7
  237. package/docs/themes/docdock/static/js/docdock.js +0 -309
  238. package/docs/themes/docdock/static/js/featherlight.min.js +0 -8
  239. package/docs/themes/docdock/static/js/highlight.pack.js +0 -2
  240. package/docs/themes/docdock/static/js/html5shiv-printshiv.min.js +0 -4
  241. package/docs/themes/docdock/static/js/jquery-2.x.min.js +0 -4
  242. package/docs/themes/docdock/static/js/lunr.min.js +0 -6
  243. package/docs/themes/docdock/static/js/modernizr.custom.71422.js +0 -4
  244. package/docs/themes/docdock/static/js/search.js +0 -91
  245. package/docs/themes/docdock/static/mermaid/mermaid.css +0 -273
  246. package/docs/themes/docdock/static/mermaid/mermaid.dark.css +0 -275
  247. package/docs/themes/docdock/static/mermaid/mermaid.forest.css +0 -353
  248. package/docs/themes/docdock/static/mermaid/mermaid.js +0 -30
  249. package/docs/themes/docdock/static/none.html +0 -0
  250. package/docs/themes/docdock/static/revealjs/.travis.yml +0 -5
  251. package/docs/themes/docdock/static/revealjs/CONTRIBUTING.md +0 -23
  252. package/docs/themes/docdock/static/revealjs/Gruntfile.js +0 -192
  253. package/docs/themes/docdock/static/revealjs/LICENSE +0 -19
  254. package/docs/themes/docdock/static/revealjs/README.md +0 -1238
  255. package/docs/themes/docdock/static/revealjs/bower.json +0 -27
  256. package/docs/themes/docdock/static/revealjs/css/print/paper.css +0 -203
  257. package/docs/themes/docdock/static/revealjs/css/print/pdf.css +0 -178
  258. package/docs/themes/docdock/static/revealjs/css/reveal.css +0 -1555
  259. package/docs/themes/docdock/static/revealjs/css/reveal.scss +0 -1717
  260. package/docs/themes/docdock/static/revealjs/css/theme/README.md +0 -21
  261. package/docs/themes/docdock/static/revealjs/css/theme/beige.css +0 -268
  262. package/docs/themes/docdock/static/revealjs/css/theme/black.css +0 -264
  263. package/docs/themes/docdock/static/revealjs/css/theme/blood.css +0 -287
  264. package/docs/themes/docdock/static/revealjs/css/theme/league.css +0 -270
  265. package/docs/themes/docdock/static/revealjs/css/theme/moon.css +0 -268
  266. package/docs/themes/docdock/static/revealjs/css/theme/night.css +0 -262
  267. package/docs/themes/docdock/static/revealjs/css/theme/serif.css +0 -264
  268. package/docs/themes/docdock/static/revealjs/css/theme/simple.css +0 -267
  269. package/docs/themes/docdock/static/revealjs/css/theme/sky.css +0 -271
  270. package/docs/themes/docdock/static/revealjs/css/theme/solarized.css +0 -268
  271. package/docs/themes/docdock/static/revealjs/css/theme/source/beige.scss +0 -39
  272. package/docs/themes/docdock/static/revealjs/css/theme/source/black.scss +0 -49
  273. package/docs/themes/docdock/static/revealjs/css/theme/source/blood.scss +0 -78
  274. package/docs/themes/docdock/static/revealjs/css/theme/source/league.scss +0 -34
  275. package/docs/themes/docdock/static/revealjs/css/theme/source/moon.scss +0 -57
  276. package/docs/themes/docdock/static/revealjs/css/theme/source/night.scss +0 -34
  277. package/docs/themes/docdock/static/revealjs/css/theme/source/serif.scss +0 -35
  278. package/docs/themes/docdock/static/revealjs/css/theme/source/simple.scss +0 -43
  279. package/docs/themes/docdock/static/revealjs/css/theme/source/sky.scss +0 -46
  280. package/docs/themes/docdock/static/revealjs/css/theme/source/solarized.scss +0 -63
  281. package/docs/themes/docdock/static/revealjs/css/theme/source/white.scss +0 -49
  282. package/docs/themes/docdock/static/revealjs/css/theme/template/mixins.scss +0 -29
  283. package/docs/themes/docdock/static/revealjs/css/theme/template/settings.scss +0 -43
  284. package/docs/themes/docdock/static/revealjs/css/theme/template/theme.scss +0 -316
  285. package/docs/themes/docdock/static/revealjs/css/theme/white.css +0 -264
  286. package/docs/themes/docdock/static/revealjs/demo.html +0 -410
  287. package/docs/themes/docdock/static/revealjs/index.html +0 -49
  288. package/docs/themes/docdock/static/revealjs/js/reveal.js +0 -5239
  289. package/docs/themes/docdock/static/revealjs/lib/css/zenburn.css +0 -80
  290. package/docs/themes/docdock/static/revealjs/lib/font/league-gothic/LICENSE +0 -2
  291. package/docs/themes/docdock/static/revealjs/lib/font/league-gothic/league-gothic.css +0 -10
  292. package/docs/themes/docdock/static/revealjs/lib/font/league-gothic/league-gothic.eot +0 -0
  293. package/docs/themes/docdock/static/revealjs/lib/font/league-gothic/league-gothic.ttf +0 -0
  294. package/docs/themes/docdock/static/revealjs/lib/font/league-gothic/league-gothic.woff +0 -0
  295. package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/LICENSE +0 -45
  296. package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-italic.eot +0 -0
  297. package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-italic.ttf +0 -0
  298. package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-italic.woff +0 -0
  299. package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-regular.eot +0 -0
  300. package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-regular.ttf +0 -0
  301. package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-regular.woff +0 -0
  302. package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibold.eot +0 -0
  303. package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibold.ttf +0 -0
  304. package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibold.woff +0 -0
  305. package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot +0 -0
  306. package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf +0 -0
  307. package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff +0 -0
  308. package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro.css +0 -39
  309. package/docs/themes/docdock/static/revealjs/lib/js/classList.js +0 -2
  310. package/docs/themes/docdock/static/revealjs/lib/js/head.min.js +0 -9
  311. package/docs/themes/docdock/static/revealjs/lib/js/html5shiv.js +0 -7
  312. package/docs/themes/docdock/static/revealjs/package.json +0 -43
  313. package/docs/themes/docdock/static/revealjs/plugin/highlight/highlight.js +0 -77
  314. package/docs/themes/docdock/static/revealjs/plugin/markdown/example.html +0 -129
  315. package/docs/themes/docdock/static/revealjs/plugin/markdown/example.md +0 -31
  316. package/docs/themes/docdock/static/revealjs/plugin/markdown/markdown.js +0 -412
  317. package/docs/themes/docdock/static/revealjs/plugin/markdown/marked.js +0 -6
  318. package/docs/themes/docdock/static/revealjs/plugin/math/math.js +0 -67
  319. package/docs/themes/docdock/static/revealjs/plugin/multiplex/client.js +0 -13
  320. package/docs/themes/docdock/static/revealjs/plugin/multiplex/index.js +0 -64
  321. package/docs/themes/docdock/static/revealjs/plugin/multiplex/master.js +0 -34
  322. package/docs/themes/docdock/static/revealjs/plugin/multiplex/package.json +0 -19
  323. package/docs/themes/docdock/static/revealjs/plugin/notes/notes.html +0 -759
  324. package/docs/themes/docdock/static/revealjs/plugin/notes/notes.js +0 -155
  325. package/docs/themes/docdock/static/revealjs/plugin/notes-server/client.js +0 -65
  326. package/docs/themes/docdock/static/revealjs/plugin/notes-server/index.js +0 -69
  327. package/docs/themes/docdock/static/revealjs/plugin/notes-server/notes.html +0 -585
  328. package/docs/themes/docdock/static/revealjs/plugin/print-pdf/print-pdf.js +0 -69
  329. package/docs/themes/docdock/static/revealjs/plugin/search/search.js +0 -206
  330. package/docs/themes/docdock/static/revealjs/plugin/zoom-js/zoom.js +0 -272
  331. package/docs/themes/docdock/static/revealjs/test/examples/assets/image1.png +0 -0
  332. package/docs/themes/docdock/static/revealjs/test/examples/assets/image2.png +0 -0
  333. package/docs/themes/docdock/static/revealjs/test/examples/barebones.html +0 -41
  334. package/docs/themes/docdock/static/revealjs/test/examples/embedded-media.html +0 -49
  335. package/docs/themes/docdock/static/revealjs/test/examples/math.html +0 -185
  336. package/docs/themes/docdock/static/revealjs/test/examples/slide-backgrounds.html +0 -144
  337. package/docs/themes/docdock/static/revealjs/test/examples/slide-transitions.html +0 -101
  338. package/docs/themes/docdock/static/revealjs/test/qunit-1.12.0.css +0 -244
  339. package/docs/themes/docdock/static/revealjs/test/qunit-1.12.0.js +0 -2212
  340. package/docs/themes/docdock/static/revealjs/test/simple.md +0 -12
  341. package/docs/themes/docdock/static/revealjs/test/test-markdown-element-attributes.html +0 -134
  342. package/docs/themes/docdock/static/revealjs/test/test-markdown-element-attributes.js +0 -46
  343. package/docs/themes/docdock/static/revealjs/test/test-markdown-external.html +0 -36
  344. package/docs/themes/docdock/static/revealjs/test/test-markdown-external.js +0 -24
  345. package/docs/themes/docdock/static/revealjs/test/test-markdown-options.html +0 -41
  346. package/docs/themes/docdock/static/revealjs/test/test-markdown-options.js +0 -26
  347. package/docs/themes/docdock/static/revealjs/test/test-markdown-slide-attributes.html +0 -128
  348. package/docs/themes/docdock/static/revealjs/test/test-markdown-slide-attributes.js +0 -47
  349. package/docs/themes/docdock/static/revealjs/test/test-markdown.html +0 -52
  350. package/docs/themes/docdock/static/revealjs/test/test-markdown.js +0 -15
  351. package/docs/themes/docdock/static/revealjs/test/test-pdf.html +0 -83
  352. package/docs/themes/docdock/static/revealjs/test/test-pdf.js +0 -15
  353. package/docs/themes/docdock/static/revealjs/test/test.html +0 -86
  354. package/docs/themes/docdock/static/revealjs/test/test.js +0 -597
  355. package/docs/themes/docdock/static/scss/flex/article.scss +0 -356
  356. package/docs/themes/docdock/static/scss/flex/fonts.scss +0 -38
  357. package/docs/themes/docdock/static/scss/flex/footer.scss +0 -45
  358. package/docs/themes/docdock/static/scss/flex/header.scss +0 -89
  359. package/docs/themes/docdock/static/scss/flex/main.scss +0 -164
  360. package/docs/themes/docdock/static/scss/flex/medias.scss +0 -74
  361. package/docs/themes/docdock/static/scss/flex/menu.scss +0 -126
  362. package/docs/themes/docdock/static/scss/flex/shortcode.children.scss +0 -34
  363. package/docs/themes/docdock/static/scss/flex/shortcode.notice.scss +0 -63
  364. package/docs/themes/docdock/static/scss/flex/style.scss +0 -14
  365. package/docs/themes/docdock/static/scss/original/_colours.scss +0 -14
  366. package/docs/themes/docdock/static/scss/original/_functions.scss +0 -89
  367. package/docs/themes/docdock/static/scss/original/_variables.scss +0 -137
  368. package/docs/themes/docdock/static/scss/original/fonts.scss +0 -23
  369. package/docs/themes/docdock/static/scss/original/main.scss +0 -1233
  370. package/docs/themes/docdock/static/scss/original/print.scss +0 -29
  371. package/docs/themes/docdock/static/scss/original/responsive.scss +0 -124
  372. package/docs/themes/docdock/static/scss/original/shortcodes.scss +0 -32
  373. package/docs/themes/docdock/static/scss/original/sidebar.scss +0 -276
  374. package/docs/themes/docdock/static/scss/original/style.scss +0 -16
  375. package/docs/themes/docdock/static/theme-flex/ribbon.png +0 -0
  376. package/docs/themes/docdock/static/theme-flex/script.js +0 -277
  377. package/docs/themes/docdock/static/theme-flex/style.css +0 -728
  378. package/docs/themes/docdock/static/theme-original/script.js +0 -133
  379. package/docs/themes/docdock/static/theme-original/style.css +0 -1411
  380. package/docs/themes/docdock/static/theme-original/variant-blue.css +0 -0
  381. package/docs/themes/docdock/static/theme-original/variant-gold.css +0 -61
  382. package/docs/themes/docdock/static/theme-original/variant-gray.css +0 -61
  383. package/docs/themes/docdock/static/theme-original/variant-green.css +0 -61
  384. package/docs/themes/docdock/theme.toml +0 -22
  385. package/e2e/README.md +0 -10
  386. package/e2e/data/crud.pip.yaml +0 -23
  387. package/e2e/data/test-run.pip.yaml +0 -23
  388. package/e2e/e2e.spec.sh +0 -25
  389. package/e2e/helpers.sh +0 -10
  390. package/e2e/scenarios/agents.sh +0 -1
  391. package/e2e/scenarios/annotations.sh +0 -2
  392. package/e2e/scenarios/boards.sh +0 -3
  393. package/e2e/scenarios/builds.sh +0 -1
  394. package/e2e/scenarios/clusters.sh +0 -1
  395. package/e2e/scenarios/compositions.sh +0 -1
  396. package/e2e/scenarios/contexts.sh +0 -1
  397. package/e2e/scenarios/environments.sh +0 -1
  398. package/e2e/scenarios/helm-repo.sh +0 -1
  399. package/e2e/scenarios/images.sh +0 -1
  400. package/e2e/scenarios/pipeline-run.sh +0 -26
  401. package/e2e/scenarios/pipelines.sh +0 -31
  402. package/e2e/scenarios/projects.sh +0 -17
  403. package/e2e/scenarios/registry.sh +0 -1
  404. package/e2e/scenarios/repository.sh +0 -2
  405. package/e2e/scenarios/runtime-environment.sh +0 -1
  406. package/e2e/scenarios/step-types.sh +0 -1
  407. package/e2e/scenarios/system-runtime-environments.sh +0 -1
  408. package/e2e/scenarios/teams.sh +0 -1
  409. package/e2e/scenarios/tokens.sh +0 -1
  410. package/e2e/scenarios/triggers.sh +0 -3
  411. package/test-setup.js +0 -34
@@ -1,114 +0,0 @@
1
- +++
2
- title = "Present a Slide"
3
- description = ""
4
- date = "2017-04-24T18:36:24+02:00"
5
- +++
6
-
7
- A basic md content page can be rendered as a reveal.js presentation full screen.
8
-
9
- {{%alert info%}}You can, also, **embed presentation in a page** as a small box, using the [revealjs]({{% relref "shortcodes/revealjs.md"%}}) shortcode in your md file.{{%/alert%}}
10
-
11
-
12
- ## Formating
13
- Use your common Markdown syntax you use in Hugo, don't forget, you can put html tags too.
14
-
15
- {{%notice info %}} Special syntax (in html comment) is available for adding attributes to Markdown elements. This is useful for fragments, amongst other things.
16
- {{%/notice%}}
17
-
18
- Please read the [{{%icon book%}} doc from hakimel](https://github.com/hakimel/reveal.js/#instructions)
19
-
20
-
21
- ## Options
22
- In the frontmatter of your page file, set **type** and **revealOptions** params
23
-
24
- Your content will be served as a fullscreen revealjs presentation and revealOptions will be used to ajust its behaviour.
25
-
26
- +++
27
- title = "Test slide"
28
- type="slide"
29
-
30
- theme = "league"
31
- [revealOptions]
32
- transition= 'concave'
33
- controls= true
34
- progress= true
35
- history= true
36
- center= true
37
- +++
38
-
39
- [read more about reveal options here](https://github.com/hakimel/reveal.js/#configuration)
40
-
41
-
42
- ## Slide Delimiters
43
- When creating the content for your slideshow presentation within content markdown file you need to be able to distinguish between one slide and the next. This is achieved very simply using a convention within Markdown that indicates the start of each new slide.
44
-
45
- As both horizontal and vertical slides are supported by reveal.js each has it's own unique delimiter.
46
-
47
- To denote the start of a horizontal slide simply add the following delimiter in your Markdown:
48
-
49
- ---
50
-
51
-
52
- To denote the start of a vertical slide simply add the following delimiter in your Markdown:
53
-
54
- ___
55
-
56
- By using a combination of horizontal and vertical slides you can customize the navigation within your slideshow presentation. Typically vertical slides are used to present information below a top-level horizontal slide.
57
-
58
-
59
-
60
- For example, a very simple slideshow presentation can be created as follows
61
-
62
- ```
63
- +++
64
-
65
- title = "test"
66
- date = "2017-04-24T18:36:24+02:00"
67
- type="slide"
68
-
69
- theme = "league"
70
- [revealOptions]
71
- transition= 'concave'
72
- controls= true
73
- progress= true
74
- history= true
75
- center= true
76
- +++
77
-
78
- # In the morning
79
-
80
- ___
81
-
82
- ## Getting up
83
-
84
- - Turn off alarm
85
- - Get out of bed
86
-
87
- ___
88
-
89
- ## Breakfast
90
-
91
- - Eat eggs
92
- - Drink coffee
93
-
94
- ---
95
-
96
- # In the evening
97
-
98
- ___
99
-
100
- ## Dinner
101
-
102
- - Eat spaghetti
103
- - Drink wine
104
-
105
- ___
106
-
107
- ## Going to sleep
108
-
109
- - Get in bed
110
- - Count sheep
111
-
112
- ```
113
-
114
- [{{%icon expand%}}click here to view this page rendered]({{%relref "myslide.md"%}})
@@ -1,44 +0,0 @@
1
- +++
2
- title = "Credits"
3
- description = "contributors and packages used by hugo-theme-docdock"
4
- +++
5
-
6
-
7
- ## github contributors
8
- {{%ghcontributors "https://api.github.com/repos/vjeantet/hugo-theme-docdock/contributors?per_page=100" %}}
9
-
10
- ### Other contribution
11
- <div class="ghContributors">
12
-
13
- <div>
14
- <img src="https://avatars2.githubusercontent.com/u/394382?v=3" class="inline" width="32" height="32" style="height: 32px;height: 32px;margin-bottom:.25em; vertical-align:middle; ">
15
- <label>@<a href="https://github.com/bep">bep</a></label>
16
- <span class="contributions">supports and advices</span>
17
- </div>
18
-
19
- <div>
20
- <img src="https://avatars1.githubusercontent.com/u/959400?s=200&v=4" class="inline" width="32" height="32" style="height: 32px;height: 32px;margin-bottom:.25em; vertical-align:middle; ">
21
- <label>@<a href="https://github.com/facette">facette.io</a></label>
22
- <span class="contributions">Flex style based on facette documentation theme, <br>Thanks to @vbatoufflet</span>
23
- </div>
24
-
25
- </div>
26
-
27
-
28
-
29
- ## Packages and libraries
30
- * [Bootstrap](http://getbootstrap.com) - front-end framework
31
- * [mermaid](https://knsv.github.io/mermaid) - generation of diagram and flowchart from text in a similar manner as markdown
32
- * [font awesome](http://fontawesome.io/) - the iconic font and CSS framework
33
- * [jQuery](https://jquery.com) - The Write Less, Do More, JavaScript Library
34
- * [lunr](https://lunrjs.com) - Lunr enables you to provide a great search experience without the need for external, server-side, search services...
35
- * [JavaScript-autoComplete](https://github.com/Pixabay/JavaScript-autoComplete) - An extremely lightweight and powerful vanilla JavaScript completion suggester.
36
- * [clipboard.js](https://zenorocha.github.io/clipboard.js) - copy text to clipboard
37
- * [highlight.js](https://highlightjs.org) - Javascript syntax highlighter
38
- * [modernizr](https://modernizr.com) - A JavaScript toolkit that allows web developers to use new CSS3 and HTML5 features while maintaining a fine level of control over browsers that don't support
39
- * [reveal-js](http://lab.hakim.se/reveal-js) - The HTML Presentation Framework
40
-
41
- ## Tooling
42
-
43
- * [Netlify](https://www.netlify.com) - Continuous deployement and hosting of this documentation
44
- * [Hugo](https://gohugo.io/) {{%icon "fa-smile-o"%}}
@@ -1,12 +0,0 @@
1
- +++
2
- title = "Getting started"
3
- description = ""
4
- weight = 1
5
- alwaysopen = true
6
- +++
7
-
8
- ## Requirements
9
-
10
- Download [Hugo binary](https://gohugo.io/overview/installing/) for your OS (Windows, Linux, Mac) : it’s that simple
11
-
12
- {{%children style="h2" description="true"%}}
@@ -1,56 +0,0 @@
1
- +++
2
- title = "Configuration"
3
- description = ""
4
- weight = 2
5
- +++
6
-
7
- When building the website, you can set a theme by using `--theme` option. We suggest you to edit your configuration file and set the theme by default. Example with `config.toml` format.
8
- <!--more-->
9
-
10
- Import sample config from sample site to Hugo root:
11
-
12
- ```
13
- $ cp themes/docdock/exampleSite/config.toml .
14
- ```
15
-
16
- Change following `config.toml` line as needed, depending on method above:
17
- ```
18
- theme = "<hugo-theme-docdock-dir-name>"
19
- ```
20
- Comment out following line, so default `themes/` will be used:
21
-
22
- ```
23
- # themesdir = "../.."
24
- ```
25
-
26
-
27
- {{%excerpt%}}
28
- ## Activate search
29
-
30
- If not already present, add the follow lines to the `config.toml` file.
31
-
32
- ```toml
33
- [outputs]
34
- home = [ "HTML", "RSS", "JSON"]
35
- ```
36
- {{% /excerpt%}}
37
-
38
-
39
- LUNRJS search index file will be generated on content changes.
40
-
41
- #### (Bonus)
42
- Create empty file `.gitkeep` inside `public/` and add following to `.gitignore`. This way it will keep repo smaller and won't bring build result files and errors to remote checkout places:
43
- ```
44
- /public/*
45
- !/public/.gitkeep
46
- ```
47
-
48
- ### Preview site
49
- ```
50
- $ hugo server
51
- ```
52
- to browse site on http://localhost:1313
53
-
54
- ## Your website's content
55
-
56
- Find out how to [create]({{%relref "create-page/_index.md"%}}) and [organize your content]({{%relref "content-organisation/_index.md"%}}) quickly and intuitively.
@@ -1,83 +0,0 @@
1
- +++
2
- title = "Installation"
3
- description = ""
4
- weight = 1
5
- +++
6
-
7
- {{% alert theme="warning" %}}HUGO **v0.32** minimum required to use this theme{{%/alert%}}
8
-
9
- The following steps are here to help you initialize your new website. If you don’t know Hugo at all, we strongly suggest you to train by following this [great documentation for beginners](https://gohugo.io/overview/quickstart/).
10
- <!--more-->
11
-
12
- ## Installation
13
-
14
- We assume that all changes to Hugo content and customizations are going to be tracked by git (GitHub, Bitbucket etc.). Develop locally, build on remote system.
15
-
16
- Before start real work:
17
-
18
- 1. Initialize Hugo
19
- 2. Install DocDock theme
20
- 3. Configure DocDock and Hugo
21
-
22
- ### Prepare empty Hugo site
23
-
24
- Create empty directory, which will be root of your Hugo project. Navigate there and let Hugo to create minimal required directory structure:
25
- ```
26
- $ hugo new site .
27
- ```
28
- AFTER that, initialize this as git directory where to track further changes
29
- ```
30
- $ git init
31
- ```
32
-
33
- Next, there are at least three ways to install DocDock (first recommended):
34
-
35
- 1. **As git submodule**
36
- 2. As git clone
37
- 3. As direct copy (from ZIP)
38
-
39
- Navigate to your themes folder in your Hugo site and use perform one of following scenarios.
40
-
41
- ### 1. Install DocDock as git submodule
42
-
43
- DocDock will be added like a dependency repo to original project. When using CI tools like Netlify, Jenkins etc., submodule method is required, or you will get `theme not found` issues. Same applies when building site on remote server trough SSH.
44
-
45
- If submodule is no-go, use 3rd option.
46
-
47
- On your root of Hugo execute:
48
-
49
- ```
50
- $ git submodule add https://github.com/vjeantet/hugo-theme-docdock.git themes/docdock
51
- ```
52
- Next initialize submodule for parent git repo:
53
-
54
- ```
55
- $ git submodule init
56
- $ git submodule update
57
- ```
58
-
59
- Now you are ready to add content and customize looks. Do not change any file inside theme directory.
60
-
61
- If you want to freeze changes to DocDock theme itself and use still submodules, fork private copy of DocDock and use that as submodule. When you are ready to update theme, just pull changes from origin to your private fork.
62
-
63
- ### 2. Install DocDock simply as git clone
64
-
65
- This method results that files are checked out locally, but won't be visible from parent git repo. Probably you will build site locally with `hugo` command and use result from `public/` on your own.
66
-
67
- ```
68
- $ git clone https://github.com/vjeantet/hugo-theme-docdock.git themes/docdock
69
- ```
70
-
71
-
72
- ### 3. Install DocDock from ZIP
73
-
74
- All files from theme will be tracked inside parent repo, to update it, have to override files in theme. [{{%icon download%}} download following zip](https://github.com/vjeantet/hugo-theme-docdock/archive/master.zip) and extract inside `themes/`.
75
-
76
- ```
77
- https://github.com/vjeantet/hugo-theme-docdock/archive/master.zip
78
- ```
79
- Name of theme in next step will be `hugo-theme-docdock-master`, can rename as you wish.
80
-
81
- ## Configuration
82
-
83
- [Follow instructions here]({{%relref "configuration.md"%}})
@@ -1,13 +0,0 @@
1
- +++
2
- title = "About the Search Engine"
3
- description = ""
4
- weight = 40
5
- +++
6
-
7
- {{%excerpt-include filename="getting-start/configuration.md" /%}}
8
-
9
-
10
- Docdock theme uses the last improvement available in hugo version 20+ to generate a json index file ready to be consumed by lunr.js javascript search engine.
11
-
12
-
13
- {{%note%}}hugo generate lunrjs index.json at the root of `public` folder if the site only has one language or within each language subfolder. <br/>When you build the site with `hugo server`, hugo generates it internally and of course it don't show up in the filesystem{{%/note%}}
@@ -1,10 +0,0 @@
1
- +++
2
- title = "Shortcodes"
3
- description = ""
4
- date = "2017-04-24T18:36:24+02:00"
5
- weight = 30
6
- +++
7
-
8
- A bunch of Shortcodes are available with this theme :
9
-
10
- {{%children style="card" description="true" %}}
@@ -1,30 +0,0 @@
1
- +++
2
- title = "alert"
3
- description = "The alert shortcode allows you to highlight information in your page."
4
- +++
5
-
6
- The `alert` shortcode allow you to highlight information in your page. They create a colored box surrounding your text, like this:
7
-
8
- {{%alert%}}**This is** an alert !{{%/alert%}}
9
- ## Usage
10
-
11
- | Parameter | Default | Description |
12
- |:--|:--|:--|
13
- | theme | `info` | `success`, `info`,`warning`,`danger` |
14
-
15
- {{%alert info%}}
16
- **Tips :** setting only the theme as argument works too :
17
- `{{%/*alert warning*/%}}` instead of `{{%/*alert theme="warning"*/%}}`
18
- {{%/alert%}}
19
-
20
- ## Basic examples
21
-
22
- {{%/* alert theme="info" */%}}**this** is a text{{%/* /alert */%}}
23
- {{%/* alert theme="success" */%}}**Yeahhh !** is a text{{%/* /alert */%}}
24
- {{%/* alert theme="warning" */%}}**Be carefull** is a text{{%/* /alert */%}}
25
- {{%/* alert theme="danger" */%}}**Beware !** is a text{{%/* /alert */%}}
26
-
27
- {{% alert theme="info"%}}**this** is an info{{% /alert %}}
28
- {{% alert theme="success" %}}**Yeahhh !** is an success{{% /alert %}}
29
- {{% alert theme="warning" %}}**Be carefull** is a warning{{% /alert %}}
30
- {{% alert theme="danger" %}}**Beware !** is a danger{{% /alert %}}
@@ -1,59 +0,0 @@
1
- +++
2
- title = "attachments"
3
- description = "The Attachments shortcode displays a list of files attached to a page."
4
- +++
5
-
6
- The Attachments shortcode displays a list of files attached to a page.
7
- Example :
8
- {{%alert success%}}{{%attachments /%}}{{%/alert%}}
9
-
10
- ## Usage
11
-
12
- The shortcurt lists files found in a **specific folder**.
13
- Currently, it support two implementations for pages
14
-
15
- 1. If your page is a markdown file, attachements must be place in a **folder** named like your page and ending with **.files**.
16
-
17
- > * content
18
- > * _index.md
19
- > * page.files
20
- > * attachment.pdf
21
- > * page.md
22
-
23
- 2. If your page is a **folder**, attachements must be place in a nested **'files'** folder.
24
-
25
- > * content
26
- > * _index.md
27
- > * page
28
- > * index.md
29
- > * files
30
- > * attachment.pdf
31
-
32
- That's all !
33
-
34
- {{%alert info%}}**Tip** : Look at this documentation source code on github{{%/alert%}}
35
-
36
- ### parameters
37
-
38
- | Parameter | Default | Description |
39
- |:--|:--|:--|
40
- | title | "Attachments" | List's title |
41
- | pattern | ".*" | A regular expressions, used to filter the attachments by file name. <br/><br/>{{%alert warning%}}The **pattern** parameter value must be [regular expressions](https://en.wikipedia.org/wiki/Regular_expression).
42
-
43
- For example:
44
-
45
- * To match a file suffix of 'jpg', use **.*jpg** (not *.jpg).
46
- * To match file names ending in 'jpg' or 'png', use **.*(jpg|png)**
47
-
48
- {{%/alert%}}|
49
-
50
-
51
- ## Demo
52
- ### List of attachments ending in pdf or mp4
53
-
54
- {{%/*attachments title="Related files" pattern=".*(pdf|mp4)"/*/%}}
55
-
56
- renders as
57
-
58
- {{%attachments title="Related files" pattern=".*(pdf|mp4)"/%}}
59
-
@@ -1,37 +0,0 @@
1
- +++
2
- title = "button"
3
- description = "Display an actionable button in your page."
4
- +++
5
-
6
- Display an actionable button in your page.
7
-
8
- {{<button align="center" href="#" theme="warning" >}} This is a warning button {{< /button >}}
9
-
10
- ## Usage
11
-
12
- | Parameter | Default | Description |
13
- |:--|:--|:--|
14
- | href | "" | The location href to link to |
15
- | align | "center" | horizontal align button on page |
16
- | theme | `primary` | `default`, `primary` , `success`,`info`,`warning`,`danger` |
17
-
18
- The inner text you place in short code will be displayed as the _button text_
19
-
20
- ## Demo
21
-
22
- {{</* button href="https://google.com" */>}} go to google {{</* /button */>}}
23
- {{</* button href="https://google.com" theme="success" */>}} Success {{</* /button */>}}
24
- {{</* button href="https://google.com" theme="info" */>}} Info {{</* /button */>}}
25
- {{</* button href="https://google.com" theme="warning" */>}} Warning {{</* /button */>}}
26
- {{</* button href="https://google.com" theme="danger" */>}} Danger ! {{</* /button */>}}
27
- {{</* button href="https://google.com" theme="default" */>}} Danger ! {{</* /button */>}}
28
-
29
- {{<button href="https://google.com" >}} go to google {{< /button >}}
30
- {{<button href="https://google.com" theme="success">}} Success {{< /button >}}
31
- {{<button href="https://google.com" theme="info">}} Info {{< /button >}}
32
- {{<button href="https://google.com" theme="warning">}} Warning {{< /button >}}
33
- {{<button href="https://google.com" theme="danger">}} Danger ! {{< /button >}}
34
- {{<button href="https://google.com" theme="default">}} Danger ! {{< /button >}}
35
-
36
-
37
-
@@ -1,46 +0,0 @@
1
- +++
2
- title = "children"
3
- description = "List the child pages of a page"
4
- +++
5
-
6
-
7
- Use the children shortcode to list the child pages of a page and the further descendants (children's children). By default, the shortcode displays links to the child pages.
8
-
9
- ## Usage
10
-
11
- | Parameter | Default | Description |
12
- |:--|:--|:--|
13
- | page | _current_ | Specify the page name (section name) to display children for |
14
- | style | "li" | Choose the style used to display descendants. It could be any HTML tag name, use "card" to display children pages as cards |
15
- | showhidden | "false" | When true, child pages hidden from the menu will be displayed |
16
- | description | "false" | Allows you to include a short text under each page in the list.<br/>when no description exists for the page, children shortcode takes the first 70 words of your content. [read more info about summaries on gohugo.io](https://gohugo.io/content/summaries/) |
17
- | depth | 1 | Enter a number to specify the depth of descendants to display. For example, if the value is 2, the shortcode will display 2 levels of child pages. {{%alert success%}}**Tips:** set 999 to get all descendants{{%/alert%}}|
18
- | sort | none | Sort Children By<br><li><strong>Weight</strong> - to sort on menu order</li><li><strong>Name</strong> - to sort alphabetically on menu label</li><li><strong>Identifier</strong> - to sort alphabetically on identifier set in frontmatter</li><li><strong>URL</strong> - URL</li> |
19
-
20
-
21
-
22
- ## Demo
23
-
24
- {{%/* children */%}}
25
-
26
- {{%children %}}
27
-
28
- {{%/* children description="true" */%}}
29
-
30
- {{%children description="true" %}}
31
-
32
- {{%/* children depth="3" showhidden="true" */%}}
33
-
34
- {{% children depth="3" showhidden="true" %}}
35
-
36
- {{%/* children style="h2" depth="3" description="true" */%}}
37
-
38
- {{% children style="h2" depth="3" description="true" %}}
39
-
40
- {{%/* children style="div" depth="999" */%}}
41
-
42
- {{% children style="div" depth="999" %}}
43
-
44
- {{%/* children style="card" depth="2" description="true" */%}}
45
-
46
- {{% children style="card" depth="2" description="true" %}}
@@ -1,6 +0,0 @@
1
- +++
2
- title = "page 1"
3
- description = "This is a demo child page"
4
- +++
5
-
6
- This is a demo child page
@@ -1,6 +0,0 @@
1
- +++
2
- title = "page 1-1"
3
- description = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod"
4
- +++
5
-
6
- This is a demo child page
@@ -1,6 +0,0 @@
1
- +++
2
- title = "page 1-1-1"
3
- description = "This is a demo child page"
4
- +++
5
-
6
- This is a demo child page
@@ -1,6 +0,0 @@
1
- +++
2
- title = "page 1-1-1-1"
3
- description = "This is a demo child page"
4
- +++
5
-
6
- This is a demo child page
@@ -1,6 +0,0 @@
1
- +++
2
- title = "page 1-1-1-1-1"
3
- description = "This is a demo child page"
4
- +++
5
-
6
- This is a demo child page
@@ -1,11 +0,0 @@
1
- +++
2
- title = "page 2"
3
- description = ""
4
- +++
5
-
6
- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
7
- tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
8
- quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
9
- consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
10
- cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
11
- proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
@@ -1,6 +0,0 @@
1
- +++
2
- title = "page test 3"
3
- description = "This is a page test"
4
- +++
5
-
6
- This is a test 3 demo child page
@@ -1,6 +0,0 @@
1
- +++
2
- title = "page 3"
3
- description = "This is a demo child page"
4
- +++
5
-
6
- This is a demo child page
@@ -1,7 +0,0 @@
1
- +++
2
- title = "page 4"
3
- description = "This is a demo child page"
4
- hidden=true
5
- +++
6
-
7
- This is a demo child page, not displayed in the menu
@@ -1,6 +0,0 @@
1
- +++
2
- title = "page test"
3
- description = "This is a page test"
4
- +++
5
-
6
- This is a test demo child page
@@ -1,25 +0,0 @@
1
- +++
2
- title = "excerpt-include"
3
- description = ""
4
- +++
5
-
6
- The Excerpt Include shortcode is used to display 'excerpted' (that is, a segment of) content from one page in another.
7
- Before you can use this shortcode, the excerpt must have been defined using the Excerpt shortcode. {{%alert info%}}Note that you can have more than one Excerpt Include shortcode on a page (although you can have only one Excerpt shortcode on a page).{{%/alert%}}
8
-
9
-
10
- ## Usage
11
-
12
- | Parameter | Default | Description |
13
- |:--|:--|:--|
14
- | filename | **required** | Type the filename of the page that contains the excerpt to be displayed.<br/>Path is relative to the content folder|
15
- | panel | none | Determines whether docDock will display a panel around the excerpted content. The panel includes the given panel's value and the border of the panel. By default, the panel and title are not shown.|
16
-
17
- ## Demo
18
- The paragraph below shows an example of an Excerpt Include shortcode, containing content from an excerpt which we have defined on the Excerpt shortcode page. On the Excerpt Include shortcode below, we have set the options to show both the title of the page and the panel surrounding the content.
19
-
20
- {{%/*excerpt-include filename="shortcodes/excerpt.md" panel="From excerpt page" /*/%}}
21
-
22
- {{%excerpt-include filename="shortcodes/excerpt.md" panel="From excerpt page" /%}}
23
-
24
- > Don't create an excerpt file in the ```/layouts/shortcodes/``` folder.
25
- > In this example, ```shortcodes/filename.md``` is part of the ```exampleSite/content``` folder, and ```shortcodes``` is just a path in the ```/content```.