Rearrange all the docs to allow for a docs/major.minor/ setup
@ -9,14 +9,13 @@ kramdown:
|
|||||||
permalink: pretty
|
permalink: pretty
|
||||||
|
|
||||||
# Server
|
# Server
|
||||||
source: docs
|
|
||||||
destination: _gh_pages
|
destination: _gh_pages
|
||||||
host: 0.0.0.0
|
host: 0.0.0.0
|
||||||
port: 9001
|
port: 9001
|
||||||
baseurl: ""
|
baseurl: ""
|
||||||
url: https://v4-alpha.getbootstrap.com
|
url: https://getbootstrap.com
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
exclude: [assets/scss/]
|
exclude: [.git, .github, assets/scss/, build, js, node_modules, nuget, scss]
|
||||||
|
|
||||||
gems:
|
gems:
|
||||||
- jekyll-redirect-from
|
- jekyll-redirect-from
|
||||||
@ -33,6 +32,7 @@ social_image_path: /assets/brand/bootstrap-social.png
|
|||||||
|
|
||||||
# Custom vars
|
# Custom vars
|
||||||
current_version: 4.0.0-alpha.6
|
current_version: 4.0.0-alpha.6
|
||||||
|
docs_version: 4.0
|
||||||
repo: https://github.com/twbs/bootstrap
|
repo: https://github.com/twbs/bootstrap
|
||||||
slack: https://bootstrap-slack.herokuapp.com
|
slack: https://bootstrap-slack.herokuapp.com
|
||||||
|
|
||||||
|
@ -74,12 +74,12 @@
|
|||||||
# - title: Approach
|
# - title: Approach
|
||||||
- title: Icons
|
- title: Icons
|
||||||
|
|
||||||
- title: About
|
# - title: About
|
||||||
pages:
|
# pages:
|
||||||
- title: History
|
# - title: History
|
||||||
- title: Team
|
# - title: Team
|
||||||
- title: Brand
|
# - title: Brand
|
||||||
- title: License
|
# - title: License
|
||||||
- title: Translations
|
# - title: Translations
|
||||||
|
|
||||||
- title: Migration
|
- title: Migration
|
Before Width: | Height: | Size: 834 B After Width: | Height: | Size: 834 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 373 B After Width: | Height: | Size: 373 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 843 B After Width: | Height: | Size: 843 B |
@ -18,7 +18,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="bd-toc-item {{ active }}">
|
<div class="bd-toc-item {{ active }}">
|
||||||
<a class="bd-toc-link" href="{{ site.baseurl }}/{{ group_slug }}/{{ link_slug }}{% if link_slug %}/{% endif %}">
|
<a class="bd-toc-link" href="{{ site.baseurl }}/docs/{{ site.docs_version }}/{{ group_slug }}/{{ link_slug }}{% if link_slug %}/{% endif %}">
|
||||||
{{ group.title }}
|
{{ group.title }}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
@ -32,7 +32,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<li class="{{ active }}">
|
<li class="{{ active }}">
|
||||||
<a href="{{ site.baseurl }}/{{ group_slug }}/{{ doc_slug }}/">
|
<a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/{{ group_slug }}/{{ doc_slug }}/">
|
||||||
{{ doc.title }}
|
{{ doc.title }}
|
||||||
</a>
|
</a>
|
||||||
|
|
@ -9,7 +9,7 @@
|
|||||||
<a class="nav-link {% if page.layout == "home" %}active{% endif %}" href="{{ site.baseurl }}/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Bootstrap');">Home</a>
|
<a class="nav-link {% if page.layout == "home" %}active{% endif %}" href="{{ site.baseurl }}/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Bootstrap');">Home</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link {% if page.layout == "docs" %}active{% endif %}" href="{{ site.baseurl }}/getting-started/introduction/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Docs');">Documentation</a>
|
<a class="nav-link {% if page.layout == "docs" %}active{% endif %}" href="{{ site.baseurl }}/docs/{{ site.docs_version }}/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Docs');">Documentation</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link {% if page.title == "Examples" %}active{% endif %}" href="{{ site.baseurl }}/examples/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Examples');">Examples</a>
|
<a class="nav-link {% if page.title == "Examples" %}active{% endif %}" href="{{ site.baseurl }}/examples/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Examples');">Examples</a>
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 330 KiB After Width: | Height: | Size: 330 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
7
assets/css/docs.min.css
vendored
Normal file
1
assets/css/docs.min.css.map
Normal file
Before Width: | Height: | Size: 174 KiB After Width: | Height: | Size: 174 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 156 KiB After Width: | Height: | Size: 156 KiB |
Before Width: | Height: | Size: 197 KiB After Width: | Height: | Size: 197 KiB |
Before Width: | Height: | Size: 158 KiB After Width: | Height: | Size: 158 KiB |
Before Width: | Height: | Size: 194 KiB After Width: | Height: | Size: 194 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
@ -24,8 +24,8 @@
|
|||||||
// Happy Bootstrapping!
|
// Happy Bootstrapping!
|
||||||
|
|
||||||
// Load Bootstrap variables and mixins
|
// Load Bootstrap variables and mixins
|
||||||
@import "../../../scss/variables";
|
@import "../../scss/variables";
|
||||||
@import "../../../scss/mixins";
|
@import "../../scss/mixins";
|
||||||
|
|
||||||
// Load docs components
|
// Load docs components
|
||||||
@import "variables";
|
@import "variables";
|