diff --git a/.gitignore b/.gitignore index dfb45f682..14d46b39e 100644 --- a/.gitignore +++ b/.gitignore @@ -37,6 +37,11 @@ debug .vscode *.diff -_site/ +# Jekyll compiled data +site/_site +site/.sass-cache +site/.jekyll +site/.jekyll-metadata +site/.bundle .vs diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 000000000..056f4a49b --- /dev/null +++ b/netlify.toml @@ -0,0 +1,4 @@ +[build] + base = "site/" + command = "jekyll build" + publish = "site/_site" diff --git a/site/Gemfile b/site/Gemfile new file mode 100644 index 000000000..3a1ebf306 --- /dev/null +++ b/site/Gemfile @@ -0,0 +1,2 @@ +source 'https://rubygems.org' +gem 'github-pages' \ No newline at end of file diff --git a/site/Gemfile.lock b/site/Gemfile.lock new file mode 100644 index 000000000..8bbd2d243 --- /dev/null +++ b/site/Gemfile.lock @@ -0,0 +1,248 @@ +GEM + remote: https://rubygems.org/ + specs: + activesupport (4.2.10) + i18n (~> 0.7) + minitest (~> 5.1) + thread_safe (~> 0.3, >= 0.3.4) + tzinfo (~> 1.1) + addressable (2.5.2) + public_suffix (>= 2.0.2, < 4.0) + coffee-script (2.4.1) + coffee-script-source + execjs + coffee-script-source (1.11.1) + colorator (1.1.0) + commonmarker (0.17.13) + ruby-enum (~> 0.5) + concurrent-ruby (1.1.3) + dnsruby (1.61.2) + addressable (~> 2.5) + em-websocket (0.5.1) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0.6.0) + ethon (0.11.0) + ffi (>= 1.3.0) + eventmachine (1.2.7) + execjs (2.7.0) + faraday (0.15.3) + multipart-post (>= 1.2, < 3) + ffi (1.9.25) + forwardable-extended (2.6.0) + gemoji (3.0.0) + github-pages (192) + activesupport (= 4.2.10) + github-pages-health-check (= 1.8.1) + jekyll (= 3.7.4) + jekyll-avatar (= 0.6.0) + jekyll-coffeescript (= 1.1.1) + jekyll-commonmark-ghpages (= 0.1.5) + jekyll-default-layout (= 0.1.4) + jekyll-feed (= 0.10.0) + jekyll-gist (= 1.5.0) + jekyll-github-metadata (= 2.9.4) + jekyll-mentions (= 1.4.1) + jekyll-optional-front-matter (= 0.3.0) + jekyll-paginate (= 1.1.0) + jekyll-readme-index (= 0.2.0) + jekyll-redirect-from (= 0.14.0) + jekyll-relative-links (= 0.5.3) + jekyll-remote-theme (= 0.3.1) + jekyll-sass-converter (= 1.5.2) + jekyll-seo-tag (= 2.5.0) + jekyll-sitemap (= 1.2.0) + jekyll-swiss (= 0.4.0) + jekyll-theme-architect (= 0.1.1) + jekyll-theme-cayman (= 0.1.1) + jekyll-theme-dinky (= 0.1.1) + jekyll-theme-hacker (= 0.1.1) + jekyll-theme-leap-day (= 0.1.1) + jekyll-theme-merlot (= 0.1.1) + jekyll-theme-midnight (= 0.1.1) + jekyll-theme-minimal (= 0.1.1) + jekyll-theme-modernist (= 0.1.1) + jekyll-theme-primer (= 0.5.3) + jekyll-theme-slate (= 0.1.1) + jekyll-theme-tactile (= 0.1.1) + jekyll-theme-time-machine (= 0.1.1) + jekyll-titles-from-headings (= 0.5.1) + jemoji (= 0.10.1) + kramdown (= 1.17.0) + liquid (= 4.0.0) + listen (= 3.1.5) + mercenary (~> 0.3) + minima (= 2.5.0) + nokogiri (>= 1.8.2, < 2.0) + rouge (= 2.2.1) + terminal-table (~> 1.4) + github-pages-health-check (1.8.1) + addressable (~> 2.3) + dnsruby (~> 1.60) + octokit (~> 4.0) + public_suffix (~> 2.0) + typhoeus (~> 1.3) + html-pipeline (2.9.0) + activesupport (>= 2) + nokogiri (>= 1.4) + http_parser.rb (0.6.0) + i18n (0.9.5) + concurrent-ruby (~> 1.0) + jekyll (3.7.4) + addressable (~> 2.4) + colorator (~> 1.0) + em-websocket (~> 0.5) + i18n (~> 0.7) + jekyll-sass-converter (~> 1.0) + jekyll-watch (~> 2.0) + kramdown (~> 1.14) + liquid (~> 4.0) + mercenary (~> 0.3.3) + pathutil (~> 0.9) + rouge (>= 1.7, < 4) + safe_yaml (~> 1.0) + jekyll-avatar (0.6.0) + jekyll (~> 3.0) + jekyll-coffeescript (1.1.1) + coffee-script (~> 2.2) + coffee-script-source (~> 1.11.1) + jekyll-commonmark (1.2.0) + commonmarker (~> 0.14) + jekyll (>= 3.0, < 4.0) + jekyll-commonmark-ghpages (0.1.5) + commonmarker (~> 0.17.6) + jekyll-commonmark (~> 1) + rouge (~> 2) + jekyll-default-layout (0.1.4) + jekyll (~> 3.0) + jekyll-feed (0.10.0) + jekyll (~> 3.3) + jekyll-gist (1.5.0) + octokit (~> 4.2) + jekyll-github-metadata (2.9.4) + jekyll (~> 3.1) + octokit (~> 4.0, != 4.4.0) + jekyll-mentions (1.4.1) + html-pipeline (~> 2.3) + jekyll (~> 3.0) + jekyll-optional-front-matter (0.3.0) + jekyll (~> 3.0) + jekyll-paginate (1.1.0) + jekyll-readme-index (0.2.0) + jekyll (~> 3.0) + jekyll-redirect-from (0.14.0) + jekyll (~> 3.3) + jekyll-relative-links (0.5.3) + jekyll (~> 3.3) + jekyll-remote-theme (0.3.1) + jekyll (~> 3.5) + rubyzip (>= 1.2.1, < 3.0) + jekyll-sass-converter (1.5.2) + sass (~> 3.4) + jekyll-seo-tag (2.5.0) + jekyll (~> 3.3) + jekyll-sitemap (1.2.0) + jekyll (~> 3.3) + jekyll-swiss (0.4.0) + jekyll-theme-architect (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-cayman (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-dinky (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-hacker (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-leap-day (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-merlot (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-midnight (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-minimal (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-modernist (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-primer (0.5.3) + jekyll (~> 3.5) + jekyll-github-metadata (~> 2.9) + jekyll-seo-tag (~> 2.0) + jekyll-theme-slate (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-tactile (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-time-machine (0.1.1) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-titles-from-headings (0.5.1) + jekyll (~> 3.3) + jekyll-watch (2.1.2) + listen (~> 3.0) + jemoji (0.10.1) + gemoji (~> 3.0) + html-pipeline (~> 2.2) + jekyll (~> 3.0) + kramdown (1.17.0) + liquid (4.0.0) + listen (3.1.5) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + ruby_dep (~> 1.2) + mercenary (0.3.6) + mini_portile2 (2.3.0) + minima (2.5.0) + jekyll (~> 3.5) + jekyll-feed (~> 0.9) + jekyll-seo-tag (~> 2.1) + minitest (5.8.5) + multipart-post (2.0.0) + nokogiri (1.8.5) + mini_portile2 (~> 2.3.0) + octokit (4.13.0) + sawyer (~> 0.8.0, >= 0.5.3) + pathutil (0.16.2) + forwardable-extended (~> 2.6) + public_suffix (2.0.5) + rb-fsevent (0.10.3) + rb-inotify (0.9.10) + ffi (>= 0.5.0, < 2) + rouge (2.2.1) + ruby-enum (0.7.2) + i18n + ruby_dep (1.5.0) + rubyzip (1.2.2) + safe_yaml (1.0.4) + sass (3.7.2) + sass-listen (~> 4.0.0) + sass-listen (4.0.0) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + sawyer (0.8.1) + addressable (>= 2.3.5, < 2.6) + faraday (~> 0.8, < 1.0) + terminal-table (1.8.0) + unicode-display_width (~> 1.1, >= 1.1.1) + thread_safe (0.3.6) + typhoeus (1.3.1) + ethon (>= 0.9.0) + tzinfo (1.2.5) + thread_safe (~> 0.1) + unicode-display_width (1.4.0) + +PLATFORMS + ruby + +DEPENDENCIES + github-pages + +BUNDLED WITH + 2.0.1 diff --git a/site/README-JEKYLL.md b/site/README-JEKYLL.md new file mode 100644 index 000000000..8e6c47e3b --- /dev/null +++ b/site/README-JEKYLL.md @@ -0,0 +1,19 @@ +# Dependencies +If you are running a build on Ubuntu you will need the following packages +* ruby +* ruby-dev +* ruby-bundler +* build-essential +* zlib1g-dev +* nginx (or apache2) + +For other operating systems such as MacOS you will need equivalent packages or install xcode + +# Local Development +1. Install Jekyll and plug-ins in one fell swoop. `gem install github-pages` +This mirrors the plug-ins used by GitHub Pages on your local machine including Jekyll, Sass, etc. +2. Clone down your fork `git@github.com:smalltalk-ai/vmware-jekyll-velero.git` +3. cd into the `site` directory +4. Serve the site and watch for markup/sass changes `jekyll serve --livereload`. you may need to run `bundle exec jekyll serve --livereload`. +5. View your website at http://127.0.0.1:4000/ +6. Commit any changes and push everything to the master branch of your GitHub user repository. GitHub Pages will then rebuild and serve your website. \ No newline at end of file diff --git a/site/_casestudies/sample1.md b/site/_casestudies/sample1.md new file mode 100644 index 000000000..64cb85c72 --- /dev/null +++ b/site/_casestudies/sample1.md @@ -0,0 +1,8 @@ +--- +title: Back up Clusters +icon: case-study-1.svg +#subtitle: Subheading goes here +#links: +# This is my link: http://google.com +--- +Backup your Kubernetes resources and volumes for an entire cluster, or part of a cluster by using namespaces or label selectors. \ No newline at end of file diff --git a/site/_casestudies/sample2.md b/site/_casestudies/sample2.md new file mode 100644 index 000000000..2412f4055 --- /dev/null +++ b/site/_casestudies/sample2.md @@ -0,0 +1,8 @@ +--- +title: Schedule Backups +icon: case-study-2.svg +#subtitle: Subheading goes here +#links: +# This is my link: http://google.com +--- +Set schedules to automatically kickoff backups at recurring intervals. \ No newline at end of file diff --git a/site/_casestudies/sample3.md b/site/_casestudies/sample3.md new file mode 100644 index 000000000..e45216ccb --- /dev/null +++ b/site/_casestudies/sample3.md @@ -0,0 +1,8 @@ +--- +title: Backup Hooks +icon: case-study-3.svg +#subtitle: Subheading goes here +#links: +# This is my link: http://google.com +--- +Configure pre and post-backup hooks to perform custom operations before and after Velero backups. \ No newline at end of file diff --git a/site/_config.yml b/site/_config.yml new file mode 100644 index 000000000..fea316bdd --- /dev/null +++ b/site/_config.yml @@ -0,0 +1,174 @@ +# Site settings +title: Velero +email: +author: Velero Authors +description: +url: +logo: Velero.svg +vm_logo: vm-logo.png +gh_repo: https://github.com/heptio/velero +hero: + background-color: med-blue +footer: + title: Getting Started + content: To help you get started, see the documentation. + cta_title: '' + cta_url: /docs/master + cta_text: Documentation + vm-link: http://vmware.github.io/ + +footer_social_links: + Twitter: + fa_icon: fab fa-twitter + url: https://twitter.com/projectvelero + Slack: + fa_icon: fab fa-slack + url: https://kubernetes.slack.com/messages/velero + User Group: + fa_icon: fas fa-users + url: https://groups.google.com/forum/#!forum/projectvelero + RSS: + fa_icon: fa fa-rss + url: feed.xml + +defaults: + - scope: + path: "" # an empty string here means all files in the project + type: "posts" + values: + layout: "posts" + - scope: + path: "" + type: "pages" + values: + layout: "default" + - scope: + path: docs/master + values: + version: master + gh: https://github.com/heptio/velero/tree/master + layout: "docs" + - scope: + path: docs/v1.0.0-rc.1 + values: + version: v1.0.0-rc.1 + gh: https:/github.com/heptio/velero/tree/v1.0.0-rc.1 + layout: "docs" + - scope: + path: docs/v0.11.0 + values: + version: v0.11.0 + gh: https:/github.com/heptio/velero/tree/v0.11.0 + layout: "docs" + - scope: + path: docs/v0.10.0 + values: + version: v0.10.0 + gh: https:/github.com/heptio/velero/tree/v0.10.0 + layout: "docs" + - scope: + path: docs/v0.9.0 + values: + version: v0.9.0 + gh: https:/github.com/heptio/velero/tree/v0.9.0 + layout: "docs" + - scope: + path: docs/v0.8.1 + values: + version: v0.8.1 + gh: https:/github.com/heptio/velero/tree/v0.8.1 + layout: "docs" + - scope: + path: docs/v0.8.0 + values: + version: v0.8.0 + gh: https:/github.com/heptio/velero/tree/v0.8.0 + layout: "docs" + - scope: + path: docs/v0.7.1 + values: + version: v0.7.1 + gh: https://github.com/heptio/velero/tree/v0.7.1 + layout: "docs" + - scope: + path: docs/v0.7.0 + values: + version: v0.7.0 + gh: https://github.com/heptio/velero/tree/v0.7.0 + layout: "docs" + - scope: + path: docs/v0.6.0 + values: + version: v0.6.0 + gh: https://github.com/heptio/velero/tree/v0.6.0 + layout: "docs" + - scope: + path: docs/v0.5.0 + values: + version: v0.5.0 + gh: https://github.com/heptio/velero/tree/v0.5.0 + layout: "docs" + - scope: + path: docs/v0.4.0 + values: + version: v0.4.0 + gh: https://github.com/heptio/velero/tree/v0.4.0 + layout: "docs" + - scope: + path: docs/v0.3.0 + values: + version: v0.3.0 + gh: https://github.com/heptio/velero/tree/v0.3.0 + layout: "docs" + +collections: + - contributors + - casestudies + +versioning: true +latest: v0.11.0 +versions: +- v1.0.0-rc.1 +- v0.11.0 +- v0.10.0 +- v0.9.0 +- v0.8.1 +- v0.8.0 +- v0.7.1 +- v0.7.0 +- v0.6.0 +- v0.5.0 +- v0.4.0 +- v0.3.0 + +# Build settings +permalink: :title/ +sass: + sass_dir: css + style: :compressed + +# Use the following plug-ins +plugins: + - jekyll-readme-index # use README.md as index.html + - jekyll-sitemap # Create a sitemap using the official Jekyll sitemap gem + - jekyll-feed # Create an Atom feed using the official Jekyll feed gem + - jekyll-relative-links # Used to auto generate md links to html links + - jekyll-optional-front-matter # Parse Markdown files that do not have front-matter callouts + - jekyll-titles-from-headings # pull the page title from the first Markdown heading when none is specified. + - jekyll-paginate # pagination object for collections (e.g. posts) + + +# Include these subdirectories +include: + - CONTRIBUTING.md + - README.md + +# Exclude these files from your production _site +exclude: + - Gemfile + - Gemfile.lock + - README-JEKYLL.md + - LICENSE + - CNAME + - Runbook.docx + - '*.sh' \ No newline at end of file diff --git a/site/_contributors/01-steve-kriss.md b/site/_contributors/01-steve-kriss.md new file mode 100644 index 000000000..48ce3d06e --- /dev/null +++ b/site/_contributors/01-steve-kriss.md @@ -0,0 +1,6 @@ +--- +first_name: Steve +last_name: Kriss +image: /img/contributors/steve-kriss.png +--- +Tech Lead \ No newline at end of file diff --git a/site/_contributors/02-carlisia-campos.md b/site/_contributors/02-carlisia-campos.md new file mode 100644 index 000000000..fffb11ae0 --- /dev/null +++ b/site/_contributors/02-carlisia-campos.md @@ -0,0 +1,6 @@ +--- +first_name: Carlisia +last_name: Campos +image: /img/contributors/carlisia-campos.png +--- +Engineer \ No newline at end of file diff --git a/site/_contributors/03-nolan-brubaker.md b/site/_contributors/03-nolan-brubaker.md new file mode 100644 index 000000000..7723f4e50 --- /dev/null +++ b/site/_contributors/03-nolan-brubaker.md @@ -0,0 +1,6 @@ +--- +first_name: Nolan +last_name: Brubaker +image: /img/contributors/nolan-brubaker.png +--- +Engineer \ No newline at end of file diff --git a/site/_contributors/04-tim-hinderliter.md b/site/_contributors/04-tim-hinderliter.md new file mode 100644 index 000000000..fcd4a7bc8 --- /dev/null +++ b/site/_contributors/04-tim-hinderliter.md @@ -0,0 +1,6 @@ +--- +first_name: Tim +last_name: Hinderliter +image: /img/contributors/tim-hinderliter.png +--- +Engineering Manager \ No newline at end of file diff --git a/site/_contributors/05-tom-spoonemore.md b/site/_contributors/05-tom-spoonemore.md new file mode 100644 index 000000000..ce942de13 --- /dev/null +++ b/site/_contributors/05-tom-spoonemore.md @@ -0,0 +1,6 @@ +--- +first_name: Tom +last_name: Spoonemore +image: /img/contributors/tom-spoonemore.png +--- +Project Manager \ No newline at end of file diff --git a/site/_data/default.yml b/site/_data/default.yml new file mode 100644 index 000000000..525b49a04 --- /dev/null +++ b/site/_data/default.yml @@ -0,0 +1,30 @@ +toc: + - title: User Guide + subfolderitems: + - page: Concepts + url: /concepts + - page: Build from scratch + url: /build-from-scratch + - page: Cloud provider specifics + url: /cloud-provider-specifics + - page: Debugging restores + url: /debugging-restores + - page: FAQ + url: /faq + - title: Reference + subfolderitems: + - page: CLI reference + url: /cli-reference/index + - page: Config definition + url: /config-definition + - page: Output file format + url: /output-file-format + - page: Sample YAML files + url: /examples + github: true + - title: Scenarios + subfolderitems: + - page: Disaster Recovery + url: /use-cases + - page: Cluster migration + url: /use-cases.html#cluster-migration diff --git a/site/_data/master-toc.yml b/site/_data/master-toc.yml new file mode 100644 index 000000000..b4bef87e6 --- /dev/null +++ b/site/_data/master-toc.yml @@ -0,0 +1,66 @@ +# historically we haven't provided a new TOC for the master branch docs +# but a doc reorg suggests that it would be useful at this point +# for future docs builds: use this file as the basis for new version TOCs + +toc: + - title: Introduction + subfolderitems: + - page: About Velero + url: /index.html + - page: How Velero works + url: /about + - page: About locations + url: /locations + - page: Supported platforms + url: /support-matrix + - title: Install + subfolderitems: + - page: Overview + url: /install-overview + - page: Upgrade to 1.0 + url: /upgrade-to-1.0 + - page: Quick Start with In-Cluster Minio + url: /get-started + - page: Run on AWS + url: /aws-config + - page: Run on Azure + url: /azure-config + - page: Run on GCP + url: /gcp-config + - page: Restic Setup + url: /restic + - title: Use + subfolderitems: + - page: Disaster Recovery + url: /disaster-case + - page: Cluster migration + url: /migration-case + - title: Troubleshoot + subfolderitems: + - page: Troubleshooting + url: /troubleshooting + - page: Troubleshoot an install or setup + url: /debugging-install + - page: Troubleshoot a restore + url: /debugging-restores + - page: Troubleshoot Restic + url: /restic#troubleshooting + - title: Customize Velero + subfolderitems: + - page: Build from source + url: /build-from-source + - page: Run in any namespace + url: /namespace + - page: Extend + url: /extend + - page: Extend with plugins + url: /plugins + - page: Extend with hooks + url: /hooks + - title: More information + subfolderitems: + - page: Backup file format + url: /output-file-format + - page: FAQ + url: /faq + diff --git a/site/_data/new-IA.yml b/site/_data/new-IA.yml new file mode 100644 index 000000000..2da5ed827 --- /dev/null +++ b/site/_data/new-IA.yml @@ -0,0 +1,46 @@ +toc: + - title: Introduction + subfolderitems: + - page: About Ark + url: /index.html + - page: Getting started + url: /quickstart + - page: How Ark works + url: /about + - title: Run Ark + subfolderitems: + - page: Create a backup + url: /run-backup + - page: Restore from backup + url: /restore + - title: Customize Ark + subfolderitems: + - page: Build from source + url: /build-from-scratch + - page: Extend + url: /extend + - page: Extend with plugins + url: /plugins + - page: Extend with hooks + url: /hooks + - title: Reference + subfolderitems: + - page: Backup file format + url: /output-file-format + - title: Tutorials + subfolderitems: + - page: Disaster Recovery + url: /use-cases + - page: Cluster migration + url: /use-cases.html#cluster-migration + - title: Troubleshooting + subfolderitems: + - page: Troubleshooting + url: /troubleshooting + - page: Troubleshoot an install or setup + url: /debugging-install + - page: Troubleshoot a backup delete + url: /debugging-deletes + - page: Troubleshoot a restore + url: /debugging-restores + diff --git a/site/_data/toc-mapping.yml b/site/_data/toc-mapping.yml new file mode 100644 index 000000000..f1c9c353f --- /dev/null +++ b/site/_data/toc-mapping.yml @@ -0,0 +1,13 @@ +# This file can be used to explicitly map a release to a specific table-of-contents +# (TOC). You'll want to use this after any revamps to information architecture, to ensure +# that the navigation for older versions still work. + +master: master-toc +v1.0.0-rc.1: v1-0-rc-1-toc +v0.11.0: v011-toc +v0.10.0: v010-toc +v0.9.0: v9-toc +v0.8.1: v8-1-toc +v0.8.0: v8-toc +v0.7.1: v7-1-toc +v0.7.0: v7-toc diff --git a/site/_data/v010-toc.yml b/site/_data/v010-toc.yml new file mode 100644 index 000000000..f587e7b61 --- /dev/null +++ b/site/_data/v010-toc.yml @@ -0,0 +1,67 @@ +toc: + - title: Introduction + subfolderitems: + - page: About Ark + url: /index.html + - page: Getting started + url: /get-started + - page: Get the right Ark version + url: /versions + - page: How Ark works + url: /about + - page: Supported platforms + url: /support-matrix + - title: Upgrade + subfolderitems: + - page: Upgrade to version 0.10 + url: /upgrading-to-v0.10 + - page: About locations (new!) + url: /locations + - title: Install + subfolderitems: + - page: Set up Ark + url: /install-overview + - page: Run on AWS + url: /aws-config + - page: Run on GCP + url: /gcp-config + - page: Run on Azure + url: /azure-config + - page: IBM Cloud Object Store + url: /ibm-config + - page: Restic Setup + url: /restic + - title: Troubleshooting + subfolderitems: + - page: Troubleshooting + url: /troubleshooting + - page: Troubleshoot an install or setup + url: /debugging-install + - page: Troubleshoot a restore + url: /debugging-restores + - page: Troubleshoot Restic + url: /restic#troubleshooting + - title: Customize Ark + subfolderitems: + - page: Build from source + url: /build-from-scratch + - page: Run in any namespace + url: /namespace + - page: Extend + url: /extend + - page: Extend with plugins + url: /plugins + - page: Extend with hooks + url: /hooks + - title: More information + subfolderitems: + - page: Backup file format + url: /output-file-format + - page: FAQ + url: /faq + - title: Tutorials + subfolderitems: + - page: Disaster Recovery + url: /disaster-case + - page: Cluster migration + url: /migration-case diff --git a/site/_data/v011-toc.yml b/site/_data/v011-toc.yml new file mode 100644 index 000000000..4b64214bb --- /dev/null +++ b/site/_data/v011-toc.yml @@ -0,0 +1,67 @@ +toc: + - title: Introduction + subfolderitems: + - page: About Velero + url: /index.html + - page: Getting started + url: /get-started + - page: Get the right Velero version + url: /versions + - page: How Velero works + url: /about + - page: Supported platforms + url: /support-matrix + - title: Upgrade + subfolderitems: + - page: Upgrade from Ark to Velero + url: /migrating-to-velero + - page: About locations + url: /locations + - title: Install + subfolderitems: + - page: Set up Velero + url: /install-overview + - page: Run on AWS + url: /aws-config + - page: Run on GCP + url: /gcp-config + - page: Run on Azure + url: /azure-config + - page: IBM Cloud Object Store + url: /ibm-config + - page: Restic Setup + url: /restic + - title: Troubleshooting + subfolderitems: + - page: Troubleshooting + url: /troubleshooting + - page: Troubleshoot an install or setup + url: /debugging-install + - page: Troubleshoot a restore + url: /debugging-restores + - page: Troubleshoot Restic + url: /restic#troubleshooting + - title: Customize Velero + subfolderitems: + - page: Build from source + url: /build-from-scratch + - page: Run in any namespace + url: /namespace + - page: Extend + url: /extend + - page: Extend with plugins + url: /plugins + - page: Extend with hooks + url: /hooks + - title: More information + subfolderitems: + - page: Backup file format + url: /output-file-format + - page: FAQ + url: /faq + - title: Tutorials + subfolderitems: + - page: Disaster Recovery + url: /disaster-case + - page: Cluster migration + url: /migration-case diff --git a/site/_data/v1-0-rc-1-toc.yml b/site/_data/v1-0-rc-1-toc.yml new file mode 100644 index 000000000..513a28695 --- /dev/null +++ b/site/_data/v1-0-rc-1-toc.yml @@ -0,0 +1,61 @@ +toc: + - title: Introduction + subfolderitems: + - page: About Velero + url: /index.html + - page: How Velero works + url: /about + - page: About locations + url: /locations + - page: Supported platforms + url: /support-matrix + - title: Install + subfolderitems: + - page: Overview + url: /install-overview + - page: Upgrade to 1.0 + url: /upgrade-to-1.0 + - page: Quick Start with In-Cluster Minio + url: /get-started + - page: Run on AWS + url: /aws-config + - page: Run on Azure + url: /azure-config + - page: Run on GCP + url: /gcp-config + - page: Restic Setup + url: /restic + - title: Use + subfolderitems: + - page: Disaster Recovery + url: /disaster-case + - page: Cluster migration + url: /migration-case + - title: Troubleshoot + subfolderitems: + - page: Troubleshooting + url: /troubleshooting + - page: Troubleshoot an install or setup + url: /debugging-install + - page: Troubleshoot a restore + url: /debugging-restores + - page: Troubleshoot Restic + url: /restic#troubleshooting + - title: Customize Velero + subfolderitems: + - page: Build from source + url: /build-from-source + - page: Run in any namespace + url: /namespace + - page: Extend + url: /extend + - page: Extend with plugins + url: /plugins + - page: Extend with hooks + url: /hooks + - title: More information + subfolderitems: + - page: Backup file format + url: /output-file-format + - page: FAQ + url: /faq diff --git a/site/_data/v7-1-toc.yml b/site/_data/v7-1-toc.yml new file mode 100644 index 000000000..85992a487 --- /dev/null +++ b/site/_data/v7-1-toc.yml @@ -0,0 +1,51 @@ +toc: + - title: Introduction + subfolderitems: + - page: Getting started + url: /index.html + - page: About Ark + url: /about + - title: Install + subfolderitems: + - page: Set up with cloud provider + url: /cloud-common + - page: Run on AWS + url: /aws-config + - page: Run on GCP + url: /gcp-config + - page: Run on Azure + url: /azure-config + - page: Configuration reference + url: /config-definition + - title: Troubleshooting + subfolderitems: + - page: Troubleshooting + url: /troubleshooting + - page: Troubleshoot a backup delete + url: /debugging-deletes + - page: Troubleshoot a restore + url: /debugging-restores + - title: Customize Ark + subfolderitems: + - page: Build from source + url: /build-from-scratch + - page: Run in any namespace + url: /namespace + - page: Extend + url: /extend + - page: Extend with plugins + url: /plugins + - page: Extend with hooks + url: /hooks + - title: More information + subfolderitems: + - page: Backup file format + url: /output-file-format + - page: FAQ + url: /faq + - title: Tutorials + subfolderitems: + - page: Disaster Recovery + url: /use-cases + - page: Cluster migration + url: /use-cases.html#cluster-migration diff --git a/site/_data/v7-toc.yml b/site/_data/v7-toc.yml new file mode 100644 index 000000000..2617a935f --- /dev/null +++ b/site/_data/v7-toc.yml @@ -0,0 +1,45 @@ +toc: + - title: Introduction + subfolderitems: + - page: Getting started + url: /index.html + - page: About Ark + url: /about + - title: Install + subfolderitems: + - page: Set up with cloud provider + url: /cloud-common + - page: Run on AWS + url: /aws-config + - page: Run on GCP + url: /gcp-config + - page: Run on Azure + url: /azure-config + - page: Configuration reference + url: /config-definition + - title: Troubleshooting + subfolderitems: + - page: Troubleshoot a restore + url: /debugging-restores + - page: Backup file format + url: /output-file-format + - page: FAQ + url: /faq + - title: Customize Ark + subfolderitems: + - page: Build from source + url: /build-from-scratch + - page: Run in any namespace + url: /namespace + - page: Extend + url: /extend + - page: Extend with plugins + url: /plugins + - page: Extend with hooks + url: /hooks + - title: Tutorials + subfolderitems: + - page: Disaster Recovery + url: /use-cases + - page: Cluster migration + url: /use-cases.html#cluster-migration diff --git a/site/_data/v8-1-toc.yml b/site/_data/v8-1-toc.yml new file mode 100644 index 000000000..08161a429 --- /dev/null +++ b/site/_data/v8-1-toc.yml @@ -0,0 +1,55 @@ +toc: + - title: Introduction + subfolderitems: + - page: Getting started + url: /index.html + - page: About Ark + url: /about + - title: Install + subfolderitems: + - page: Set up with cloud provider + url: /cloud-common + - page: Run on AWS + url: /aws-config + - page: Run on GCP + url: /gcp-config + - page: Run on Azure + url: /azure-config + - page: IBM Cloud Object Store + url: /ibm-config + - page: Configuration reference + url: /config-definition + - title: Troubleshooting + subfolderitems: + - page: Troubleshooting + url: /troubleshooting + - page: Troubleshoot an install or setup + url: /debugging-install + - page: Troubleshoot a backup delete + url: /debugging-deletes + - page: Troubleshoot a restore + url: /debugging-restores + - title: Customize Ark + subfolderitems: + - page: Build from source + url: /build-from-scratch + - page: Run in any namespace + url: /namespace + - page: Extend + url: /extend + - page: Extend with plugins + url: /plugins + - page: Extend with hooks + url: /hooks + - title: More information + subfolderitems: + - page: Backup file format + url: /output-file-format + - page: FAQ + url: /faq + - title: Tutorials + subfolderitems: + - page: Disaster Recovery + url: /use-cases + - page: Cluster migration + url: /use-cases.html#cluster-migration diff --git a/site/_data/v8-toc.yml b/site/_data/v8-toc.yml new file mode 100644 index 000000000..d0d2f9d71 --- /dev/null +++ b/site/_data/v8-toc.yml @@ -0,0 +1,53 @@ +toc: + - title: Introduction + subfolderitems: + - page: Getting started + url: /index.html + - page: About Ark + url: /about + - title: Install + subfolderitems: + - page: Set up with cloud provider + url: /cloud-common + - page: Run on AWS + url: /aws-config + - page: Run on GCP + url: /gcp-config + - page: Run on Azure + url: /azure-config + - page: IBM Cloud Object Store + url: /ibm-config + - page: Configuration reference + url: /config-definition + - title: Troubleshooting + subfolderitems: + - page: Troubleshooting + url: /troubleshooting + - page: Troubleshoot a backup delete + url: /debugging-deletes + - page: Troubleshoot a restore + url: /debugging-restores + - title: Customize Ark + subfolderitems: + - page: Build from source + url: /build-from-scratch + - page: Run in any namespace + url: /namespace + - page: Extend + url: /extend + - page: Extend with plugins + url: /plugins + - page: Extend with hooks + url: /hooks + - title: More information + subfolderitems: + - page: Backup file format + url: /output-file-format + - page: FAQ + url: /faq + - title: Tutorials + subfolderitems: + - page: Disaster Recovery + url: /use-cases + - page: Cluster migration + url: /use-cases.html#cluster-migration diff --git a/site/_data/v9-toc.yml b/site/_data/v9-toc.yml new file mode 100644 index 000000000..5691ce1c4 --- /dev/null +++ b/site/_data/v9-toc.yml @@ -0,0 +1,61 @@ +toc: + - title: Introduction + subfolderitems: + - page: About Ark + url: /index.html + - page: Getting started + url: /quickstart + - page: How Ark works + url: /about + - page: Supported platforms + url: /support-matrix + - title: Install + subfolderitems: + - page: Set up Ark + url: /install-overview + - page: Run on AWS + url: /aws-config + - page: Run on GCP + url: /gcp-config + - page: Run on Azure + url: /azure-config + - page: IBM Cloud Object Store + url: /ibm-config + - page: Configuration reference + url: /config-definition + - page: Restic Setup + url: /restic#setup + - title: Troubleshooting + subfolderitems: + - page: Troubleshooting + url: /troubleshooting + - page: Troubleshoot an install or setup + url: /debugging-install + - page: Troubleshoot a restore + url: /debugging-restores + - page: Troubleshoot Restic + url: /restic#troubleshooting + - title: Customize Ark + subfolderitems: + - page: Build from source + url: /build-from-scratch + - page: Run in any namespace + url: /namespace + - page: Extend + url: /extend + - page: Extend with plugins + url: /plugins + - page: Extend with hooks + url: /hooks + - title: More information + subfolderitems: + - page: Backup file format + url: /output-file-format + - page: FAQ + url: /faq + - title: Tutorials + subfolderitems: + - page: Disaster Recovery + url: /use-cases + - page: Cluster migration + url: /use-cases.html#cluster-migration diff --git a/site/_includes/blog-post-card.html b/site/_includes/blog-post-card.html new file mode 100644 index 000000000..96b3e0d6e --- /dev/null +++ b/site/_includes/blog-post-card.html @@ -0,0 +1,21 @@ +
+
+
+
+ {% if post.image %} + {{ post.title }} + {% else %} + {{ post.title }} + {% endif %} +
+ +
+
+
\ No newline at end of file diff --git a/site/_includes/blog-posts-tag.html b/site/_includes/blog-posts-tag.html new file mode 100644 index 000000000..51a523400 --- /dev/null +++ b/site/_includes/blog-posts-tag.html @@ -0,0 +1,13 @@ +
+{% for post in site.tags[page.tag] %} + {% include blog-post-card.html %} + {% if limit > 0 and forloop.index >= limit %} + {% break %} + {% endif %} + {% assign row = forloop.index | modulo: 3 %} + {% if row == 0 %} +
+
+ {% endif %} +{% endfor %} +
\ No newline at end of file diff --git a/site/_includes/blog-posts.html b/site/_includes/blog-posts.html new file mode 100644 index 000000000..17c230bdb --- /dev/null +++ b/site/_includes/blog-posts.html @@ -0,0 +1,13 @@ +
+{% for post in site.posts %} + {% include blog-post-card.html %} + {% if limit > 0 and forloop.index >= limit %} + {% break %} + {% endif %} + {% assign row = forloop.index | modulo: 3 %} +{% if row == 0 %} +
+
+{% endif %} +{% endfor %} +
\ No newline at end of file diff --git a/site/_includes/case-studies-alternating.html b/site/_includes/case-studies-alternating.html new file mode 100644 index 000000000..76225030e --- /dev/null +++ b/site/_includes/case-studies-alternating.html @@ -0,0 +1,26 @@ +{{casestudy_background}} +
+ {% for casestudy in site.casestudies %} +
+ {% if casestudy.icon %} +
+ {{ casestudy.title }} +
+ {% endif %} +
+
+ {% if casestudy.title != blank %} +
{{ casestudy.title }}
+ {% endif %} +

