diff --git a/site/data/sidebar.yml b/site/data/sidebar.yml index 61cfd55260..f31bd5aff3 100644 --- a/site/data/sidebar.yml +++ b/site/data/sidebar.yml @@ -10,12 +10,17 @@ - title: Contents - title: Browsers & devices - title: JavaScript - - title: Webpack - - title: Parcel - - title: Vite - title: Accessibility - title: RFS - title: RTL + +- title: Guides + icon: map + icon_color: green + pages: + - title: Webpack + - title: Parcel + - title: Vite - title: Contribute - title: Customize diff --git a/site/src/assets/examples/starter-template/index.astro b/site/src/assets/examples/starter-template/index.astro index 0af3165384..af09274d0a 100644 --- a/site/src/assets/examples/starter-template/index.astro +++ b/site/src/assets/examples/starter-template/index.astro @@ -75,25 +75,25 @@ export const title = 'Starter Template'
  • - + Bootstrap Webpack guide
  • - + Bootstrap Parcel guide
  • - + Bootstrap Vite guide
  • - + Contributing to Bootstrap diff --git a/site/src/components/footer/Footer.astro b/site/src/components/footer/Footer.astro index ab4e19a1e1..d8144c280f 100644 --- a/site/src/components/footer/Footer.astro +++ b/site/src/components/footer/Footer.astro @@ -48,9 +48,9 @@ import { getVersionedDocsPath } from '@libs/path'
    diff --git a/site/src/components/home/GetStarted.astro b/site/src/components/home/GetStarted.astro index 4ad6807c76..817d729698 100644 --- a/site/src/components/home/GetStarted.astro +++ b/site/src/components/home/GetStarted.astro @@ -70,7 +70,7 @@ import Code from '@shortcodes/Code.astro'
    + + + -**Using Bootstrap with another build tool?** Consider reading our guides for compiling with [Webpack]([[docsref:/getting-started/webpack]]), [Parcel]([[docsref:/getting-started/parcel]]), or [Vite]([[docsref:/getting-started/vite]]). We also have production-ready demos in [our examples repository on GitHub](https://github.com/twbs/examples). +**Using Bootstrap with another build tool?** Consider reading our guides for compiling with [Webpack]([[docsref:/guides/webpack]]), [Parcel]([[docsref:/guides/parcel]]), or [Vite]([[docsref:/guides/vite]]). We also have production-ready demos in [our examples repository on GitHub](https://github.com/twbs/examples). ## Including diff --git a/site/src/content/docs/getting-started/download.mdx b/site/src/content/docs/getting-started/download.mdx index 4088b79d30..bc2cc8da8c 100644 --- a/site/src/content/docs/getting-started/download.mdx +++ b/site/src/content/docs/getting-started/download.mdx @@ -19,10 +19,10 @@ This doesn’t include documentation, source files, or any optional JavaScript d Compile Bootstrap with your own asset pipeline by downloading our source Sass, JavaScript, and documentation files. This option requires some additional tooling: -- [Sass compiler]([[docsref:/getting-started/contribute#sass]]) for compiling Sass source files into CSS files +- [Sass compiler]([[docsref:/guides/contribute#sass]]) for compiling Sass source files into CSS files - [Autoprefixer](https://github.com/postcss/autoprefixer) for CSS vendor prefixing -Should you require our full set of [build tools]([[docsref:/getting-started/contribute#tooling-setup]]), they are included for developing Bootstrap and its docs, but they’re likely unsuitable for your own purposes. +Should you require our full set of [build tools]([[docsref:/guides/contribute#tooling-setup]]), they are included for developing Bootstrap and its docs, but they’re likely unsuitable for your own purposes. Download source @@ -68,7 +68,7 @@ openssl dgst -sha384 -binary bootstrap.min.js | openssl base64 -A ## Package managers -Pull in Bootstrap’s **source files** into nearly any project with some of the most popular package managers. No matter the package manager, Bootstrap will **require a [Sass compiler]([[docsref:/getting-started/contribute#sass]]) and [Autoprefixer](https://github.com/postcss/autoprefixer)** for a setup that matches our official compiled versions. +Pull in Bootstrap’s **source files** into nearly any project with some of the most popular package managers. No matter the package manager, Bootstrap will **require a [Sass compiler]([[docsref:/guides/contribute#sass]]) and [Autoprefixer](https://github.com/postcss/autoprefixer)** for a setup that matches our official compiled versions. ### npm diff --git a/site/src/content/docs/getting-started/contribute.mdx b/site/src/content/docs/guides/contribute.mdx similarity index 100% rename from site/src/content/docs/getting-started/contribute.mdx rename to site/src/content/docs/guides/contribute.mdx diff --git a/site/src/content/docs/getting-started/parcel.mdx b/site/src/content/docs/guides/parcel.mdx similarity index 100% rename from site/src/content/docs/getting-started/parcel.mdx rename to site/src/content/docs/guides/parcel.mdx diff --git a/site/src/content/docs/getting-started/vite.mdx b/site/src/content/docs/guides/vite.mdx similarity index 100% rename from site/src/content/docs/getting-started/vite.mdx rename to site/src/content/docs/guides/vite.mdx diff --git a/site/src/content/docs/getting-started/webpack.mdx b/site/src/content/docs/guides/webpack.mdx similarity index 100% rename from site/src/content/docs/getting-started/webpack.mdx rename to site/src/content/docs/guides/webpack.mdx