mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
With the current docs directory setup, I'm making too many mistakes and have to manually address path changes and directory moves on deploy. This makes for a frustrating experience developing locally and shipping releases. With this PR, we're basically back to the same setup from v3—duplicating the dist directory into our docs directory. Not the most ideal, but very straightforward for me as the release manager.
64 lines
2.2 KiB
YAML
64 lines
2.2 KiB
YAML
# Dependencies
|
|
markdown: kramdown
|
|
highlighter: rouge
|
|
|
|
kramdown:
|
|
auto_ids: true
|
|
|
|
# Permalinks
|
|
permalink: pretty
|
|
|
|
# Server
|
|
source: "site"
|
|
destination: ./_gh_pages
|
|
host: 0.0.0.0
|
|
port: 9001
|
|
baseurl: ""
|
|
url: "https://getbootstrap.com"
|
|
encoding: UTF-8
|
|
exclude:
|
|
- docs/4.1/assets/scss/
|
|
|
|
plugins:
|
|
- jekyll-redirect-from
|
|
- jekyll-sitemap
|
|
- jekyll-toc
|
|
|
|
# Social
|
|
title: Bootstrap
|
|
description: "The most popular HTML, CSS, and JS library in the world."
|
|
twitter: getbootstrap
|
|
authors: "Mark Otto, Jacob Thornton, and Bootstrap contributors"
|
|
social_image_path: /assets/brand/bootstrap-social.png
|
|
social_logo_path: /assets/brand/bootstrap-social-logo.png
|
|
|
|
# Custom variables
|
|
current_version: 4.1.1
|
|
current_ruby_version: 4.1.1
|
|
docs_version: 4.1
|
|
repo: "https://github.com/twbs/bootstrap"
|
|
slack: "https://bootstrap-slack.herokuapp.com"
|
|
blog: "https://blog.getbootstrap.com"
|
|
expo: "https://expo.getbootstrap.com"
|
|
jobs: "https://jobs.getbootstrap.com"
|
|
themes: "https://themes.getbootstrap.com"
|
|
|
|
download:
|
|
source: "https://github.com/twbs/bootstrap/archive/v4.1.1.zip"
|
|
dist: "https://github.com/twbs/bootstrap/releases/download/v4.1.1/bootstrap-4.1.1-dist.zip"
|
|
|
|
cdn:
|
|
# See https://www.srihash.org for info on how to generate the hashes
|
|
css: "https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css"
|
|
css_hash: "sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB"
|
|
js: "https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"
|
|
js_hash: "sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T"
|
|
jquery: "https://code.jquery.com/jquery-3.3.1.slim.min.js"
|
|
jquery_hash: "sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
|
|
popper: "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
|
|
popper_hash: "sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
|
|
|
|
toc:
|
|
min_level: 2
|
|
max_level: 4
|