{{ casestudy.content | markdownify }}

+ {% for link in casestudy.links %} + {{ link[0] }} + {% endfor %} +
+
+
+ {% if limit > 0 and forloop.index >= limit %} + {% break %} + {% endif %} + {% endfor %} +
diff --git a/site/_includes/case-studies.html b/site/_includes/case-studies.html new file mode 100644 index 000000000..dacffdaf8 --- /dev/null +++ b/site/_includes/case-studies.html @@ -0,0 +1,21 @@ +
+{% for casestudy in site.casestudies %} +
+
+ {% if casestudy.title != blank %} +
{{ casestudy.title }}
+ {% endif %} + {% if casestudy.subtitle != blank %} +
{{ casestudy.subtitle }}
+ {% endif %} +

{{ casestudy.content | markdownify }}

+ {% for link in casestudy.links %} + {{ link[0] }} + {% endfor %} +
+
+ {% if limit > 0 and forloop.index >= limit %} + {% break %} + {% endif %} +{% endfor %} +
\ No newline at end of file diff --git a/site/_includes/contributors.html b/site/_includes/contributors.html new file mode 100644 index 000000000..3624af551 --- /dev/null +++ b/site/_includes/contributors.html @@ -0,0 +1,26 @@ +
+
+

The {{ site.title }} Team

