rbcli 0.3.3 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.md +9 -0
- data/LICENSE.txt +5 -670
- data/README.md +64 -160
- data/VERSION +1 -0
- data/exe/rbcli +181 -242
- data/lib/rbcli/components/commands/command.rb +120 -0
- data/lib/rbcli/components/commands/command.rb.erb +55 -0
- data/lib/rbcli/components/commands/command_old.rb +105 -0
- data/lib/rbcli/components/commands/script.rb.erb +43 -0
- data/{lib-sh → lib/rbcli/components/commands/scriptwrapper}/lib-rbcli.sh +29 -34
- data/lib/rbcli/components/commands/scriptwrapper/scriptwrapper.rb +64 -0
- data/lib/rbcli/components/config/backend.rb +104 -0
- data/lib/rbcli/components/config/backends/env.rb +63 -0
- data/lib/rbcli/components/config/backends/helpers/deep_assign.rb +47 -0
- data/lib/rbcli/components/config/backends/ini.rb +53 -0
- data/lib/rbcli/components/config/backends/json.rb +31 -0
- data/lib/rbcli/components/config/backends/null.rb +28 -0
- data/lib/rbcli/components/config/backends/toml.rb +37 -0
- data/lib/rbcli/components/config/backends/yaml.rb +31 -0
- data/lib/rbcli/components/config/component.rb +28 -0
- data/lib/rbcli/components/config/config.rb +110 -0
- data/lib/rbcli/components/config/config_of_death.rb +12 -0
- data/lib/rbcli/components/config/template.rb.erb +34 -0
- data/lib/rbcli/components/core/configurate.rb +63 -0
- data/lib/rbcli/components/core/engine.rb +30 -0
- data/lib/rbcli/components/core/warehouse.rb +18 -0
- data/lib/rbcli/components/envvars/component.rb +20 -0
- data/lib/rbcli/components/envvars/template.rb.erb +24 -0
- data/lib/rbcli/components/hooks/component.rb +36 -0
- data/lib/rbcli/components/hooks/template.rb.erb +20 -0
- data/lib/rbcli/components/logger/component.rb +32 -0
- data/lib/rbcli/components/logger/logger.rb +155 -0
- data/lib/rbcli/components/logger/lolcat/lol.rb +71 -0
- data/lib/rbcli/components/logger/template.rb.erb +40 -0
- data/lib/rbcli/components/parser/component.rb +34 -0
- data/lib/rbcli/{util → components/parser/optimist}/optimist.rb +134 -48
- data/lib/rbcli/components/parser/parser.rb +179 -0
- data/lib/rbcli/components/parser/template.rb.erb +36 -0
- data/lib/rbcli/components/updatechecker/common/common.rb +52 -0
- data/lib/rbcli/components/updatechecker/component.rb +42 -0
- data/lib/rbcli/components/updatechecker/gem_checker.rb +40 -0
- data/lib/rbcli/components/updatechecker/github_checker.rb +46 -0
- data/lib/rbcli/components/updatechecker/template.rb.erb +14 -0
- data/lib/rbcli/util/deprecation_warning.rb +41 -55
- data/lib/rbcli/util/errors.rb +12 -0
- data/lib/rbcli/util/exit.rb +12 -0
- data/lib/rbcli/util/hash_deep_symbolize.rb +50 -41
- data/lib/rbcli/util/string_compression.rb +10 -0
- data/lib/rbcli/version.rb +5 -20
- data/lib/rbcli-tool/helpers.rb +58 -0
- data/lib/rbcli-tool/skeletons/gem.rb.erb +17 -0
- data/lib/rbcli-tool/skeletons/portable.rb.erb +48 -0
- data/lib/rbcli.rb +19 -50
- data/sig/rbcli.rbs +9 -0
- metadata +124 -496
- data/.gitignore +0 -60
- data/.rakeTasks +0 -7
- data/.rbenv-gemsets +0 -1
- data/.travis.yml +0 -5
- data/CHANGELOG.md +0 -193
- data/CODE_OF_CONDUCT.md +0 -74
- data/Gemfile +0 -6
- data/Gemfile.lock +0 -92
- data/Rakefile +0 -10
- data/bin/console +0 -33
- data/bin/setup +0 -28
- data/docs/404.html +0 -59
- data/docs/advanced/automatic_updates/index.html +0 -1174
- data/docs/advanced/command_types/index.html +0 -1262
- data/docs/advanced/distributed_state_locking/index.html +0 -1176
- data/docs/advanced/hooks/index.html +0 -1192
- data/docs/advanced/index.html +0 -1140
- data/docs/advanced/index.xml +0 -75
- data/docs/advanced/interactive_commands/index.html +0 -1177
- data/docs/advanced/logging/index.html +0 -1184
- data/docs/advanced/remote_execution/index.html +0 -1190
- data/docs/advanced/state_storage/index.html +0 -1281
- data/docs/advanced/user_config_files/index.html +0 -1209
- data/docs/categories/index.html +0 -1146
- data/docs/categories/index.xml +0 -11
- data/docs/css/atom-one-dark-reasonable.css +0 -77
- data/docs/css/auto-complete.css +0 -47
- data/docs/css/featherlight.min.css +0 -8
- data/docs/css/fontawesome-all.min.css +0 -1
- data/docs/css/hugo-theme.css +0 -254
- data/docs/css/hybrid.css +0 -102
- data/docs/css/nucleus.css +0 -615
- data/docs/css/perfect-scrollbar.min.css +0 -2
- data/docs/css/tags.css +0 -49
- data/docs/css/theme-blue.css +0 -111
- data/docs/css/theme-green.css +0 -111
- data/docs/css/theme-red.css +0 -111
- data/docs/css/theme.css +0 -1136
- data/docs/development/changelog/index.html +0 -1420
- data/docs/development/code_of_conduct/index.html +0 -1222
- data/docs/development/contributing/index.html +0 -1201
- data/docs/development/index.html +0 -1140
- data/docs/development/index.xml +0 -40
- data/docs/development/license/index.html +0 -1165
- data/docs/fonts/Inconsolata.eot +0 -0
- data/docs/fonts/Inconsolata.svg +0 -1
- data/docs/fonts/Inconsolata.ttf +0 -0
- data/docs/fonts/Inconsolata.woff +0 -0
- data/docs/fonts/Novecentosanswide-Normal-webfont.eot +0 -0
- data/docs/fonts/Novecentosanswide-Normal-webfont.svg +0 -1
- data/docs/fonts/Novecentosanswide-Normal-webfont.ttf +0 -0
- data/docs/fonts/Novecentosanswide-Normal-webfont.woff +0 -0
- data/docs/fonts/Novecentosanswide-Normal-webfont.woff2 +0 -0
- data/docs/fonts/Novecentosanswide-UltraLight-webfont.eot +0 -0
- data/docs/fonts/Novecentosanswide-UltraLight-webfont.svg +0 -1
- data/docs/fonts/Novecentosanswide-UltraLight-webfont.ttf +0 -0
- data/docs/fonts/Novecentosanswide-UltraLight-webfont.woff +0 -0
- data/docs/fonts/Novecentosanswide-UltraLight-webfont.woff2 +0 -0
- data/docs/fonts/Work_Sans_200.eot +0 -0
- data/docs/fonts/Work_Sans_200.svg +0 -1
- data/docs/fonts/Work_Sans_200.ttf +0 -0
- data/docs/fonts/Work_Sans_200.woff +0 -0
- data/docs/fonts/Work_Sans_200.woff2 +0 -0
- data/docs/fonts/Work_Sans_300.eot +0 -0
- data/docs/fonts/Work_Sans_300.svg +0 -1
- data/docs/fonts/Work_Sans_300.ttf +0 -0
- data/docs/fonts/Work_Sans_300.woff +0 -0
- data/docs/fonts/Work_Sans_300.woff2 +0 -0
- data/docs/fonts/Work_Sans_500.eot +0 -0
- data/docs/fonts/Work_Sans_500.svg +0 -1
- data/docs/fonts/Work_Sans_500.ttf +0 -0
- data/docs/fonts/Work_Sans_500.woff +0 -0
- data/docs/fonts/Work_Sans_500.woff2 +0 -0
- data/docs/images/clippy.svg +0 -1
- data/docs/images/favicon.png +0 -0
- data/docs/images/gopher-404.jpg +0 -0
- data/docs/imported/changelog/index.html +0 -1449
- data/docs/imported/index.html +0 -1191
- data/docs/imported/index.xml +0 -23
- data/docs/index.html +0 -1138
- data/docs/index.json +0 -183
- data/docs/index.xml +0 -138
- data/docs/js/auto-complete.js +0 -3
- data/docs/js/clipboard.min.js +0 -7
- data/docs/js/featherlight.min.js +0 -9
- data/docs/js/highlight.pack.js +0 -6
- data/docs/js/html5shiv-printshiv.min.js +0 -4
- data/docs/js/hugo-learn.js +0 -94
- data/docs/js/jquery-3.3.1.min.js +0 -2
- data/docs/js/jquery.sticky.js +0 -288
- data/docs/js/learn.js +0 -459
- data/docs/js/lunr.min.js +0 -6
- data/docs/js/modernizr.custom-3.6.0.js +0 -3
- data/docs/js/perfect-scrollbar.jquery.min.js +0 -2
- data/docs/js/perfect-scrollbar.min.js +0 -2
- data/docs/js/search.js +0 -93
- data/docs/mermaid/mermaid.css +0 -277
- data/docs/mermaid/mermaid.dark.css +0 -278
- data/docs/mermaid/mermaid.forest.css +0 -356
- data/docs/mermaid/mermaid.js +0 -8
- data/docs/quick_reference/index.html +0 -1246
- data/docs/quick_reference/index.xml +0 -12
- data/docs/sitemap.xml +0 -81
- data/docs/tags/index.html +0 -1146
- data/docs/tags/index.xml +0 -11
- data/docs/tutorial/10-getting_started/index.html +0 -1174
- data/docs/tutorial/20-project_layout/index.html +0 -1299
- data/docs/tutorial/30-your_first_command/index.html +0 -1263
- data/docs/tutorial/40-options_parameters_and_arguments/index.html +0 -1384
- data/docs/tutorial/50-publishing/index.html +0 -1187
- data/docs/tutorial/index.html +0 -1140
- data/docs/tutorial/index.xml +0 -47
- data/docs/webfonts/fa-brands-400.eot +0 -0
- data/docs/webfonts/fa-brands-400.svg +0 -1
- data/docs/webfonts/fa-brands-400.ttf +0 -0
- data/docs/webfonts/fa-brands-400.woff +0 -0
- data/docs/webfonts/fa-brands-400.woff2 +0 -0
- data/docs/webfonts/fa-regular-400.eot +0 -0
- data/docs/webfonts/fa-regular-400.svg +0 -1
- data/docs/webfonts/fa-regular-400.ttf +0 -0
- data/docs/webfonts/fa-regular-400.woff +0 -0
- data/docs/webfonts/fa-regular-400.woff2 +0 -0
- data/docs/webfonts/fa-solid-900.eot +0 -0
- data/docs/webfonts/fa-solid-900.svg +0 -1
- data/docs/webfonts/fa-solid-900.ttf +0 -0
- data/docs/webfonts/fa-solid-900.woff +0 -0
- data/docs/webfonts/fa-solid-900.woff2 +0 -0
- data/docs/whoami/index.html +0 -1155
- data/docs/whoami/index.xml +0 -12
- data/docs-src/archetypes/default.md +0 -6
- data/docs-src/config.toml +0 -37
- data/docs-src/content/_index.md +0 -40
- data/docs-src/content/advanced/_index.md +0 -11
- data/docs-src/content/advanced/automatic_updates.md +0 -46
- data/docs-src/content/advanced/command_types.md +0 -148
- data/docs-src/content/advanced/distributed_state_locking.md +0 -37
- data/docs-src/content/advanced/hooks.md +0 -69
- data/docs-src/content/advanced/interactive_commands.md +0 -41
- data/docs-src/content/advanced/logging.md +0 -39
- data/docs-src/content/advanced/remote_execution.md +0 -60
- data/docs-src/content/advanced/state_storage.md +0 -120
- data/docs-src/content/advanced/user_config_files.md +0 -51
- data/docs-src/content/development/_index.md +0 -11
- data/docs-src/content/development/changelog.md +0 -199
- data/docs-src/content/development/code_of_conduct.md +0 -81
- data/docs-src/content/development/contributing.md +0 -88
- data/docs-src/content/development/license.md +0 -17
- data/docs-src/content/quick_reference/_index.md +0 -180
- data/docs-src/content/tutorial/10-getting_started.md +0 -47
- data/docs-src/content/tutorial/20-project_layout.md +0 -123
- data/docs-src/content/tutorial/30-your_first_command.md +0 -132
- data/docs-src/content/tutorial/40-options_parameters_and_arguments.md +0 -282
- data/docs-src/content/tutorial/50-publishing.md +0 -53
- data/docs-src/content/tutorial/_index.md +0 -11
- data/docs-src/content/whoami/_index.md +0 -34
- data/docs-src/layouts/partials/logo.html +0 -3
- data/docs-src/makesite.sh +0 -40
- data/docs-src/mkdocs-archived.tar.gz +0 -0
- data/docs-src/runsite.sh +0 -8
- data/docs-src/themes/hugo-theme-learn/.editorconfig +0 -16
- data/docs-src/themes/hugo-theme-learn/.gitignore +0 -3
- data/docs-src/themes/hugo-theme-learn/.grenrc.yml +0 -25
- data/docs-src/themes/hugo-theme-learn/CHANGELOG.md +0 -226
- data/docs-src/themes/hugo-theme-learn/LICENSE.md +0 -22
- data/docs-src/themes/hugo-theme-learn/README.md +0 -97
- data/docs-src/themes/hugo-theme-learn/archetypes/chapter.md +0 -13
- data/docs-src/themes/hugo-theme-learn/archetypes/default.md +0 -7
- data/docs-src/themes/hugo-theme-learn/exampleSite/LICENSE.md +0 -20
- data/docs-src/themes/hugo-theme-learn/exampleSite/config.toml +0 -102
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/_index.en.md +0 -41
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/_index.fr.md +0 -43
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/basics/_index.en.md +0 -12
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/basics/_index.fr.md +0 -12
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/basics/_index.zh.md +0 -12
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/basics/configuration/_index.en.md +0 -60
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/basics/configuration/_index.fr.md +0 -56
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/basics/installation/_index.en.md +0 -102
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/basics/installation/_index.fr.md +0 -100
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/basics/installation/images/chapter.png +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/basics/requirements/_index.en.md +0 -11
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/basics/requirements/_index.fr.md +0 -11
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/basics/requirements/images/magic.gif +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/_index.en.md +0 -194
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/_index.fr.md +0 -194
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/images/blue-variant.png +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/images/green-variant.png +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/images/red-variant.png +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/_index.en.md +0 -12
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/_index.fr.md +0 -12
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/archetypes.en.md +0 -57
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/archetypes.fr.md +0 -57
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/i18n/_index.en.md +0 -78
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/i18n/_index.fr.md +0 -78
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/i18n/images/i18n-menu.gif +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/icons.en.md +0 -41
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/markdown.en.md +0 -692
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/markdown.fr.md +0 -666
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/menushortcuts.en.md +0 -109
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/menushortcuts.fr.md +0 -109
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/pages/_index.en.md +0 -166
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/pages/_index.fr.md +0 -146
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/pages/images/frontmatter-icon.png +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/pages/images/pages-chapter.png +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/pages/images/pages-default.png +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/syntaxhighlight.en.md +0 -89
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/tags.en.md +0 -39
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/tags.fr.md +0 -40
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/credits.en.md +0 -28
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/credits.fr.md +0 -28
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/_index.en.md +0 -16
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/_index.fr.md +0 -16
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.en.files/BachGavotteShort.mp3 +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.en.files/Carroll_AliceAuPaysDesMerveilles.pdf +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.en.files/adivorciarsetoca00cape.pdf +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.en.files/hugo.png +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.en.files/movieselectricsheep-flock-244-32500-2.mp4 +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.en.md +0 -85
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.fr.files/BachGavotteShort.mp3 +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.fr.files/Carroll_AliceAuPaysDesMerveilles.pdf +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.fr.files/adivorciarsetoca00cape.pdf +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.fr.files/hugo.png +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.fr.files/movieselectricsheep-flock-244-32500-2.mp4 +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.fr.md +0 -85
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/button.en.md +0 -16
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/button.fr.md +0 -16
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/children/_index.en.md +0 -45
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/children/_index.fr.md +0 -45
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-1/_index.en.md +0 -6
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-1/_index.fr.md +0 -6
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-1/children-1-1/_index.en.md +0 -6
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-1/children-1-1/_index.fr.md +0 -6
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/_index.en.md +0 -6
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/_index.fr.md +0 -6
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/_index.en.md +0 -6
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/_index.fr.md +0 -6
- data/docs-src/themes/hugo-theme-learn/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.en.md +0 -6
- data/docs-src/themes/hugo-theme-learn/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.fr.md +0 -6
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-2/_index.en.md +0 -11
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-2/_index.fr.md +0 -11
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-2/test3.en.md +0 -6
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-2/test3.fr.md +0 -6
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-3/_index.en.md +0 -6
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-3/_index.fr.md +0 -6
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-4/_index.en.md +0 -7
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-4/_index.fr.md +0 -7
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/children/test.en.md +0 -6
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/children/test.fr.md +0 -6
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/expand.en.md +0 -45
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/expand.fr.md +0 -45
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/mermaid.en.md +0 -283
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/mermaid.fr.md +0 -283
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/notice.en.md +0 -62
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/notice.fr.md +0 -62
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/siteparam.en.md +0 -23
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/siteparam.fr.md +0 -23
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/showcase.en.md +0 -13
- data/docs-src/themes/hugo-theme-learn/exampleSite/content/showcase.fr.md +0 -14
- data/docs-src/themes/hugo-theme-learn/exampleSite/layouts/partials/custom-footer.html +0 -10
- data/docs-src/themes/hugo-theme-learn/exampleSite/layouts/partials/logo.html +0 -39
- data/docs-src/themes/hugo-theme-learn/exampleSite/layouts/partials/menu-footer.html +0 -14
- data/docs-src/themes/hugo-theme-learn/exampleSite/layouts/shortcodes/ghcontributors.html +0 -31
- data/docs-src/themes/hugo-theme-learn/exampleSite/static/css/theme-mine.css +0 -104
- data/docs-src/themes/hugo-theme-learn/exampleSite/static/fonts/monogramos-webfont.eot +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/static/fonts/monogramos-webfont.svg +0 -1
- data/docs-src/themes/hugo-theme-learn/exampleSite/static/fonts/monogramos-webfont.ttf +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/static/fonts/monogramos-webfont.woff +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/static/fonts/monogramos-webfont.woff2 +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/static/images/showcase/inteliver_docs.png +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/static/images/showcase/tat.png +0 -0
- data/docs-src/themes/hugo-theme-learn/exampleSite/static/images/showcase/tshark_dev.png +0 -0
- data/docs-src/themes/hugo-theme-learn/i18n/ar.toml +0 -26
- data/docs-src/themes/hugo-theme-learn/i18n/de.toml +0 -26
- data/docs-src/themes/hugo-theme-learn/i18n/en.toml +0 -26
- data/docs-src/themes/hugo-theme-learn/i18n/es.toml +0 -26
- data/docs-src/themes/hugo-theme-learn/i18n/fr.toml +0 -26
- data/docs-src/themes/hugo-theme-learn/i18n/hi.toml +0 -26
- data/docs-src/themes/hugo-theme-learn/i18n/id.toml +0 -26
- data/docs-src/themes/hugo-theme-learn/i18n/ja.toml +0 -26
- data/docs-src/themes/hugo-theme-learn/i18n/nl.toml +0 -26
- data/docs-src/themes/hugo-theme-learn/i18n/pt.toml +0 -26
- data/docs-src/themes/hugo-theme-learn/i18n/ru.toml +0 -26
- data/docs-src/themes/hugo-theme-learn/i18n/tr.toml +0 -26
- data/docs-src/themes/hugo-theme-learn/i18n/zh-cn.toml +0 -26
- data/docs-src/themes/hugo-theme-learn/images/screenshot.png +0 -0
- data/docs-src/themes/hugo-theme-learn/images/tn.png +0 -0
- data/docs-src/themes/hugo-theme-learn/layouts/404.html +0 -56
- data/docs-src/themes/hugo-theme-learn/layouts/_default/list.html +0 -22
- data/docs-src/themes/hugo-theme-learn/layouts/_default/single.html +0 -12
- data/docs-src/themes/hugo-theme-learn/layouts/index.html +0 -31
- data/docs-src/themes/hugo-theme-learn/layouts/index.json +0 -12
- data/docs-src/themes/hugo-theme-learn/layouts/partials/custom-comments.html +0 -3
- data/docs-src/themes/hugo-theme-learn/layouts/partials/custom-footer.html +0 -5
- data/docs-src/themes/hugo-theme-learn/layouts/partials/custom-header.html +0 -5
- data/docs-src/themes/hugo-theme-learn/layouts/partials/favicon.html +0 -1
- data/docs-src/themes/hugo-theme-learn/layouts/partials/footer.html +0 -77
- data/docs-src/themes/hugo-theme-learn/layouts/partials/header.html +0 -111
- data/docs-src/themes/hugo-theme-learn/layouts/partials/logo.html +0 -19
- data/docs-src/themes/hugo-theme-learn/layouts/partials/menu-footer.html +0 -1
- data/docs-src/themes/hugo-theme-learn/layouts/partials/menu.html +0 -151
- data/docs-src/themes/hugo-theme-learn/layouts/partials/meta.html +0 -2
- data/docs-src/themes/hugo-theme-learn/layouts/partials/search.html +0 -16
- data/docs-src/themes/hugo-theme-learn/layouts/partials/tags.html +0 -7
- data/docs-src/themes/hugo-theme-learn/layouts/partials/toc.html +0 -5
- data/docs-src/themes/hugo-theme-learn/layouts/shortcodes/attachments.html +0 -36
- data/docs-src/themes/hugo-theme-learn/layouts/shortcodes/button.html +0 -14
- data/docs-src/themes/hugo-theme-learn/layouts/shortcodes/children.html +0 -101
- data/docs-src/themes/hugo-theme-learn/layouts/shortcodes/expand.html +0 -17
- data/docs-src/themes/hugo-theme-learn/layouts/shortcodes/mermaid.html +0 -2
- data/docs-src/themes/hugo-theme-learn/layouts/shortcodes/notice.html +0 -2
- data/docs-src/themes/hugo-theme-learn/layouts/shortcodes/ref.html +0 -14
- data/docs-src/themes/hugo-theme-learn/layouts/shortcodes/relref.html +0 -14
- data/docs-src/themes/hugo-theme-learn/layouts/shortcodes/siteparam.html +0 -7
- data/docs-src/themes/hugo-theme-learn/netlify.toml +0 -23
- data/docs-src/themes/hugo-theme-learn/static/css/atom-one-dark-reasonable.css +0 -77
- data/docs-src/themes/hugo-theme-learn/static/css/auto-complete.css +0 -47
- data/docs-src/themes/hugo-theme-learn/static/css/featherlight.min.css +0 -8
- data/docs-src/themes/hugo-theme-learn/static/css/fontawesome-all.min.css +0 -1
- data/docs-src/themes/hugo-theme-learn/static/css/hugo-theme.css +0 -254
- data/docs-src/themes/hugo-theme-learn/static/css/hybrid.css +0 -102
- data/docs-src/themes/hugo-theme-learn/static/css/nucleus.css +0 -615
- data/docs-src/themes/hugo-theme-learn/static/css/perfect-scrollbar.min.css +0 -2
- data/docs-src/themes/hugo-theme-learn/static/css/tags.css +0 -49
- data/docs-src/themes/hugo-theme-learn/static/css/theme-blue.css +0 -111
- data/docs-src/themes/hugo-theme-learn/static/css/theme-green.css +0 -111
- data/docs-src/themes/hugo-theme-learn/static/css/theme-red.css +0 -111
- data/docs-src/themes/hugo-theme-learn/static/css/theme.css +0 -1136
- data/docs-src/themes/hugo-theme-learn/static/fonts/Inconsolata.eot +0 -0
- data/docs-src/themes/hugo-theme-learn/static/fonts/Inconsolata.svg +0 -1
- data/docs-src/themes/hugo-theme-learn/static/fonts/Inconsolata.ttf +0 -0
- data/docs-src/themes/hugo-theme-learn/static/fonts/Inconsolata.woff +0 -0
- data/docs-src/themes/hugo-theme-learn/static/fonts/Novecentosanswide-Normal-webfont.eot +0 -0
- data/docs-src/themes/hugo-theme-learn/static/fonts/Novecentosanswide-Normal-webfont.svg +0 -1
- data/docs-src/themes/hugo-theme-learn/static/fonts/Novecentosanswide-Normal-webfont.ttf +0 -0
- data/docs-src/themes/hugo-theme-learn/static/fonts/Novecentosanswide-Normal-webfont.woff +0 -0
- data/docs-src/themes/hugo-theme-learn/static/fonts/Novecentosanswide-Normal-webfont.woff2 +0 -0
- data/docs-src/themes/hugo-theme-learn/static/fonts/Novecentosanswide-UltraLight-webfont.eot +0 -0
- data/docs-src/themes/hugo-theme-learn/static/fonts/Novecentosanswide-UltraLight-webfont.svg +0 -1
- data/docs-src/themes/hugo-theme-learn/static/fonts/Novecentosanswide-UltraLight-webfont.ttf +0 -0
- data/docs-src/themes/hugo-theme-learn/static/fonts/Novecentosanswide-UltraLight-webfont.woff +0 -0
- data/docs-src/themes/hugo-theme-learn/static/fonts/Novecentosanswide-UltraLight-webfont.woff2 +0 -0
- data/docs-src/themes/hugo-theme-learn/static/fonts/Work_Sans_200.eot +0 -0
- data/docs-src/themes/hugo-theme-learn/static/fonts/Work_Sans_200.svg +0 -1
- data/docs-src/themes/hugo-theme-learn/static/fonts/Work_Sans_200.ttf +0 -0
- data/docs-src/themes/hugo-theme-learn/static/fonts/Work_Sans_200.woff +0 -0
- data/docs-src/themes/hugo-theme-learn/static/fonts/Work_Sans_200.woff2 +0 -0
- data/docs-src/themes/hugo-theme-learn/static/fonts/Work_Sans_300.eot +0 -0
- data/docs-src/themes/hugo-theme-learn/static/fonts/Work_Sans_300.svg +0 -1
- data/docs-src/themes/hugo-theme-learn/static/fonts/Work_Sans_300.ttf +0 -0
- data/docs-src/themes/hugo-theme-learn/static/fonts/Work_Sans_300.woff +0 -0
- data/docs-src/themes/hugo-theme-learn/static/fonts/Work_Sans_300.woff2 +0 -0
- data/docs-src/themes/hugo-theme-learn/static/fonts/Work_Sans_500.eot +0 -0
- data/docs-src/themes/hugo-theme-learn/static/fonts/Work_Sans_500.svg +0 -1
- data/docs-src/themes/hugo-theme-learn/static/fonts/Work_Sans_500.ttf +0 -0
- data/docs-src/themes/hugo-theme-learn/static/fonts/Work_Sans_500.woff +0 -0
- data/docs-src/themes/hugo-theme-learn/static/fonts/Work_Sans_500.woff2 +0 -0
- data/docs-src/themes/hugo-theme-learn/static/images/clippy.svg +0 -1
- data/docs-src/themes/hugo-theme-learn/static/images/favicon.png +0 -0
- data/docs-src/themes/hugo-theme-learn/static/images/gopher-404.jpg +0 -0
- data/docs-src/themes/hugo-theme-learn/static/js/auto-complete.js +0 -3
- data/docs-src/themes/hugo-theme-learn/static/js/clipboard.min.js +0 -7
- data/docs-src/themes/hugo-theme-learn/static/js/featherlight.min.js +0 -9
- data/docs-src/themes/hugo-theme-learn/static/js/highlight.pack.js +0 -6
- data/docs-src/themes/hugo-theme-learn/static/js/hugo-learn.js +0 -94
- data/docs-src/themes/hugo-theme-learn/static/js/jquery-3.3.1.min.js +0 -2
- data/docs-src/themes/hugo-theme-learn/static/js/jquery.sticky.js +0 -288
- data/docs-src/themes/hugo-theme-learn/static/js/learn.js +0 -459
- data/docs-src/themes/hugo-theme-learn/static/js/lunr.min.js +0 -6
- data/docs-src/themes/hugo-theme-learn/static/js/modernizr.custom-3.6.0.js +0 -3
- data/docs-src/themes/hugo-theme-learn/static/js/perfect-scrollbar.jquery.min.js +0 -2
- data/docs-src/themes/hugo-theme-learn/static/js/perfect-scrollbar.min.js +0 -2
- data/docs-src/themes/hugo-theme-learn/static/js/search.js +0 -93
- data/docs-src/themes/hugo-theme-learn/static/mermaid/mermaid.css +0 -277
- data/docs-src/themes/hugo-theme-learn/static/mermaid/mermaid.dark.css +0 -278
- data/docs-src/themes/hugo-theme-learn/static/mermaid/mermaid.forest.css +0 -356
- data/docs-src/themes/hugo-theme-learn/static/mermaid/mermaid.js +0 -8
- data/docs-src/themes/hugo-theme-learn/static/webfonts/fa-brands-400.eot +0 -0
- data/docs-src/themes/hugo-theme-learn/static/webfonts/fa-brands-400.svg +0 -1
- data/docs-src/themes/hugo-theme-learn/static/webfonts/fa-brands-400.ttf +0 -0
- data/docs-src/themes/hugo-theme-learn/static/webfonts/fa-brands-400.woff +0 -0
- data/docs-src/themes/hugo-theme-learn/static/webfonts/fa-brands-400.woff2 +0 -0
- data/docs-src/themes/hugo-theme-learn/static/webfonts/fa-regular-400.eot +0 -0
- data/docs-src/themes/hugo-theme-learn/static/webfonts/fa-regular-400.svg +0 -1
- data/docs-src/themes/hugo-theme-learn/static/webfonts/fa-regular-400.ttf +0 -0
- data/docs-src/themes/hugo-theme-learn/static/webfonts/fa-regular-400.woff +0 -0
- data/docs-src/themes/hugo-theme-learn/static/webfonts/fa-regular-400.woff2 +0 -0
- data/docs-src/themes/hugo-theme-learn/static/webfonts/fa-solid-900.eot +0 -0
- data/docs-src/themes/hugo-theme-learn/static/webfonts/fa-solid-900.svg +0 -1
- data/docs-src/themes/hugo-theme-learn/static/webfonts/fa-solid-900.ttf +0 -0
- data/docs-src/themes/hugo-theme-learn/static/webfonts/fa-solid-900.woff +0 -0
- data/docs-src/themes/hugo-theme-learn/static/webfonts/fa-solid-900.woff2 +0 -0
- data/docs-src/themes/hugo-theme-learn/theme.toml +0 -21
- data/docs-src/themes/hugo-theme-learn/wercker.yml +0 -16
- data/lib/rbcli/configuration/configurate.rb +0 -85
- data/lib/rbcli/configuration/configurate_blocks/hooks.rb +0 -52
- data/lib/rbcli/configuration/configurate_blocks/me.rb +0 -122
- data/lib/rbcli/configuration/configurate_blocks/storage.rb +0 -50
- data/lib/rbcli/engine/command.rb +0 -251
- data/lib/rbcli/engine/load_project.rb +0 -45
- data/lib/rbcli/engine/parser.rb +0 -116
- data/lib/rbcli/features/autoupdate/common/autoupdate.rb +0 -50
- data/lib/rbcli/features/autoupdate/gem_updater.rb +0 -62
- data/lib/rbcli/features/autoupdate/github_updater.rb +0 -76
- data/lib/rbcli/features/logging.rb +0 -98
- data/lib/rbcli/features/remote_exec.rb +0 -187
- data/lib/rbcli/features/scriptwrapper.rb +0 -75
- data/lib/rbcli/features/userconfig.rb +0 -163
- data/lib/rbcli/state_storage/common/state_storage.rb +0 -138
- data/lib/rbcli/state_storage/localstate.rb +0 -77
- data/lib/rbcli/state_storage/placeholders.rb +0 -29
- data/lib/rbcli/state_storage/remote_state_connectors/dynamodb.rb +0 -272
- data/lib/rbcli/state_storage/remotestate_dynamodb.rb +0 -115
- data/lib/rbcli/util/msg.rb +0 -55
- data/lib/rbcli/util/string_colorize.rb +0 -45
- data/lib/rbcli-tool/generators.rb +0 -105
- data/lib/rbcli-tool/mdless_fix.rb +0 -406
- data/lib/rbcli-tool/project.rb +0 -120
- data/lib/rbcli-tool/util.rb +0 -70
- data/lib/rbcli-tool.rb +0 -37
- data/rbcli.gemspec +0 -73
- data/skeletons/micro/executable +0 -132
- data/skeletons/mini/executable +0 -247
- data/skeletons/project/.gitignore +0 -11
- data/skeletons/project/.rakeTasks +0 -7
- data/skeletons/project/.rbcli +0 -0
- data/skeletons/project/.rspec +0 -3
- data/skeletons/project/CODE_OF_CONDUCT.md +0 -74
- data/skeletons/project/Gemfile +0 -6
- data/skeletons/project/README.md +0 -46
- data/skeletons/project/Rakefile +0 -6
- data/skeletons/project/application/commands/command.erb +0 -28
- data/skeletons/project/application/commands/script.erb +0 -30
- data/skeletons/project/application/commands/scripts/script.sh +0 -60
- data/skeletons/project/application/options.rb +0 -34
- data/skeletons/project/config/autoupdate.rb +0 -35
- data/skeletons/project/config/general.rb +0 -17
- data/skeletons/project/config/logging.rb +0 -19
- data/skeletons/project/config/storage.rb +0 -35
- data/skeletons/project/config/userspace.rb +0 -33
- data/skeletons/project/config/version.rb +0 -3
- data/skeletons/project/exe/executable +0 -53
- data/skeletons/project/hooks/default_action.rb +0 -16
- data/skeletons/project/hooks/first_run.rb +0 -16
- data/skeletons/project/hooks/post_execution.rb +0 -14
- data/skeletons/project/hooks/pre_execution.rb +0 -14
- data/skeletons/project/lib/lib.erb +0 -9
- data/skeletons/project/spec/spec_helper.rb +0 -14
- data/skeletons/project/spec/untitled_spec.rb +0 -9
- data/skeletons/project/untitled.gemspec +0 -40
- data/skeletons/project/userconf/user_defaults.yml +0 -6
- /data/{docs-src/.hugo_build.lock → lib/rbcli/plugins/.keep} +0 -0
@@ -1,111 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="{{ .Page.Language | default "en" }}" class="js csstransforms3d">
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
{{ hugo.Generator }}
|
7
|
-
{{ partial "meta.html" . }}
|
8
|
-
{{ partial "favicon.html" . }}
|
9
|
-
<title>{{ .Title }} :: {{ .Site.Title }}</title>
|
10
|
-
|
11
|
-
{{ $assetBusting := not .Site.Params.disableAssetsBusting }}
|
12
|
-
<link href="{{"css/nucleus.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
|
13
|
-
<link href="{{"css/fontawesome-all.min.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
|
14
|
-
<link href="{{"css/hybrid.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
|
15
|
-
<link href="{{"css/featherlight.min.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
|
16
|
-
<link href="{{"css/perfect-scrollbar.min.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
|
17
|
-
<link href="{{"css/auto-complete.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
|
18
|
-
<link href="{{"css/atom-one-dark-reasonable.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
|
19
|
-
<link href="{{"css/theme.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
|
20
|
-
<link href="{{"css/hugo-theme.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
|
21
|
-
{{with .Site.Params.themeVariant}}
|
22
|
-
<link href="{{(printf "css/theme-%s.css" .) | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
|
23
|
-
{{end}}
|
24
|
-
{{ range .Site.Params.custom_css -}}
|
25
|
-
<link href="{{(printf "%s" .) | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
|
26
|
-
{{- end }}
|
27
|
-
|
28
|
-
<script src="{{"js/jquery-3.3.1.min.js"| relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}"></script>
|
29
|
-
|
30
|
-
<style>
|
31
|
-
:root #header + #content > #left > #rlblock_left{
|
32
|
-
display:none !important;
|
33
|
-
}
|
34
|
-
{{ if .Site.Params.disableInlineCopyToClipBoard }}
|
35
|
-
:not(pre) > code + span.copy-to-clipboard {
|
36
|
-
display: none;
|
37
|
-
}
|
38
|
-
{{ end }}
|
39
|
-
</style>
|
40
|
-
{{ partial "custom-header.html" . }}
|
41
|
-
</head>
|
42
|
-
<body class="" data-url="{{ .RelPermalink }}">
|
43
|
-
{{ partial "menu.html" . }}
|
44
|
-
<section id="body">
|
45
|
-
<div id="overlay"></div>
|
46
|
-
<div class="padding highlightable">
|
47
|
-
{{if not .IsHome}}
|
48
|
-
<div>
|
49
|
-
<div id="top-bar">
|
50
|
-
{{ if and (or .IsPage .IsSection) .Site.Params.editURL }}
|
51
|
-
{{ $File := .File }}
|
52
|
-
{{ $Site := .Site }}
|
53
|
-
{{with $File.Path }}
|
54
|
-
<div id="top-github-link">
|
55
|
-
<a class="github-link" title='{{T "Edit-this-page"}}' href="{{ $Site.Params.editURL }}{{ replace $File.Dir "\\" "/" }}{{ $File.LogicalName }}" target="blank">
|
56
|
-
<i class="fas fa-code-branch"></i>
|
57
|
-
<span id="top-github-link-text">{{T "Edit-this-page"}}</span>
|
58
|
-
</a>
|
59
|
-
</div>
|
60
|
-
{{ end }}
|
61
|
-
{{ end }}
|
62
|
-
{{$toc := (and (not .Params.disableToc) (not .Params.chapter))}}
|
63
|
-
<div id="breadcrumbs" itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb">
|
64
|
-
<span id="sidebar-toggle-span">
|
65
|
-
<a href="#" id="sidebar-toggle" data-sidebar-toggle="">
|
66
|
-
<i class="fas fa-bars"></i>
|
67
|
-
</a>
|
68
|
-
</span>
|
69
|
-
{{ if $toc }}
|
70
|
-
<span id="toc-menu"><i class="fas fa-list-alt"></i></span>
|
71
|
-
{{ end }}
|
72
|
-
<span class="links">
|
73
|
-
{{$showBreadcrumb := (and (not .Params.disableBreadcrumb) (not .Site.Params.disableBreadcrumb))}}
|
74
|
-
{{if $showBreadcrumb}}
|
75
|
-
{{ template "breadcrumb" dict "page" . "value" .Title }}
|
76
|
-
{{ else }}
|
77
|
-
{{ .Title }}
|
78
|
-
{{ end }}
|
79
|
-
</span>
|
80
|
-
</div>
|
81
|
-
{{ if $toc }}
|
82
|
-
{{ partial "toc.html" . }}
|
83
|
-
{{ end }}
|
84
|
-
</div>
|
85
|
-
</div>
|
86
|
-
{{ end }}
|
87
|
-
<div id="head-tags">
|
88
|
-
{{ partial "tags.html" . }}
|
89
|
-
</div>
|
90
|
-
{{ if .Params.chapter }}
|
91
|
-
<div id="chapter">
|
92
|
-
{{ end }}
|
93
|
-
<div id="body-inner">
|
94
|
-
{{if and (not .IsHome) (not .Params.chapter) }}
|
95
|
-
<h1>
|
96
|
-
{{ if eq .Kind "taxonomy" }}
|
97
|
-
{{.Kind}} ::
|
98
|
-
{{ end }}
|
99
|
-
{{.Title}}
|
100
|
-
</h1>
|
101
|
-
{{end}}
|
102
|
-
|
103
|
-
{{define "breadcrumb"}}
|
104
|
-
{{$parent := .page.Parent }}
|
105
|
-
{{ if $parent }}
|
106
|
-
{{ $value := (printf "<a href='%s'>%s</a> > %s" $parent.RelPermalink $parent.Title .value) }}
|
107
|
-
{{ template "breadcrumb" dict "page" $parent "value" $value }}
|
108
|
-
{{else}}
|
109
|
-
{{.value|safeHTML}}
|
110
|
-
{{end}}
|
111
|
-
{{end}}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
<a id="logo" href="{{ .Site.BaseURL }}">
|
2
|
-
<svg id="grav-logo" style="width:100%; height:100%;" viewBox="0 0 504 140" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">
|
3
|
-
<path d="M235.832,71.564l-7.98,-0.001c-1.213,0.001 -2.197,0.987 -2.197,2.204l0,15.327l-0.158,0.132c-4.696,3.962 -10.634,6.14 -16.719,6.14c-14.356,0 -26.034,-11.68 -26.034,-26.037c0,-14.358 11.678,-26.035 26.034,-26.035c5.582,0 10.919,1.767 15.437,5.113c0.877,0.649 2.093,0.56 2.866,-0.211l5.69,-5.69c0.444,-0.442 0.675,-1.055 0.639,-1.681c-0.034,-0.627 -0.336,-1.206 -0.828,-1.597c-6.76,-5.363 -15.214,-8.314 -23.805,-8.314c-21.18,0 -38.414,17.233 -38.414,38.415c0,21.183 17.234,38.415 38.414,38.415c10.937,0 21.397,-4.705 28.698,-12.914c0.358,-0.403 0.556,-0.921 0.556,-1.46l0,-19.603c0,-1.217 -0.985,-2.203 -2.2,-2.203"
|
4
|
-
style="fill:#000;fill-rule:nonzero;"></path>
|
5
|
-
<path d="M502.794,34.445c-0.408,-0.616 -1.1,-0.989 -1.838,-0.989l-8.684,0c-0.879,0 -1.673,0.522 -2.022,1.329l-24.483,56.839l-24.92,-56.852c-0.352,-0.799 -1.142,-1.316 -2.012,-1.316l-8.713,0c-0.744,0 -1.44,0.373 -1.843,0.995c-0.408,0.623 -0.476,1.408 -0.174,2.09l30.186,68.858c0.352,0.799 1.143,1.317 2.017,1.317l10.992,0c0.879,0 1.673,-0.527 2.021,-1.329l29.655,-68.861c0.289,-0.68 0.222,-1.461 -0.182,-2.081"
|
6
|
-
style="fill:#000;fill-rule:nonzero;"></path>
|
7
|
-
<path d="M388.683,34.772c-0.353,-0.798 -1.142,-1.316 -2.017,-1.316l-10.988,0c-0.879,0 -1.673,0.522 -2.021,1.329l-29.655,68.861c-0.294,0.675 -0.226,1.46 0.182,2.077c0.407,0.619 1.096,0.993 1.838,0.993l8.684,0c0.879,0 1.673,-0.526 2.022,-1.329l24.478,-56.842l24.92,56.854c0.353,0.798 1.143,1.317 2.013,1.317l8.717,0c0.744,0 1.44,-0.374 1.843,-0.993c0.408,-0.624 0.471,-1.41 0.174,-2.094l-30.19,-68.857Z"
|
8
|
-
style="fill:#000;fill-rule:nonzero;"></path>
|
9
|
-
<path d="M309.196,81.525l0.476,-0.229c8.675,-4.191 14.279,-13.087 14.279,-22.667c0,-13.881 -11.295,-25.174 -25.176,-25.174l-31.863,0c-1.214,0 -2.199,0.988 -2.199,2.202l0,68.855c0,1.219 0.985,2.204 2.199,2.204l7.979,0c1.214,0 2.2,-0.985 2.2,-2.204l0,-58.679l21.684,0c7.059,0 12.799,5.739 12.799,12.796c0,5.885 -3.996,10.989 -9.728,12.408c-1.032,0.261 -2.064,0.393 -3.071,0.393l-7.977,0c-0.829,0 -1.585,0.467 -1.959,1.205c-0.378,0.74 -0.305,1.625 0.187,2.296l22.62,30.884c0.412,0.566 1.07,0.901 1.771,0.901l9.915,0c0.827,0 1.587,-0.467 1.96,-1.207c0.378,-0.742 0.302,-1.629 -0.186,-2.296l-15.91,-21.688Z"
|
10
|
-
style="fill:#000;fill-rule:nonzero;"></path>
|
11
|
-
<path d="M107.191,80.969c-7.255,-4.794 -11.4,-8.845 -15.011,-16.109c-2.47,4.977 -8.236,12.376 -17.962,18.198c-4.856,15.106 -27.954,44.015 -35.43,39.916c-2.213,-1.212 -2.633,-2.808 -2.133,-4.456c0.536,-4.129 9.078,-13.62 9.078,-13.62c0,0 0.18,1.992 2.913,6.187c-3.609,-11.205 5.965,-25.031 8.5,-29.738c3.985,-1.269 4.274,-6.387 4.274,-6.387c0.255,-7.909 -3.278,-13.635 -6.701,-17.059c2.459,3.002 3.255,7.539 3.372,11.694l0,0.023c0.012,0.469 0.012,0.93 0.011,1.39c-0.117,3.439 -1.157,8.19 -3.383,8.19l0.006,0.03c-2.289,-0.098 -5.115,0.391 -7.639,1.18l-5.582,1.334c0,0 2.977,-0.136 4.584,1.252c-1.79,2.915 -5.769,6.533 -10.206,8.588c-6.457,2.995 -8.312,-2.964 -5.034,-6.838c0.805,-0.946 1.618,-1.745 2.387,-2.399c-0.495,-0.513 -0.807,-1.198 -0.889,-2.068c-0.001,-0.005 -0.004,-0.009 -0.005,-0.013c-0.45,-1.977 -0.202,-4.543 2.596,-8.623c0.551,-0.863 1.214,-1.748 2.007,-2.647c0.025,-0.031 0.046,-0.059 0.072,-0.089c0.034,-0.042 0.072,-0.08 0.108,-0.121c0.02,-0.023 0.039,-0.045 0.059,-0.068c0.2,-0.228 0.413,-0.45 0.639,-0.663c3.334,-3.414 8.599,-6.966 16.897,-10.152c9.675,-14.223 13.219,-16.89 13.219,-16.89c1.071,-1.096 2.943,-2.458 3.632,-2.805c-5.053,-8.781 -6.074,-21.158 -4.75,-24.493c-0.107,0.18 -0.206,0.365 -0.287,0.556c0.49,-1.143 0.819,-1.509 1.328,-2.111c1.381,-1.632 6.058,-2.488 7.737,0.971c0.895,1.844 1.063,4.232 1.034,6.023c-3.704,-0.193 -7.063,4.036 -7.063,4.036c0,0 3.067,-1.448 6.879,-1.473c0,0 1.015,0.883 2.283,2.542c-1.712,3.213 -4.524,10.021 -2.488,17.168c0.338,1.408 0.849,2.619 1.483,3.648c0.024,0.045 0.044,0.089 0.069,0.135c0.051,0.066 0.096,0.122 0.144,0.183c3.368,5.072 9.542,5.665 9.542,5.665c-2.906,-1.45 -5.274,-3.76 -6.816,-6.56c-0.8,-1.498 -1.291,-2.762 -1.592,-3.761c-1.636,-6.313 0.771,-9.999 2.149,-12.471c3.17,-4.917 8.944,-7.893 15.151,-7.185c8.712,0.995 14.968,8.862 13.973,17.571c-0.608,5.321 -3.781,9.723 -8.142,12.117c1.049,2.839 -0.073,6.28 -0.073,6.28c2.642,3.323 2.758,5.238 2.667,7.017c-3.357,-0.565 -6.618,1.701 -6.618,1.701c0,0 6.476,-1.546 10.238,1.81c2.446,2.631 4.078,5.009 5.051,6.766c1.393,2.505 7.859,2.683 7.123,7.188c-0.737,4.499 -5.669,4.542 -13.401,-0.56M69.571,0c-38.424,0 -69.571,31.148 -69.571,69.567c0,38.422 31.147,69.573 69.571,69.573c38.42,0 69.568,-31.151 69.568,-69.573c0,-38.42 -31.148,-69.567 -69.568,-69.567"
|
12
|
-
style="fill:#000;fill-rule:nonzero;"></path>
|
13
|
-
<path d="M73.796,51.693c0.813,-0.814 0.813,-2.134 0,-2.947c-0.815,-0.814 -2.133,-0.814 -2.947,0c-0.815,0.813 -0.815,2.133 0,2.947c0.814,0.813 2.132,0.813 2.947,0" style="fill:#000;fill-rule:nonzero;"></path>
|
14
|
-
<path d="M66.445,53.149c-0.814,0.813 -0.814,2.133 0,2.947c0.813,0.814 2.133,0.814 2.947,0c0.813,-0.814 0.813,-2.134 0,-2.947c-0.814,-0.813 -2.134,-0.813 -2.947,0" style="fill:#000;fill-rule:nonzero;"></path>
|
15
|
-
<path d="M79.231,54.233c-1.274,-1.274 -3.339,-1.272 -4.611,0l-2.713,2.712c-1.274,1.275 -1.274,3.339 0,4.612l2.978,2.978c1.274,1.275 3.338,1.274 4.611,0l2.712,-2.712c1.274,-1.274 1.274,-3.339 0,-4.612l-2.977,-2.978Z" style="fill:#000;fill-rule:nonzero;"></path>
|
16
|
-
<path d="M95.759,41.445c-2.151,-2.578 1.869,-7.257 4.391,-4.463c4.645,5.148 -2.237,7.041 -4.391,4.463M105.004,44.132c3.442,-6.553 -1.427,-10.381 -4.773,-13.523c-5.36,-5.039 -10.706,-7.217 -16.811,-0.241c-6.102,6.977 -2.226,15.068 3.356,19.061c5.584,3.994 14.782,1.255 18.228,-5.297"
|
17
|
-
style="fill:#000;fill-rule:nonzero;"></path>
|
18
|
-
</svg>
|
19
|
-
</a>
|
@@ -1 +0,0 @@
|
|
1
|
-
<p>Built with <a href="https://github.com/matcornic/hugo-theme-learn"><i class="fas fa-heart"></i></a> from <a href="https://getgrav.org">Grav</a> and <a href="https://gohugo.io/">Hugo</a></p>
|
@@ -1,151 +0,0 @@
|
|
1
|
-
<nav id="sidebar" class="{{if $.Site.Params.showVisitedLinks }}showVisitedLinks{{end}}">
|
2
|
-
|
3
|
-
{{ $currentNode := . }}
|
4
|
-
{{ $showvisitedlinks := .Site.Params.showVisitedLinks }}
|
5
|
-
<div id="header-wrapper">
|
6
|
-
<div id="header">
|
7
|
-
{{ partial "logo.html" . }}
|
8
|
-
</div>
|
9
|
-
{{if not .Site.Params.disableSearch}}
|
10
|
-
{{ partial "search.html" . }}
|
11
|
-
{{end}}
|
12
|
-
</div>
|
13
|
-
|
14
|
-
<div class="highlightable">
|
15
|
-
<ul class="topics">
|
16
|
-
|
17
|
-
{{if eq .Site.Params.ordersectionsby "title"}}
|
18
|
-
{{range .Site.Home.Sections.ByTitle}}
|
19
|
-
{{ template "section-tree-nav" dict "sect" . "currentnode" $currentNode "showvisitedlinks" $showvisitedlinks}}
|
20
|
-
{{end}}
|
21
|
-
{{else}}
|
22
|
-
{{range .Site.Home.Sections.ByWeight}}
|
23
|
-
{{ template "section-tree-nav" dict "sect" . "currentnode" $currentNode "showvisitedlinks" $showvisitedlinks}}
|
24
|
-
{{end}}
|
25
|
-
{{end}}
|
26
|
-
</ul>
|
27
|
-
|
28
|
-
{{ $disableShortcutsTitle := .Site.Params.DisableShortcutsTitle}}
|
29
|
-
{{with .Site.Menus.shortcuts}}
|
30
|
-
<section id="shortcuts">
|
31
|
-
<h3>{{ if not $disableShortcutsTitle}}{{ T "Shortcuts-Title"}}{{ end }}</h3>
|
32
|
-
<ul>
|
33
|
-
{{ range sort . "Weight"}}
|
34
|
-
<li>
|
35
|
-
{{.Pre}}<a class="padding" href="{{.URL | absLangURL }}">{{safeHTML .Name}}</a>{{.Post}}
|
36
|
-
</li>
|
37
|
-
{{end}}
|
38
|
-
</ul>
|
39
|
-
</section>
|
40
|
-
{{end}}
|
41
|
-
|
42
|
-
{{ if or .Site.IsMultiLingual $showvisitedlinks }}
|
43
|
-
<section id="prefooter">
|
44
|
-
<hr/>
|
45
|
-
<ul>
|
46
|
-
{{ if and .Site.IsMultiLingual (not .Site.Params.DisableLanguageSwitchingButton)}}
|
47
|
-
<li>
|
48
|
-
<a class="padding">
|
49
|
-
<i class="fas fa-language fa-fw"></i>
|
50
|
-
<div class="select-style">
|
51
|
-
<select id="select-language" onchange="location = this.value;">
|
52
|
-
{{ $siteLanguages := .Site.Languages}}
|
53
|
-
{{ $pageLang := .Page.Lang}}
|
54
|
-
{{ range .Page.AllTranslations }}
|
55
|
-
{{ $translation := .}}
|
56
|
-
{{ range $siteLanguages }}
|
57
|
-
{{ if eq $translation.Lang .Lang }}
|
58
|
-
{{ $selected := false }}
|
59
|
-
{{ if eq $pageLang .Lang}}
|
60
|
-
<option id="{{ $translation.Language }}" value="{{ $translation.Permalink }}" selected>{{ .LanguageName }}</option>
|
61
|
-
{{ else }}
|
62
|
-
<option id="{{ $translation.Language }}" value="{{ $translation.Permalink }}">{{ .LanguageName }}</option>
|
63
|
-
{{ end }}
|
64
|
-
{{ end }}
|
65
|
-
{{ end }}
|
66
|
-
{{ end }}
|
67
|
-
</select>
|
68
|
-
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
69
|
-
width="255px" height="255px" viewBox="0 0 255 255" style="enable-background:new 0 0 255 255;" xml:space="preserve">
|
70
|
-
<g>
|
71
|
-
<g id="arrow-drop-down">
|
72
|
-
<polygon points="0,63.75 127.5,191.25 255,63.75 " />
|
73
|
-
</g>
|
74
|
-
</g>
|
75
|
-
</svg>
|
76
|
-
</div>
|
77
|
-
</a>
|
78
|
-
</li>
|
79
|
-
{{end}}
|
80
|
-
|
81
|
-
{{ if $showvisitedlinks}}
|
82
|
-
<li><a class="padding" href="#" data-clear-history-toggle=""><i class="fas fa-history fa-fw"></i> {{T "Clear-History"}}</a></li>
|
83
|
-
{{ end }}
|
84
|
-
</ul>
|
85
|
-
</section>
|
86
|
-
{{ end }}
|
87
|
-
<section id="footer">
|
88
|
-
{{ partial "menu-footer.html" . }}
|
89
|
-
</section>
|
90
|
-
</div>
|
91
|
-
</nav>
|
92
|
-
|
93
|
-
<!-- templates -->
|
94
|
-
{{ define "section-tree-nav" }}
|
95
|
-
{{ $showvisitedlinks := .showvisitedlinks }}
|
96
|
-
{{ $currentNode := .currentnode }}
|
97
|
-
{{ $currentFileUniqueID := "" }}
|
98
|
-
{{ with $currentNode.File }}{{ $currentFileUniqueID = .UniqueID }}{{ end }}
|
99
|
-
{{with .sect}}
|
100
|
-
{{if and .IsSection (or (not .Params.hidden) $.showhidden)}}
|
101
|
-
{{safeHTML .Params.head}}
|
102
|
-
<li data-nav-id="{{.RelPermalink}}" title="{{.Title}}" class="dd-item
|
103
|
-
{{if .IsAncestor $currentNode }}parent{{end}}
|
104
|
-
{{if eq .File.UniqueID $currentFileUniqueID}}active{{end}}
|
105
|
-
{{if .Params.alwaysopen}}parent{{end}}
|
106
|
-
">
|
107
|
-
<a href="{{.RelPermalink}}">
|
108
|
-
{{safeHTML .Params.Pre}}{{or .Params.menuTitle .LinkTitle .Title}}{{safeHTML .Params.Post}}
|
109
|
-
{{ if $showvisitedlinks}}
|
110
|
-
<i class="fas fa-check read-icon"></i>
|
111
|
-
{{ end }}
|
112
|
-
</a>
|
113
|
-
{{ $numberOfPages := (add (len .Pages) (len .Sections)) }}
|
114
|
-
{{ if ne $numberOfPages 0 }}
|
115
|
-
<ul>
|
116
|
-
{{ $currentNode.Scratch.Set "pages" .Pages }}
|
117
|
-
{{ if .Sections}}
|
118
|
-
{{ $currentNode.Scratch.Set "pages" (.Pages | union .Sections) }}
|
119
|
-
{{end}}
|
120
|
-
{{ $pages := ($currentNode.Scratch.Get "pages") }}
|
121
|
-
|
122
|
-
{{if eq .Site.Params.ordersectionsby "title"}}
|
123
|
-
{{ range $pages.ByTitle }}
|
124
|
-
{{ if and .Params.hidden (not $.showhidden) }}
|
125
|
-
{{else}}
|
126
|
-
{{ template "section-tree-nav" dict "sect" . "currentnode" $currentNode "showvisitedlinks" $showvisitedlinks }}
|
127
|
-
{{end}}
|
128
|
-
{{ end }}
|
129
|
-
{{else}}
|
130
|
-
{{ range $pages.ByWeight }}
|
131
|
-
{{ if and .Params.hidden (not $.showhidden) }}
|
132
|
-
{{else}}
|
133
|
-
{{ template "section-tree-nav" dict "sect" . "currentnode" $currentNode "showvisitedlinks" $showvisitedlinks }}
|
134
|
-
{{end}}
|
135
|
-
{{ end }}
|
136
|
-
{{end}}
|
137
|
-
</ul>
|
138
|
-
{{ end }}
|
139
|
-
</li>
|
140
|
-
{{else}}
|
141
|
-
{{ if not .Params.Hidden }}
|
142
|
-
<li data-nav-id="{{.RelPermalink}}" title="{{.Title}}" class="dd-item {{if eq .File.UniqueID $currentFileUniqueID}}active{{end}}">
|
143
|
-
<a href="{{ .RelPermalink}}">
|
144
|
-
{{safeHTML .Params.Pre}}{{or .Params.menuTitle .LinkTitle .Title}}{{safeHTML .Params.Post}}
|
145
|
-
{{ if $showvisitedlinks}}<i class="fas fa-check read-icon"></i>{{end}}
|
146
|
-
</a>
|
147
|
-
</li>
|
148
|
-
{{ end }}
|
149
|
-
{{end}}
|
150
|
-
{{ end }}
|
151
|
-
{{ end }}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
<div class="searchbox">
|
2
|
-
<label for="search-by"><i class="fas fa-search"></i></label>
|
3
|
-
<input data-search-input id="search-by" type="search" placeholder="{{T "Search-placeholder"}}">
|
4
|
-
<span data-search-clear=""><i class="fas fa-times"></i></span>
|
5
|
-
</div>
|
6
|
-
{{ $assetBusting := not .Site.Params.disableAssetsBusting }}
|
7
|
-
<script type="text/javascript" src="{{"js/lunr.min.js" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}"></script>
|
8
|
-
<script type="text/javascript" src="{{"js/auto-complete.js" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}"></script>
|
9
|
-
<script type="text/javascript">
|
10
|
-
{{ if .Site.IsMultiLingual }}
|
11
|
-
var baseurl = "{{.Site.BaseURL}}{{.Site.LanguagePrefix}}";
|
12
|
-
{{ else }}
|
13
|
-
var baseurl = "{{.Site.BaseURL}}";
|
14
|
-
{{ end }}
|
15
|
-
</script>
|
16
|
-
<script type="text/javascript" src="{{"js/search.js" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}"></script>
|
@@ -1,36 +0,0 @@
|
|
1
|
-
{{ $_hugo_config := `{ "version": 1 }` }}
|
2
|
-
<section class="attachments {{ with .Get "style"}}{{.}}{{ end }}">
|
3
|
-
<label>
|
4
|
-
<i class="fas fa-paperclip" aria-hidden="true"></i>
|
5
|
-
{{with .Get "title"}}{{.}}{{else}}{{T "Attachments-label"}}{{end}}
|
6
|
-
</label>
|
7
|
-
{{if eq .Page.File.BaseFileName "index"}}
|
8
|
-
{{$.Scratch.Add "filesName" "files"}}
|
9
|
-
{{else}}
|
10
|
-
{{$.Scratch.Add "filesName" (printf "%s.files" .Page.File.BaseFileName)}}
|
11
|
-
{{end}}
|
12
|
-
<div class="attachments-files">
|
13
|
-
{{ range (readDir (printf "./content/%s%s" .Page.File.Dir ($.Scratch.Get "filesName")) ) }}
|
14
|
-
{{ $fileDir := replace $.Page.File.Dir "\\" "/" }}
|
15
|
-
{{if ($.Get "pattern")}}
|
16
|
-
{{if (findRE ($.Get "pattern") .Name)}}
|
17
|
-
<li>
|
18
|
-
<a href="{{ (printf "%s%s/%s" $fileDir ($.Scratch.Get "filesName") .Name) | relURL }}" >
|
19
|
-
{{.Name}}
|
20
|
-
</a>
|
21
|
-
({{div .Size 1024 }} ko)
|
22
|
-
</li>
|
23
|
-
{{end}}
|
24
|
-
{{else}}
|
25
|
-
<li>
|
26
|
-
<a href="{{ (printf "%s%s/%s" $fileDir ($.Scratch.Get "filesName") .Name) | relURL }}" >
|
27
|
-
{{.Name}}
|
28
|
-
</a>
|
29
|
-
({{div .Size 1024 }} ko)
|
30
|
-
</li>
|
31
|
-
{{end}}
|
32
|
-
{{end}}
|
33
|
-
<div>
|
34
|
-
{{.Inner}}
|
35
|
-
</section>
|
36
|
-
|
@@ -1,14 +0,0 @@
|
|
1
|
-
{{ $_hugo_config := `{ "version": 1 }` }}
|
2
|
-
<a {{ with .Get "href"}} href="{{.}}" target="_blank" {{ end }} class="btn btn-default">
|
3
|
-
{{ $icon := .Get "icon" }}
|
4
|
-
{{ $iconposition := .Get "icon-position" }}
|
5
|
-
{{ if ($icon) }}
|
6
|
-
{{ if or (not ($iconposition)) (eq $iconposition "left") }}
|
7
|
-
<i class="{{$icon}}"></i>
|
8
|
-
{{ end }}
|
9
|
-
{{ end }}
|
10
|
-
{{ .Inner }}
|
11
|
-
{{ if and ($icon) (eq $iconposition "right")}}
|
12
|
-
<i class="{{$icon}}"></i>
|
13
|
-
{{ end }}
|
14
|
-
</a>
|
@@ -1,101 +0,0 @@
|
|
1
|
-
{{ $_hugo_config := `{ "version": 1 }` }}
|
2
|
-
{{ $showhidden := .Get "showhidden"}}
|
3
|
-
{{ $style := .Get "style" | default "li" }}
|
4
|
-
{{ $depth := .Get "depth" | default 1 }}
|
5
|
-
{{ $withDescription := .Get "description" | default false }}
|
6
|
-
{{ $sortTerm := .Get "sort" | default "Weight" }}
|
7
|
-
|
8
|
-
<ul class="children children-{{$style}}">
|
9
|
-
{{ .Scratch.Set "pages" .Page.Pages }}
|
10
|
-
|
11
|
-
{{if .Page.IsHome}}
|
12
|
-
<!-- Add pages that are in root dir -->
|
13
|
-
{{ $rootPage := where .Page.Pages "Dir" "" }}
|
14
|
-
{{ .Scratch.Set "pages" (.Page.Sections | union $rootPage)}}
|
15
|
-
{{else}}
|
16
|
-
{{ if .Page.Sections}}
|
17
|
-
{{ .Scratch.Set "pages" (.Page.Pages | union .Page.Sections) }}
|
18
|
-
{{end}}
|
19
|
-
{{end}}
|
20
|
-
|
21
|
-
{{ $pages := (.Scratch.Get "pages") }}
|
22
|
-
|
23
|
-
{{if eq $sortTerm "Weight"}}
|
24
|
-
{{template "childs" dict "menu" $pages.ByWeight "style" $style "showhidden" $showhidden "count" 1 "depth" $depth "pages" .Site.Pages "description" $withDescription "sortTerm" $sortTerm}}
|
25
|
-
{{else if eq $sortTerm "Name"}}
|
26
|
-
{{template "childs" dict "menu" $pages.ByTitle "style" $style "showhidden" $showhidden "count" 1 "depth" $depth "pages" .Site.Pages "description" $withDescription "sortTerm" $sortTerm}}
|
27
|
-
{{else if eq $sortTerm "PublishDate"}}
|
28
|
-
{{template "childs" dict "menu" $pages.ByPublishDate "style" $style "showhidden" $showhidden "count" 1 "depth" $depth "pages" .Site.Pages "description" $withDescription "sortTerm" $sortTerm}}
|
29
|
-
{{else if eq $sortTerm "Date"}}
|
30
|
-
{{template "childs" dict "menu" $pages.ByDate "style" $style "showhidden" $showhidden "count" 1 "depth" $depth "pages" .Site.Pages "description" $withDescription "sortTerm" $sortTerm}}
|
31
|
-
{{else if eq $sortTerm "Length"}}
|
32
|
-
{{template "childs" dict "menu" $pages.ByLength "style" $style "showhidden" $showhidden "count" 1 "depth" $depth "pages" .Site.Pages "description" $withDescription "sortTerm" $sortTerm}}
|
33
|
-
{{else}}
|
34
|
-
{{template "childs" dict "menu" $pages "style" $style "showhidden" $showhidden "count" 1 "depth" $depth "pages" .Site.Pages "description" $withDescription "sortTerm" $sortTerm}}
|
35
|
-
{{end}}
|
36
|
-
</ul>
|
37
|
-
|
38
|
-
{{.Inner|safeHTML}}
|
39
|
-
|
40
|
-
{{ define "childs" }}
|
41
|
-
{{ range .menu }}
|
42
|
-
{{ if and .Params.hidden (not $.showhidden) }}
|
43
|
-
{{else}}
|
44
|
-
{{if not .IsHome}}
|
45
|
-
{{if hasPrefix $.style "h"}}
|
46
|
-
{{$num := sub ( int (trim $.style "h") ) 1 }}
|
47
|
-
{{$numn := add $num $.count }}
|
48
|
-
|
49
|
-
{{(printf "<h%d>" $numn)|safeHTML}}
|
50
|
-
<a href="{{.RelPermalink}}" >{{ .Title }}</a>
|
51
|
-
{{(printf "</h%d>" $numn)|safeHTML}}
|
52
|
-
|
53
|
-
{{else}}
|
54
|
-
{{(printf "<%s>" $.style)|safeHTML}}
|
55
|
-
<a href="{{.RelPermalink}}" >{{ .Title }}</a>
|
56
|
-
{{(printf "</%s>" $.style)|safeHTML}}
|
57
|
-
{{end}}
|
58
|
-
|
59
|
-
{{if $.description}}
|
60
|
-
{{if .Description}}
|
61
|
-
<p>{{.Description}}</p>
|
62
|
-
{{else}}
|
63
|
-
<p>{{.Summary}}</p>
|
64
|
-
{{end}}
|
65
|
-
{{end}}
|
66
|
-
{{end}}
|
67
|
-
{{ if lt $.count $.depth}}
|
68
|
-
|
69
|
-
{{if eq $.style "li"}}
|
70
|
-
<ul>
|
71
|
-
{{end}}
|
72
|
-
|
73
|
-
{{ if .Sections}}
|
74
|
-
{{ .Scratch.Set "pages" (.Pages | union .Sections) }}
|
75
|
-
{{else}}
|
76
|
-
{{ .Scratch.Set "pages" .Pages }}
|
77
|
-
{{end}}
|
78
|
-
|
79
|
-
{{ $pages := (.Scratch.Get "pages") }}
|
80
|
-
|
81
|
-
{{if eq $.sortTerm "Weight"}}
|
82
|
-
{{template "childs" dict "menu" $pages.ByWeight "style" $.style "showhidden" $.showhidden "count" (add $.count 1) "depth" $.depth "pages" $.pages "description" $.description "sortTerm" $.sortTerm}}
|
83
|
-
{{else if eq $.sortTerm "Name"}}
|
84
|
-
{{template "childs" dict "menu" $pages.ByTitle "style" $.style "showhidden" $.showhidden "count" (add $.count 1) "depth" $.depth "pages" $.pages "description" $.description "sortTerm" $.sortTerm}}
|
85
|
-
{{else if eq $.sortTerm "PublishDate"}}
|
86
|
-
{{template "childs" dict "menu" $pages.ByPublishDate "style" $.style "showhidden" $.showhidden "count" (add $.count 1) "depth" $.depth "pages" $.pages "description" $.description "sortTerm" $.sortTerm}}
|
87
|
-
{{else if eq $.sortTerm "Date"}}
|
88
|
-
{{template "childs" dict "menu" $pages.ByDate "style" $.style "showhidden" $.showhidden "count" (add $.count 1) "depth" $.depth "pages" $.pages "description" $.description "sortTerm" $.sortTerm}}
|
89
|
-
{{else if eq $.sortTerm "Length"}}
|
90
|
-
{{template "childs" dict "menu" $pages.ByLength "style" $.style "showhidden" $.showhidden "count" (add $.count 1) "depth" $.depth "pages" $.pages "description" $.description "sortTerm" $.sortTerm}}
|
91
|
-
{{else}}
|
92
|
-
{{template "childs" dict "menu" $pages "style" $.style "showhidden" $.showhidden "count" (add $.count 1) "depth" $.depth "pages" $.pages "description" $.description "sortTerm" $.sortTerm}}
|
93
|
-
{{end}}
|
94
|
-
|
95
|
-
{{if eq $.style "li"}}
|
96
|
-
</ul>
|
97
|
-
{{end}}
|
98
|
-
{{end}}
|
99
|
-
{{end}}
|
100
|
-
{{end}}
|
101
|
-
{{end}}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
{{ $_hugo_config := `{ "version": 1 }` }}
|
2
|
-
<div class="expand">
|
3
|
-
<div class="expand-label" style="cursor: pointer;" onclick="$h = $(this);$h.next('div').slideToggle(100,function () {$h.children('i').attr('class',function () {return $h.next('div').is(':visible') ? 'fas fa-chevron-down' : 'fas fa-chevron-right';});});">
|
4
|
-
<i style="font-size:x-small;" class="fas fa-chevron-right"></i>
|
5
|
-
<span>
|
6
|
-
{{$expandMessage := T "Expand-title"}}
|
7
|
-
{{ if .IsNamedParams }}
|
8
|
-
{{.Get "default" | default $expandMessage}}
|
9
|
-
{{else}}
|
10
|
-
{{.Get 0 | default $expandMessage}}
|
11
|
-
{{end}}
|
12
|
-
</span>
|
13
|
-
</div>
|
14
|
-
<div class="expand-content" style="display: none;">
|
15
|
-
{{.Inner | safeHTML}}
|
16
|
-
</div>
|
17
|
-
</div>
|
@@ -1,14 +0,0 @@
|
|
1
|
-
{{- if in (.Get 0) "/_index.md" -}}
|
2
|
-
{{- $paths := (split (.Get 0) "_index.md") -}}
|
3
|
-
{{- $pagepath := index $paths 0 -}}
|
4
|
-
{{- $anchor := index $paths 1 -}}
|
5
|
-
{{- with .Site.GetPage "section" (trim $pagepath "/") -}}
|
6
|
-
{{- ( printf "%s%s" $pagepath $anchor ) | relLangURL -}}
|
7
|
-
{{- end -}}
|
8
|
-
{{- else -}}
|
9
|
-
{{- with .Site.GetPage "section" (.Get 0) }}
|
10
|
-
{{- .RelPermalink -}}
|
11
|
-
{{- else -}}
|
12
|
-
{{- .Get 0 | relref .Page -}}
|
13
|
-
{{- end -}}
|
14
|
-
{{- end -}}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
{{- if in (.Get 0) "/_index.md" -}}
|
2
|
-
{{- $paths := (split (.Get 0) "_index.md") -}}
|
3
|
-
{{- $pagepath := index $paths 0 -}}
|
4
|
-
{{- $anchor := index $paths 1 -}}
|
5
|
-
{{- with .Site.GetPage "section" (trim $pagepath "/") -}}
|
6
|
-
{{- ( printf "%s%s" $pagepath $anchor ) | relLangURL -}}
|
7
|
-
{{- end -}}
|
8
|
-
{{- else -}}
|
9
|
-
{{- with .Site.GetPage "section" (.Get 0) }}
|
10
|
-
{{- .RelPermalink -}}
|
11
|
-
{{- else -}}
|
12
|
-
{{- .Get 0 | relref .Page -}}
|
13
|
-
{{- end -}}
|
14
|
-
{{- end -}}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
[build]
|
2
|
-
publish = "exampleSite/public"
|
3
|
-
command = "hugo -s exampleSite"
|
4
|
-
|
5
|
-
[build.environment]
|
6
|
-
HUGO_THEME = "repo"
|
7
|
-
HUGO_THEMESDIR = "/opt/build"
|
8
|
-
HUGO_VERSION = "0.72.0"
|
9
|
-
|
10
|
-
[context.production.environment]
|
11
|
-
HUGO_BASEURL = "https://learn.netlify.com/"
|
12
|
-
|
13
|
-
[context.deploy-preview]
|
14
|
-
command = "hugo -s exampleSite -b $DEPLOY_PRIME_URL"
|
15
|
-
|
16
|
-
[context.deploy-preview.environment]
|
17
|
-
HUGO_ENABLEGITINFO = "true"
|
18
|
-
|
19
|
-
[context.branch-deplpy]
|
20
|
-
command = "hugo -s exampleSite -b $DEPLOY_PRIME_URL"
|
21
|
-
|
22
|
-
[context.branch-deploy.environment]
|
23
|
-
HUGO_ENABLEGITINFO = "true"
|
@@ -1,77 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
|
3
|
-
Atom One Dark With support for ReasonML by Gidi Morris, based off work by Daniel Gamage
|
4
|
-
|
5
|
-
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
|
6
|
-
|
7
|
-
*/
|
8
|
-
.hljs {
|
9
|
-
display: block;
|
10
|
-
overflow-x: auto;
|
11
|
-
padding: 0.5em;
|
12
|
-
line-height: 1.3em;
|
13
|
-
color: #abb2bf;
|
14
|
-
background: #282c34;
|
15
|
-
border-radius: 5px;
|
16
|
-
}
|
17
|
-
.hljs-keyword, .hljs-operator {
|
18
|
-
color: #F92672;
|
19
|
-
}
|
20
|
-
.hljs-pattern-match {
|
21
|
-
color: #F92672;
|
22
|
-
}
|
23
|
-
.hljs-pattern-match .hljs-constructor {
|
24
|
-
color: #61aeee;
|
25
|
-
}
|
26
|
-
.hljs-function {
|
27
|
-
color: #61aeee;
|
28
|
-
}
|
29
|
-
.hljs-function .hljs-params {
|
30
|
-
color: #A6E22E;
|
31
|
-
}
|
32
|
-
.hljs-function .hljs-params .hljs-typing {
|
33
|
-
color: #FD971F;
|
34
|
-
}
|
35
|
-
.hljs-module-access .hljs-module {
|
36
|
-
color: #7e57c2;
|
37
|
-
}
|
38
|
-
.hljs-constructor {
|
39
|
-
color: #e2b93d;
|
40
|
-
}
|
41
|
-
.hljs-constructor .hljs-string {
|
42
|
-
color: #9CCC65;
|
43
|
-
}
|
44
|
-
.hljs-comment, .hljs-quote {
|
45
|
-
color: #b18eb1;
|
46
|
-
font-style: italic;
|
47
|
-
}
|
48
|
-
.hljs-doctag, .hljs-formula {
|
49
|
-
color: #c678dd;
|
50
|
-
}
|
51
|
-
.hljs-section, .hljs-name, .hljs-selector-tag, .hljs-deletion, .hljs-subst {
|
52
|
-
color: #e06c75;
|
53
|
-
}
|
54
|
-
.hljs-literal {
|
55
|
-
color: #56b6c2;
|
56
|
-
}
|
57
|
-
.hljs-string, .hljs-regexp, .hljs-addition, .hljs-attribute, .hljs-meta-string {
|
58
|
-
color: #98c379;
|
59
|
-
}
|
60
|
-
.hljs-built_in, .hljs-class .hljs-title {
|
61
|
-
color: #e6c07b;
|
62
|
-
}
|
63
|
-
.hljs-attr, .hljs-variable, .hljs-template-variable, .hljs-type, .hljs-selector-class, .hljs-selector-attr, .hljs-selector-pseudo, .hljs-number {
|
64
|
-
color: #d19a66;
|
65
|
-
}
|
66
|
-
.hljs-symbol, .hljs-bullet, .hljs-link, .hljs-meta, .hljs-selector-id, .hljs-title {
|
67
|
-
color: #61aeee;
|
68
|
-
}
|
69
|
-
.hljs-emphasis {
|
70
|
-
font-style: italic;
|
71
|
-
}
|
72
|
-
.hljs-strong {
|
73
|
-
font-weight: bold;
|
74
|
-
}
|
75
|
-
.hljs-link {
|
76
|
-
text-decoration: underline;
|
77
|
-
}
|