From fb1ecc5ba739813209c4dc84983a969a549b9c95 Mon Sep 17 00:00:00 2001 From: Andrii Kurdiumov Date: Mon, 16 Sep 2024 15:33:46 +0500 Subject: [PATCH] Modify Boostrap to be servable from Github pages --- .github/workflows/docs.yml | 2 +- hugo.yml | 4 ++-- site/content/docs/5.3/_index.html | 2 +- site/content/docs/5.3/about/brand.md | 6 +++--- site/content/docs/5.3/components/navbar.md | 4 ++-- site/content/docs/5.3/examples/_index.md | 8 ++++---- .../5.3/examples/cheatsheet-rtl/index.html | 6 +++--- .../docs/5.3/examples/cheatsheet/index.html | 6 +++--- .../docs/5.3/examples/checkout-rtl/index.html | 2 +- .../docs/5.3/examples/checkout/index.html | 2 +- .../docs/5.3/examples/heroes/index.html | 2 +- .../5.3/examples/offcanvas-navbar/index.html | 4 ++-- .../docs/5.3/examples/pricing/index.html | 2 +- .../docs/5.3/examples/sign-in/index.html | 2 +- site/content/docs/5.3/forms/validation.md | 2 +- .../content/docs/5.3/getting-started/parcel.md | 6 +++--- site/content/docs/5.3/getting-started/vite.md | 6 +++--- .../docs/5.3/getting-started/webpack.md | 6 +++--- site/content/docs/_index.html | 2 +- .../_default/_markup/render-heading.html | 2 +- site/layouts/_default/examples.html | 6 +++--- site/layouts/_default/single.html | 4 ++-- site/layouts/partials/docs-navbar.html | 4 ++-- site/layouts/partials/docs-sidebar.html | 4 ++-- site/layouts/partials/docs-versions.html | 2 +- site/layouts/partials/favicons.html | 12 ++++++------ site/layouts/partials/footer.html | 16 ++++++++-------- site/layouts/partials/header.html | 4 ++-- .../partials/home/components-utilities.html | 8 ++++---- site/layouts/partials/home/css-variables.html | 4 ++-- site/layouts/partials/home/customize.html | 6 +++--- site/layouts/partials/home/get-started.html | 18 +++++++++--------- site/layouts/partials/home/icons.html | 4 ++-- site/layouts/partials/home/masthead.html | 8 ++++---- site/layouts/partials/home/plugins.html | 6 +++--- site/layouts/partials/home/themes.html | 4 ++-- site/layouts/partials/scripts.html | 4 ++-- site/layouts/partials/social.html | 2 +- site/layouts/partials/stylesheet.html | 6 +++--- site/layouts/shortcodes/docsref.html | 2 +- 40 files changed, 100 insertions(+), 100 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e641bb13d5f5..4a677678f2e3 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -59,7 +59,7 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: - path: ./_site + path: ./_site/custom-bootstrap # Deployment job deploy: diff --git a/hugo.yml b/hugo.yml index 17f8b7b6806e..0935394c5306 100644 --- a/hugo.yml +++ b/hugo.yml @@ -1,6 +1,6 @@ languageCode: "en" title: "Bootstrap" -baseURL: "https://getbootstrap.com" +baseURL: "https://kant2002.github.io/custom-bootstrap/" security: enableInlineShortcodes: true @@ -28,7 +28,7 @@ enableRobotsTXT: true metaDataFormat: "yaml" disableKinds: ["404", "taxonomy", "term", "RSS"] -publishDir: "_site" +publishDir: "_site/custom-bootstrap" module: mounts: diff --git a/site/content/docs/5.3/_index.html b/site/content/docs/5.3/_index.html index b04e391bc4be..ac70fa2b1d3d 100644 --- a/site/content/docs/5.3/_index.html +++ b/site/content/docs/5.3/_index.html @@ -1,5 +1,5 @@ --- layout: redirect sitemap_exclude: true -redirect: "/docs/5.3/getting-started/introduction/" +redirect: "docs/5.3/getting-started/introduction/" --- diff --git a/site/content/docs/5.3/about/brand.md b/site/content/docs/5.3/about/brand.md index 59f262eff853..c549ea6bd3df 100644 --- a/site/content/docs/5.3/about/brand.md +++ b/site/content/docs/5.3/about/brand.md @@ -13,17 +13,17 @@ Have a need for Bootstrap's brand resources? Great! We have only a few guideline When referencing Bootstrap, use our logo mark. Do not modify our logos in any way. Do not use Bootstrap's branding for your own open or closed source projects.
- Bootstrap + Bootstrap
Our logo mark is also available in black and white. All rules for our primary logo apply to these as well.
- Bootstrap + Bootstrap
- Bootstrap + Bootstrap
diff --git a/site/content/docs/5.3/components/navbar.md b/site/content/docs/5.3/components/navbar.md index ab6c2305ce8a..7c2b445edab6 100644 --- a/site/content/docs/5.3/components/navbar.md +++ b/site/content/docs/5.3/components/navbar.md @@ -109,7 +109,7 @@ You can replace the text within the `.navbar-brand` with an ``. @@ -123,7 +123,7 @@ You can also make use of some additional utilities to add an image and text at t