+
+
+
+
+

{{ site.title }} is released as open source software and provides community support through our GitHub project page. + If you encounter an issue or have a question, feel free to reach out on the GitHub issues page for {{ site.title }}.

+

The Velero project team welcomes contributions from the community, please see our contributing documentation. +

+
+
+
+ {% for person in site.contributors %} +
+
+ Person +
+
{{ person.first_name }} {{ person.last_name }}
+ {{ person.content | markdownify }} +
+
+
+ {% endfor %} +
\ No newline at end of file diff --git a/site/_includes/footer.html b/site/_includes/footer.html new file mode 100644 index 000000000..2c22d9cbe --- /dev/null +++ b/site/_includes/footer.html @@ -0,0 +1,52 @@ +
+
+
+
+
{{ site.footer.title }}
+

{{ site.footer.content }}

+
+
+

{{ site.footer.cta_title }}

+ {{ site.footer.cta_text }} +
+
+
+
+ + + + + + + + + + + \ No newline at end of file diff --git a/site/_includes/head.html b/site/_includes/head.html new file mode 100644 index 000000000..52be067af --- /dev/null +++ b/site/_includes/head.html @@ -0,0 +1,10 @@ + + + + + + + + + {{ site.title }} {{page.title}} + \ No newline at end of file diff --git a/site/_includes/nav.html b/site/_includes/nav.html new file mode 100644 index 000000000..f60bbd0b6 --- /dev/null +++ b/site/_includes/nav.html @@ -0,0 +1,24 @@ + diff --git a/site/_includes/related-posts.html b/site/_includes/related-posts.html new file mode 100644 index 000000000..7f31680c4 --- /dev/null +++ b/site/_includes/related-posts.html @@ -0,0 +1,10 @@ +
Related Content
+
+ {% for category in site.categories limit:1 %} + + {% for post in category[1] limit:2 %} + {% include blog-post-card.html %} + + {% endfor %} + {% endfor %} +
\ No newline at end of file diff --git a/site/_includes/site-header.html b/site/_includes/site-header.html new file mode 100644 index 000000000..ee653a650 --- /dev/null +++ b/site/_includes/site-header.html @@ -0,0 +1,17 @@ + \ No newline at end of file diff --git a/site/_includes/version-warning.html b/site/_includes/version-warning.html new file mode 100644 index 000000000..74b5338ed --- /dev/null +++ b/site/_includes/version-warning.html @@ -0,0 +1,37 @@ + \ No newline at end of file diff --git a/site/_includes/versions.html b/site/_includes/versions.html new file mode 100644 index 000000000..89ab2dd98 --- /dev/null +++ b/site/_includes/versions.html @@ -0,0 +1,21 @@ +
+ +
\ No newline at end of file diff --git a/site/_layouts/default.html b/site/_layouts/default.html new file mode 100644 index 000000000..b8143da3a --- /dev/null +++ b/site/_layouts/default.html @@ -0,0 +1,15 @@ + + +{% include head.html %} + + +
+
+ {% include site-header.html %} + {{ content }} + {% include footer.html %} +
+
+ + + \ No newline at end of file diff --git a/site/_layouts/docs.html b/site/_layouts/docs.html new file mode 100644 index 000000000..787772979 --- /dev/null +++ b/site/_layouts/docs.html @@ -0,0 +1,40 @@ + + +{% include head.html %} +{% if page.version != "master" %} + + +{% endif %} + +
+
+ {% include site-header.html %} +
+
+
+

