Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Prototype] Migrate docs from Hugo to Astro 🚀 #38319

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
190 commits
Select commit Hold shift + click to select a range
802812e
feat(docs): migrate docs from Hugo to Astro
julien-deramond Feb 19, 2023
b84076a
Colors (#10)
HiDeoo Feb 20, 2023
4bf6815
workflow_dispatch for all workflows (#11)
julien-deramond Feb 20, 2023
1593972
Handle 'Examples' title condition to highlight it in the Navigation
julien-deramond Feb 20, 2023
49220c9
Add content to index.astro + add <slot/> to BaseLayout.astro
julien-deramond Feb 20, 2023
109aa19
Add 'current_version' to config and use it in index.astro
julien-deramond Feb 20, 2023
f68ad8b
New Ads.astro component used in index.astro
julien-deramond Feb 20, 2023
50a0c53
Add TODO comment regarding 'highlight' and Chroma
julien-deramond Feb 20, 2023
ffb57aa
Force calibreapp-image-actions GH workflow to be launched manually
julien-deramond Feb 20, 2023
205e99f
Replace .Site.Params.docs_version with getVersionedDocsPath in index.…
julien-deramond Feb 20, 2023
f5361e2
New site-new/components/home structure + new GetStarted.astro + used …
julien-deramond Feb 20, 2023
f878c01
New home/Customize.astro component + usage in index.astro
julien-deramond Feb 20, 2023
0b525b7
New home/CSSVariables.astro component + usage in index.astro
julien-deramond Feb 20, 2023
7a0095f
New home/ComponentUtilities.astro component + usage in index.astro
julien-deramond Feb 20, 2023
96e389b
New home/Plugins.astro component + usage in index.astro
julien-deramond Feb 20, 2023
aad273b
New home/Icons.astro component + usage in index.astro
julien-deramond Feb 20, 2023
3653abc
New home/Themes.astro component + usage in index.astro
julien-deramond Feb 20, 2023
2a6c6d9
Format documents with Prettier to fix lint (#12)
julien-deramond Feb 21, 2023
1c66594
Thingies (#13)
HiDeoo Feb 21, 2023
afb4fc7
Add HTML code in 404.astro + comments to handle <body> and <main> ove…
julien-deramond Feb 21, 2023
6a74514
New comment to specify missing elements from Bootstrap's frontmatter
julien-deramond Feb 21, 2023
0628644
New footer/Footer.astro component + use it in our BaseLayout.astro
julien-deramond Feb 21, 2023
6944d05
New site-new/public/ dirs for images, brand and JS + images from Boot…
julien-deramond Feb 21, 2023
3c8ec04
New site-new/public/img/favicons (and the corresponding icons) + fix …
julien-deramond Feb 21, 2023
a880f2e
Fix lint
julien-deramond Feb 21, 2023
8a08140
More thingies (#14)
HiDeoo Feb 22, 2023
511f644
Use MDX instead of simple MD + first shortcode component: AddedIn.astro
julien-deramond Feb 22, 2023
329dbf7
New shortcode: CalloutDeprecatedDarkVariants + comments to list short…
julien-deramond Feb 22, 2023
d8e9900
New shortcode: Callout + incredible rendering of shortcodes in markdo…
julien-deramond Feb 22, 2023
2bf51a7
Beautiful rendering of shortcodes todo in markdown.mdx
julien-deramond Feb 22, 2023
5aa338e
New shortcode: DeprecatedIn
julien-deramond Feb 22, 2023
ed97853
New shortcode: Placeholder (broken)
julien-deramond Feb 22, 2023
169580e
Enhance(?) Placeholder.astro
julien-deramond Feb 22, 2023
9ac653d
Handle site/data/grays.yml and use them in Placeholder
julien-deramond Feb 22, 2023
c3e640c
Fix comment in grays.ts
julien-deramond Feb 22, 2023
e78f534
New site-new/src/pages/docs/5.3/getting-started/introduction.mdx with…
julien-deramond Feb 22, 2023
9125a6c
Add some TODOs in introduction.mdx
julien-deramond Feb 22, 2023
0c946fb
Shortcodes (#15)
HiDeoo Feb 24, 2023
0846803
Homepage (#16)
HiDeoo Feb 24, 2023
6b018e8
New Table shortcode associated with TableContent + new empty BsTable …
julien-deramond Feb 24, 2023
c411b70
Modified BsTable shortcode
julien-deramond Feb 24, 2023
6e89fe5
Add new DocsSidebar.astro component used temporarily within markdown.…
julien-deramond Feb 24, 2023
a57be51
Add TODO for the issue of extra-chars when copy/pasting content from …
julien-deramond Feb 25, 2023
23a074f
Miscellaneous improvements (#17)
HiDeoo Feb 27, 2023
0e9467a
Change {{< param >}} in pages/**/introduction.mdx to remove the TODO
julien-deramond Feb 27, 2023
1bc42b3
Finalize pages/docs/5.3/getting-started/introduction.mdx
julien-deramond Feb 27, 2023
fba4a07
Finalize pages/docs/5.3/getting-started/accessibility.mdx
julien-deramond Feb 27, 2023
01b2c7f
Finalize pages/docs/5.3/getting-started/best-practices.mdx
julien-deramond Feb 27, 2023
5278ff1
Finalize pages/docs/5.3/getting-started/browsers-devices.mdx
julien-deramond Feb 27, 2023
fdfa897
Finalize pages/docs/5.3/getting-started/contents.mdx
julien-deramond Feb 27, 2023
81fc297
Add callouts/InfoNpmStarter.mdx + docs/5.3/getting-started/contribute…
julien-deramond Feb 27, 2023
3b42300
Add docs/5.3/getting-started/download.mdx
julien-deramond Feb 27, 2023
4e18fcf
Add JsDataAttributes.mdx + docs/5.3/getting-started/javascript.mdx
julien-deramond Feb 27, 2023
868d351
Add docs/5.3/getting-started/parcel.mdx
julien-deramond Feb 27, 2023
feb85c3
Add docs/5.3/getting-started/rfs.mdx
julien-deramond Feb 27, 2023
f00e0aa
Add docs/5.3/getting-started/rtl.mdx
julien-deramond Feb 27, 2023
35095a7
Add docs/5.3/getting-started/vite.mdx
julien-deramond Feb 27, 2023
50f488e
Add docs/5.3/getting-started/webpack.mdx
julien-deramond Feb 27, 2023
e26f5be
Handle a part of the Sidebar to display most of the content and make …
julien-deramond Feb 27, 2023
3acca3c
More things (#18)
HiDeoo Feb 28, 2023
76d9a7d
Add content/docs/customize + content/docs/customize/color-modes.mdx
julien-deramond Feb 28, 2023
44acafe
Add content/docs/customize/color.mdx
julien-deramond Feb 28, 2023
b454fdb
Add content/docs/customize/components.mdx
julien-deramond Feb 28, 2023
cb45993
Add content/docs/customize/css-variables.mdx
julien-deramond Feb 28, 2023
fcf8d7e
Add content/docs/customize/optimize.mdx
julien-deramond Feb 28, 2023
ab27424
Add content/docs/customize/options.mdx
julien-deramond Feb 28, 2023
353975c
Add content/docs/customize/overview.mdx
julien-deramond Feb 28, 2023
acd3420
Add content/docs/customize/sass.mdx
julien-deramond Feb 28, 2023
b590c8d
Add content/docs/layouts + callouts/InfoMediaqueriesBreakpoints.mdx +…
julien-deramond Feb 28, 2023
065a2c1
Add content/docs/layout/columns.mdx
julien-deramond Feb 28, 2023
a6bf132
Add content/docs/layout/containers.mdx
julien-deramond Feb 28, 2023
2decb43
Add content/docs/layout/grid.mdx
julien-deramond Mar 1, 2023
b57e888
Add content/docs/layout/css-grid.mdx
julien-deramond Mar 1, 2023
00d465d
Add content/docs/layout/gutters.mdx
julien-deramond Mar 1, 2023
4170815
Add content/docs/layout/utilities.mdx
julien-deramond Mar 1, 2023
e1d1354
Add content/docs/layout/z-index.mdx
julien-deramond Mar 1, 2023
fea0ab6
Add content/docs/content + content/figures.mdx
julien-deramond Mar 1, 2023
c0312d9
Add content/docs/content/images.mdx
julien-deramond Mar 1, 2023
4137b95
Add content/docs/content/reboot.mdx + WarningInputSupport callout
julien-deramond Mar 1, 2023
a6b2133
Add content/docs/content/table.mdx + WarningColorAssistiveTechnologie…
julien-deramond Mar 1, 2023
8f8dcea
Add content/docs/content/typography.mdx -- Finalized Content section
julien-deramond Mar 1, 2023
c85fa5b
Add content/docs/forms + docs/forms/checks-radios.mdx
julien-deramond Mar 1, 2023
7e83edd
Add content/docs/forms/floating-labels.mdx
julien-deramond Mar 1, 2023
b433f5b
Add content/docs/forms/form-control.mdx
julien-deramond Mar 1, 2023
868925c
Add content/docs/forms/input-group.mdx
julien-deramond Mar 1, 2023
4b6a158
Add content/docs/forms/layout.mdx
julien-deramond Mar 1, 2023
0d4f8c6
Add content/docs/forms/overview.mdx
julien-deramond Mar 1, 2023
2097c17
Add content/docs/forms/range.mdx
julien-deramond Mar 1, 2023
15fcd0d
Add content/docs/forms/select.mdx
julien-deramond Mar 1, 2023
d417341
Add content/docs/forms/validation.mdx
julien-deramond Mar 1, 2023
229a400
New docs/components + add content/docs/components/accordion.mdx + cal…
julien-deramond Mar 1, 2023
218a40c
Add content/docs/components/alerts.mdx
julien-deramond Mar 1, 2023
f4ea3a6
Add content/docs/components/badge.mdx
julien-deramond Mar 1, 2023
d94f861
Add content/docs/components/breadcrumb.mdx
julien-deramond Mar 1, 2023
6c71c56
Add content/docs/components/button-group.mdx
julien-deramond Mar 1, 2023
554e3fb
Add content/docs/components/buttons.mdx
julien-deramond Mar 1, 2023
d820522
Add content/docs/components/card.mdx
julien-deramond Mar 1, 2023
8f50367
Add content/docs/components/carousel.mdx + DangerAsyncMethods.mdx cal…
julien-deramond Mar 1, 2023
cf47863
Add content/docs/components/close-button.mdx
julien-deramond Mar 1, 2023
b533324
Add content/docs/components/collapse.mdx
julien-deramond Mar 1, 2023
a90f1b6
Add content/docs/components/dropdown.mdx
julien-deramond Mar 1, 2023
61987c5
Add content/docs/components/list-group.mdx
julien-deramond Mar 1, 2023
6fe7a6f
Add content/docs/components/modal.mdx
julien-deramond Mar 1, 2023
ce5b508
Add content/docs/components/navbar.mdx
julien-deramond Mar 1, 2023
67f3dfe
Add content/docs/components/navs-tabs.mdx
julien-deramond Mar 1, 2023
4d31a1e
Add content/docs/components/offcanvas.mdx
julien-deramond Mar 1, 2023
91a19d6
Add content/docs/components/pagination.mdx
julien-deramond Mar 1, 2023
234b761
Add content/docs/components/placeholders.mdx
julien-deramond Mar 1, 2023
099d5f8
Add content/docs/components/popovers.mdx + callouts/InfoSanitizer + c…
julien-deramond Mar 1, 2023
9cf55a3
Add content/docs/components/progress.mdx
julien-deramond Mar 1, 2023
7b662f9
Add content/docs/components/scrollspy.mdx
julien-deramond Mar 1, 2023
98bc43e
Add content/docs/components/spinners.mdx
julien-deramond Mar 1, 2023
dfab56f
Add content/docs/components/toasts.mdx
julien-deramond Mar 1, 2023
5e07acd
Add content/docs/components/tooltips.mdx
julien-deramond Mar 1, 2023
a724ca4
Add docs/helpers + docs/helpers/clearfix.mdx
julien-deramond Mar 1, 2023
902cbc8
Add content/docs/helpers/color-background.mdx
julien-deramond Mar 1, 2023
4e0d2d2
Add content/docs/helpers/colored-links.mdx
julien-deramond Mar 1, 2023
b7e5f03
Add content/docs/helpers/focus-ring.mdx
julien-deramond Mar 1, 2023
b8633d5
Add content/docs/helpers/icon-link.mdx
julien-deramond Mar 1, 2023
9237ea0
Add content/docs/helpers/position.mdx
julien-deramond Mar 1, 2023
6cc541a
Add content/docs/helpers/ratio.mdx
julien-deramond Mar 1, 2023
8ef8a9e
Add content/docs/helpers/stacks.mdx
julien-deramond Mar 1, 2023
467b073
Add content/docs/helpers/stretched-link.mdx
julien-deramond Mar 1, 2023
0c94de0
Add content/docs/helpers/text-truncation.mdx
julien-deramond Mar 1, 2023
5dbef98
Add content/docs/helpers/vertical-rule.mdx
julien-deramond Mar 1, 2023
f3f1b81
Add content/docs/helpers/visually-hidden.mdx
julien-deramond Mar 1, 2023
da0316d
Add content/docs/extend + docs/extend/approach.mdx
julien-deramond Mar 1, 2023
9fc3ed0
Add content/docs/extend/icons.mdx
julien-deramond Mar 1, 2023
b9f9b0d
Add content/docs/migration.mdx
julien-deramond Mar 1, 2023
facba5f
Add content/docs/about + docs/about/brand.mdx
julien-deramond Mar 1, 2023
42ff703
Add content/docs/about/license.mdx
julien-deramond Mar 1, 2023
4b507a0
Add content/docs/about/overview.mdx
julien-deramond Mar 1, 2023
cb9f1a3
Handle 'core-team' in lib/data.ts + docs/about/team.mdx
julien-deramond Mar 1, 2023
4fc28fb
Handle 'translations' in libs/data.ts + /docs/about/translations.mdx
julien-deramond Mar 1, 2023
a712db4
Add content/docs/utilities + docs/utilities/api.mdx
julien-deramond Mar 1, 2023
4f3308c
Handle custom_color in src/libs/data.ts + docs/utilities/background.mdx
julien-deramond Mar 1, 2023
c8f292c
Add content/docs/utilities/borders.mdx
julien-deramond Mar 1, 2023
a93e888
Finalize content/docs/utilities in one final batch: colors, display, …
julien-deramond Mar 1, 2023
c3bf637
Implementation of ScssDocs.astro (#19)
julien-deramond Mar 2, 2023
cdfbd75
Thingies (#20)
HiDeoo Mar 6, 2023
84ed96c
Finalize /pages/docs/[version]/examples/index.astro
julien-deramond Mar 6, 2023
63dfc03
Finalized src/pages/docs/[version]/examples/index.astro
julien-deramond Mar 6, 2023
f7c87f0
Sorry for the notif, forgot to remove some comments
julien-deramond Mar 6, 2023
dd0dfea
Merge Bootstrap content from d576590 to d5f4532
julien-deramond Mar 6, 2023
7ab4e06
Drop site-new/node_modules/.vite files
julien-deramond Mar 6, 2023
c775a70
Reinsert /node_modules/ within .gitignore
julien-deramond Mar 6, 2023
2d661d8
More things (#21)
HiDeoo Mar 7, 2023
f52f0f1
Add Buttons example
julien-deramond Mar 7, 2023
d517c7a
Add Badges example
julien-deramond Mar 7, 2023
964c51a
Add default title for ExamplesLayout.astro
julien-deramond Mar 7, 2023
b1d9b82
Add Album RTL example
julien-deramond Mar 7, 2023
5c6f4cc
Add Blog + Blog RTL examples
julien-deramond Mar 7, 2023
f3d4bff
Add Breadcrumbs example
julien-deramond Mar 7, 2023
d77ac28
Add Carousel + Carousel RTL examples
julien-deramond Mar 7, 2023
be3c214
Add Cover example .
julien-deramond Mar 7, 2023
085a0c5
Even more thingies (#22)
HiDeoo Mar 13, 2023
eeadcf2
New examples/cheatsheet
julien-deramond Mar 13, 2023
a79b2a7
Drop Placeholder import from examples
julien-deramond Mar 13, 2023
418bd22
Drop Example import from cheatsheet example
julien-deramond Mar 13, 2023
35b3d08
Add Checkout examples
julien-deramond Mar 13, 2023
5cadd1a
Add Dashboard examples
julien-deramond Mar 13, 2023
f0cbb5d
Add Dropdowns examples
julien-deramond Mar 13, 2023
284754f
Add Footers examples
julien-deramond Mar 13, 2023
dc0bb8d
Add Grid examples
julien-deramond Mar 13, 2023
acd7dd5
Add Headers example
julien-deramond Mar 13, 2023
52cd3ab
Add Heroes example
julien-deramond Mar 13, 2023
6af9133
Add Jumbotron example
julien-deramond Mar 13, 2023
74042ca
Add Jumbotrons example
julien-deramond Mar 13, 2023
d8d9e0e
Add List Groups example
julien-deramond Mar 13, 2023
b2444fd
Add Masonry example
julien-deramond Mar 13, 2023
9f093ee
Add Modals example
julien-deramond Mar 13, 2023
5e8817f
Add Navbar Bottom example
julien-deramond Mar 13, 2023
fc71726
Add Navbar Fixed example
julien-deramond Mar 13, 2023
5fc4f8f
Add Navbar Static example
julien-deramond Mar 13, 2023
234ee19
Add Navbars example
julien-deramond Mar 13, 2023
b9050c8
Add Navbars Offcanvas example
julien-deramond Mar 13, 2023
9408e9f
Finalized Offcanvas Navbar example
julien-deramond Mar 13, 2023
a571439
Add Pricing example
julien-deramond Mar 13, 2023
4074c96
Add Product example
julien-deramond Mar 13, 2023
9a392b7
Add Sidebars example
julien-deramond Mar 13, 2023
04eaaa1
Add Sign-in example
julien-deramond Mar 13, 2023
9645efc
Add Starter Template example
julien-deramond Mar 13, 2023
fa971d3
Add Sticky Footer example
julien-deramond Mar 13, 2023
d79e934
Add Sticky Footer Navbar example
julien-deramond Mar 13, 2023
900315c
Add Cheatsheet RTL example
julien-deramond Mar 14, 2023
d3e6e81
Small thingies (#23)
HiDeoo Mar 14, 2023
014ed9e
Merge Bootstrap content from d5f453 to aadfe7e
julien-deramond Mar 24, 2023
e5a3df8
Fix wrong modified file for scrollspy
julien-deramond Mar 24, 2023
a95ad53
Fix placeholders.mdx
julien-deramond Mar 24, 2023
dc694e3
Delete site-new/static/docs/\[version\]/assets/docs
julien-deramond Mar 24, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 1 addition & 4 deletions .github/workflows/browserstack.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: BrowserStack

on:
push:
branches:
- "**"
- "!dependabot/**"
# push:
workflow_dispatch:

env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/bundlewatch.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Bundlewatch

on:
push:
branches:
- main
pull_request:
# push:
# branches-ignore:
# - "dependabot/**"
# pull_request:
workflow_dispatch:

env:
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/calibreapp-image-actions.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Compress Images

on:
pull_request:
paths:
- '**.jpg'
- '**.jpeg'
- '**.png'
- '**.webp'
# pull_request:
# paths:
# - '**.jpg'
# - '**.jpeg'
# - '**.png'
# - '**.webp'
workflow_dispatch:

jobs:
build:
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: "CodeQL"

on:
push:
branches:
- main
- v4-dev
- "!dependabot/**"
pull_request:
branches:
- main
- v4-dev
- "!dependabot/**"
schedule:
- cron: "0 2 * * 4"
#push:
# branches:
# - main
# - v4-dev
# - "!dependabot/**"
#pull_request:
# branches:
# - main
# - v4-dev
# - "!dependabot/**"
#schedule:
# - cron: "0 2 * * 5"
workflow_dispatch:

jobs:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cspell.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: cspell

on:
push:
branches:
- main
pull_request:
#push:
# branches-ignore:
# - "dependabot/**"
#pull_request:
workflow_dispatch:

env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/css.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: CSS

on:
push:
branches:
- main
pull_request:
#push:
# branches-ignore:
# - "dependabot/**"
#pull_request:
workflow_dispatch:

env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Docs

on:
push:
branches:
- main
pull_request:
#push:
# branches-ignore:
# - "dependabot/**"
#pull_request:
workflow_dispatch:

env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/js.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: JS Tests

on:
push:
branches:
- main
pull_request:
#push:
# branches-ignore:
# - "dependabot/**"
#pull_request:
workflow_dispatch:

env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Lint

on:
push:
branches:
- main
pull_request:
#push:
# branches-ignore:
# - "dependabot/**"
#pull_request:
workflow_dispatch:

env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/node-sass.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: CSS (node-sass)

on:
push:
branches:
- main
pull_request:
#push:
# branches-ignore:
# - "dependabot/**"
#pull_request:
workflow_dispatch:

env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Release notes

on:
push:
branches:
- main
#push:
# branches:
# - main
workflow_dispatch:

permissions:
Expand Down
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,12 @@ Thumbs.db
# Folders to ignore
/js/coverage/
/node_modules/

# TODO(HiDeoo) Rename or remove later
/site-new/dist
# TODO(HiDeoo) This could be avoided by modifying the other node_modules ignore rule.
/site-new/node_modules
# TODO(HiDeoo) Rename later
/site-new/.astro
# TODO(HiDeoo) Rename later
/site-new/public
13 changes: 13 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Prettier is only used for the webite

# TODO(HiDeoo) rename later
site-new/.astro
site-new/dist
site-new/public
site-new/src/assets
site-new/src/scss
site-new/src/pages/**/*.md
site-new/src/pages/**/*.mdx
site-new/src/content/**/*.mdx
site-new/src/layouts/RedirectLayout.astro
site-new/static
129 changes: 46 additions & 83 deletions config.yml
Original file line number Diff line number Diff line change
@@ -1,89 +1,52 @@
languageCode: "en"
title: "Bootstrap"
baseURL: "https://getbootstrap.com"

security:
enableInlineShortcodes: true
funcs:
getenv:
- ^HUGO_
- NETLIFY

markup:
goldmark:
renderer:
unsafe: true
highlight:
noClasses: false
tableOfContents:
startLevel: 2
endLevel: 6

buildDrafts: true
buildFuture: true

enableRobotsTXT: true
metaDataFormat: "yaml"
disableKinds: ["404", "taxonomy", "term", "RSS"]
# TODO(HiDeoo) Fix path
docsDir: "site-new"

# TODO(HiDeoo) Check if still relevant, update Astro config and prolly remove this value from here
publishDir: "_site"

module:
mounts:
- source: dist
target: static/docs/5.3/dist
- source: site/assets
target: assets
- source: site/content
target: content
- source: site/data
target: data
- source: site/layouts
target: layouts
- source: site/static
target: static
- source: site/static/docs/5.3/assets/img/favicons/apple-touch-icon.png
target: static/apple-touch-icon.png
- source: site/static/docs/5.3/assets/img/favicons/favicon.ico
target: static/favicon.ico

params:
subtitle: "The most popular HTML, CSS, and JS library in the world."
description: "Powerful, extensible, and feature-packed frontend toolkit. Build and customize with Sass, utilize prebuilt grid system and components, and bring projects to life with powerful JavaScript plugins."
authors: "Mark Otto, Jacob Thornton, and Bootstrap contributors"

current_version: "5.3.0-alpha1"
current_ruby_version: "5.3.0-alpha1"
docs_version: "5.3"
rfs_version: "v9.0.6"
github_org: "https://github.com/twbs"
repo: "https://github.com/twbs/bootstrap"
twitter: "getbootstrap"
opencollective: "https://opencollective.com/bootstrap"
blog: "https://blog.getbootstrap.com/"
themes: "https://themes.getbootstrap.com/"
icons: "https://icons.getbootstrap.com/"
swag: "https://cottonbureau.com/people/bootstrap"

download:
source: "https://github.com/twbs/bootstrap/archive/v5.3.0-alpha1.zip"
dist: "https://github.com/twbs/bootstrap/releases/download/v5.3.0-alpha1/bootstrap-5.3.0-alpha1-dist.zip"
dist_examples: "https://github.com/twbs/bootstrap/releases/download/v5.3.0-alpha1/bootstrap-5.3.0-alpha1-examples.zip"

cdn:
# See https://www.srihash.org for info on how to generate the hashes
css: "https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
css_hash: "sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD"
css_rtl: "https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.rtl.min.css"
css_rtl_hash: "sha384-WJUUqfoMmnfkBLne5uxXj+na/c7sesSJ32gI7GfCk4zO4GthUKhSEGyvQ839BC51"
js: "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
js_hash: "sha384-mQ93GR66B00ZXjt0YO5KlohRA5SY2XofN4zfuZxLkoj1gXtW8ANNCe9d5Y3eG5eD"
js_bundle: "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
js_bundle_hash: "sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN"
popper: "https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
popper_hash: "sha384-oBqDVmMz9ATKxIep9tiCxS/Z9fNfEXiDAYTujMAeBAsjFuCZSmKbSSUnQlmh/jp3"
popper_esm: "https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/esm/popper.min.js"

anchors:
min: 2
max: 5
subtitle: "The most popular HTML, CSS, and JS library in the world."
description: "Powerful, extensible, and feature-packed frontend toolkit. Build and customize with Sass, utilize prebuilt grid system and components, and bring projects to life with powerful JavaScript plugins."
authors: "Mark Otto, Jacob Thornton, and Bootstrap contributors"

current_version: "5.3.0-alpha1"
current_ruby_version: "5.3.0-alpha1"
docs_version: "5.3"
rfs_version: "v9.0.6"
github_org: "https://github.com/twbs"
repo: "https://github.com/twbs/bootstrap"
twitter: "getbootstrap"
opencollective: "https://opencollective.com/bootstrap"
blog: "https://blog.getbootstrap.com/"
themes: "https://themes.getbootstrap.com/"
icons: "https://icons.getbootstrap.com/"
swag: "https://cottonbureau.com/people/bootstrap"

download:
source: "https://github.com/twbs/bootstrap/archive/v5.3.0-alpha1.zip"
dist: "https://github.com/twbs/bootstrap/releases/download/v5.3.0-alpha1/bootstrap-5.3.0-alpha1-dist.zip"
dist_examples: "https://github.com/twbs/bootstrap/releases/download/v5.3.0-alpha1/bootstrap-5.3.0-alpha1-examples.zip"

cdn:
# See https://www.srihash.org for info on how to generate the hashes
css: "https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
css_hash: "sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD"
css_rtl: "https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.rtl.min.css"
css_rtl_hash: "sha384-WJUUqfoMmnfkBLne5uxXj+na/c7sesSJ32gI7GfCk4zO4GthUKhSEGyvQ839BC51"
js: "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
js_hash: "sha384-mQ93GR66B00ZXjt0YO5KlohRA5SY2XofN4zfuZxLkoj1gXtW8ANNCe9d5Y3eG5eD"
js_bundle: "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
js_bundle_hash: "sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN"
popper: "https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
popper_hash: "sha384-oBqDVmMz9ATKxIep9tiCxS/Z9fNfEXiDAYTujMAeBAsjFuCZSmKbSSUnQlmh/jp3"
popper_esm: "https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/esm/popper.min.js"

anchors:
min: 2
max: 5

toc:
min: 2
max: 6
Loading