Documentation

+
+
+
+
+
+
+
+
+ {% include versions.html %} + {% include nav.html %} +
+
+ {% include version-warning.html %} + {{ content }} +
+
+
+
+
+ {% include footer.html %} +
+
+ + + \ No newline at end of file diff --git a/site/_layouts/page.html b/site/_layouts/page.html new file mode 100644 index 000000000..62b5c4826 --- /dev/null +++ b/site/_layouts/page.html @@ -0,0 +1,28 @@ + + +{% include head.html %} + + +
+
+ {% include site-header.html %} +
+
+
+

{{ page.title }}

+
+
+
+
+
+
+ {{ content }} +
+
+
+ {% include footer.html %} +
+
+ + + \ No newline at end of file diff --git a/site/_layouts/posts.html b/site/_layouts/posts.html new file mode 100644 index 000000000..50b2ae879 --- /dev/null +++ b/site/_layouts/posts.html @@ -0,0 +1,55 @@ + + +{% include head.html %} + + +
+
+ {% include site-header.html %} +
+
+
+

{{ page.title }}

+
+
+
+
+
+
+
+
+ {% if page.author_avatar %} +
+ {{ page.author_name }} +
+ {% endif %} + +
+ {{ page.author_name }} +
+
+ +
+ {{ page.date | date: "%B %d, %Y" }} +
+
+ +
+ {{ content }} +
+
+
+
+ +
+
+ {% include related-posts.html %} +
+
+ + {% include footer.html %} +
+
+ + + \ No newline at end of file diff --git a/site/_layouts/tag-index.html b/site/_layouts/tag-index.html new file mode 100644 index 000000000..ac3eb3440 --- /dev/null +++ b/site/_layouts/tag-index.html @@ -0,0 +1,20 @@ +--- +layout: default +type: standard +caption: 'Tag Index' +id: blog +--- +
+
+
+

{{ page.title }}

+
+
+
+
+
+
+ {% include blog-posts-tag.html %} +
+
+
diff --git a/site/_plugins/tag_page_generator.rb b/site/_plugins/tag_page_generator.rb new file mode 100644 index 000000000..1b16aa2d1 --- /dev/null +++ b/site/_plugins/tag_page_generator.rb @@ -0,0 +1,32 @@ +module Jekyll + + class TagPage < Page + def initialize(site, base, dir, tag) + @site = site + @base = base + @dir = dir + @name = 'index.html' + + self.process(@name) + self.read_yaml(File.join(base, '_layouts'), 'tag-index.html') + self.data['tag'] = tag + + tag_title_prefix = site.config['tag_title_prefix'] || 'Posts by ' + self.data['title'] = "#{tag_title_prefix}#{tag}" + end + end + + class TagPageGenerator < Generator + safe true + + def generate(site) + if site.layouts.key? 'tag-index' + dir = site.config['tag_dir'] || 'tags' + site.tags.keys.each do |tag| + site.pages << TagPage.new(site, site.source, File.join(dir, tag), tag) + end + end + end + end + + end \ No newline at end of file diff --git a/site/_posts/2019-04-09-Velero-is-an-Open-Source-Tool-to-Back-up-and-Migrate-Kubernetes-Clusters.md b/site/_posts/2019-04-09-Velero-is-an-Open-Source-Tool-to-Back-up-and-Migrate-Kubernetes-Clusters.md new file mode 100644 index 000000000..470ce74b9 --- /dev/null +++ b/site/_posts/2019-04-09-Velero-is-an-Open-Source-Tool-to-Back-up-and-Migrate-Kubernetes-Clusters.md @@ -0,0 +1,33 @@ +--- +title: Velero is an Open Source Tool to Back up and Migrate Kubernetes Clusters +# image: https://placehold.it/200x200 +excerpt_separator: +author_name: Velero Team +# author_avatar: https://placehold.it/64x64 +categories: ['kubernetes'] +# Tag should match author to drive author pages +tags: ['Velero Team'] +--- +Velero is an open source tool to safely back up, recover, and migrate Kubernetes clusters and persistent volumes. It works both on premises and in a public cloud. Velero consists of a server process running as a deployment in your Kubernetes cluster and a command-line interface (CLI) with which DevOps teams and platform operators configure scheduled backups, trigger ad-hoc backups, perform restores, and more. + +## What Makes Velero Stand Out? +Unlike other tools which directly access the Kubernetes etcd database to perform backups and restores, Velero uses the Kubernetes API to capture the state of cluster resources and to restore them when necessary. This API-driven approach has a number of key benefits: + +* Backups can capture subsets of the cluster’s resources, filtering by namespace, resource type, and/or label selector, providing a high degree of flexibility around what’s backed up and restored. +* Users of managed Kubernetes offerings often do not have access to the underlying etcd database, so direct backups/restores of it are not possible. +* Resources exposed through aggregated API servers can easily be backed up and restored even if they’re stored in a separate etcd database. + +Additionally, Velero enables you to backup and restore your applications’ persistent data alongside their configurations, using either your storage platform’s native snapshot capability or an integrated file-level backup tool called [restic](https://restic.net/). + +## Hats Off to the Community! +Since Velero was initially released in August 2017, we’ve had nearly 70 contributors to the project, with a ton of support from the community. We also recently reached 2000 stars on GitHub. We are excited to keep building our great community and project. + +### Join the Community +* Twitter ([@projectvelero](https://twitter.com/projectvelero)) +* Slack ([#velero](https://kubernetes.slack.com/messages/velero) on Kubernetes) +* Google Group ([projectvelero](groups.google.com/forum/#!forum/projectvelero)) + + +We are continuing to work towards Velero 1.0 and would love your help working on the items in our roadmap. If you’re interested in contributing, we have a number of GitHub issues labeled as [Good First Issue](https://github.com/heptio/velero/issues?q=is%3Aopen+is%3Aissue+label%3A%22Good+first+issue%22) and [Help Wanted](https://github.com/heptio/velero/issues?q=is%3Aopen+is%3Aissue+label%3A%22Help+wanted%22), including items related to Prometheus metrics, the CLI UX, improved documentation, and more. We are more than happy to work with new and existing contributors alike. + +_Previously posted at: _ \ No newline at end of file diff --git a/site/_scss/_styles.scss b/site/_scss/_styles.scss new file mode 100644 index 000000000..40a5aec7c --- /dev/null +++ b/site/_scss/_styles.scss @@ -0,0 +1,27 @@ +@import "./site/settings/variables"; + +// 3rd party +@import "./bootstrap-4.1.3/bootstrap.scss"; + +// Common +@import "./site/common/fonts"; +@import "./site/common/core"; +@import "./site/common/type"; + +// Layouts +@import "./site/layouts/container"; + +// Objects +@import "./site/objects/header"; +@import "./site/objects/footer"; +@import "./site/objects/section"; +@import "./site/objects/home-hero"; +@import "./site/objects/card"; +@import "./site/objects/alternating-cards"; +@import "./site/objects/button"; +@import "./site/objects/thumbnail-grid"; +@import "./site/objects/post"; + +// Utilities +@import "./site/utilities/image"; +@import "./site/utilities/type"; diff --git a/site/_scss/bootstrap-4.1.3/_alert.scss b/site/_scss/bootstrap-4.1.3/_alert.scss new file mode 100755 index 000000000..dd43e2376 --- /dev/null +++ b/site/_scss/bootstrap-4.1.3/_alert.scss @@ -0,0 +1,51 @@ +// +// Base styles +// + +.alert { + position: relative; + padding: $alert-padding-y $alert-padding-x; + margin-bottom: $alert-margin-bottom; + border: $alert-border-width solid transparent; + @include border-radius($alert-border-radius); +} + +// Headings for larger alerts +.alert-heading { + // Specified to prevent conflicts of changing $headings-color + color: inherit; +} + +// Provide class for links that match alerts +.alert-link { + font-weight: $alert-link-font-weight; +} + + +// Dismissible alerts +// +// Expand the right padding and account for the close button's positioning. + +.alert-dismissible { + padding-right: ($close-font-size + $alert-padding-x * 2); + + // Adjust close link position + .close { + position: absolute; + top: 0; + right: 0; + padding: $alert-padding-y $alert-padding-x; + color: inherit; + } +} + + +// Alternate styles +// +// Generate contextual modifier classes for colorizing the alert. + +@each $color, $value in $theme-colors { + .alert-#{$color} { + @include alert-variant(theme-color-level($color, $alert-bg-level), theme-color-level($color, $alert-border-level), theme-color-level($color, $alert-color-level)); + } +} diff --git a/site/_scss/bootstrap-4.1.3/_badge.scss b/site/_scss/bootstrap-4.1.3/_badge.scss new file mode 100755 index 000000000..b87a1b004 --- /dev/null +++ b/site/_scss/bootstrap-4.1.3/_badge.scss @@ -0,0 +1,47 @@ +// Base class +// +// Requires one of the contextual, color modifier classes for `color` and +// `background-color`. + +.badge { + display: inline-block; + padding: $badge-padding-y $badge-padding-x; + font-size: $badge-font-size; + font-weight: $badge-font-weight; + line-height: 1; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + @include border-radius($badge-border-radius); + + // Empty badges collapse automatically + &:empty { + display: none; + } +} + +// Quick fix for badges in buttons +.btn .badge { + position: relative; + top: -1px; +} + +// Pill badges +// +// Make them extra rounded with a modifier to replace v3's badges. + +.badge-pill { + padding-right: $badge-pill-padding-x; + padding-left: $badge-pill-padding-x; + @include border-radius($badge-pill-border-radius); +} + +// Colors +// +// Contextual variations (linked badges get darker on :hover). + +@each $color, $value in $theme-colors { + .badge-#{$color} { + @include badge-variant($value); + } +} diff --git a/site/_scss/bootstrap-4.1.3/_breadcrumb.scss b/site/_scss/bootstrap-4.1.3/_breadcrumb.scss new file mode 100755 index 000000000..be3095069 --- /dev/null +++ b/site/_scss/bootstrap-4.1.3/_breadcrumb.scss @@ -0,0 +1,41 @@ +.breadcrumb { + display: flex; + flex-wrap: wrap; + padding: $breadcrumb-padding-y $breadcrumb-padding-x; + margin-bottom: $breadcrumb-margin-bottom; + list-style: none; + background-color: $breadcrumb-bg; + @include border-radius($breadcrumb-border-radius); +} + +.breadcrumb-item { + // The separator between breadcrumbs (by default, a forward-slash: "/") + + .breadcrumb-item { + padding-left: $breadcrumb-item-padding; + + &::before { + display: inline-block; // Suppress underlining of the separator in modern browsers + padding-right: $breadcrumb-item-padding; + color: $breadcrumb-divider-color; + content: $breadcrumb-divider; + } + } + + // IE9-11 hack to properly handle hyperlink underlines for breadcrumbs built + // without `