aboutsummaryrefslogtreecommitdiff
path: root/site/layouts/partials/header.html
AgeCommit message (Collapse)AuthorFilesLines
2024-03-19docs: move algolia config to hugo configXhmikosR1-1/+1
2024-03-19docs: bundle assets with HugoXhmikosR1-3/+5
Also: * load any docs' third-party dependencies from node_modules (except for examples) * exclude docsearch from layouts that don't use it * preconnect to algolia only when not examples layout * switch to `RelPermalink` * refactor JS assets into partials
2024-03-06templates: use `urls.JoinPath` when handling URLsXhmikosR1-1/+1
2024-03-05header.html: remove unneeded `relUrl`XhmikosR1-1/+1
2023-07-05Add docs search to homepage (#38850)Mewen Le Hô1-2/+0
* Compliance to Success Criterion 3.2.3 Consistent Navigation * Update docs-navbar.html --------- Co-authored-by: Mark Otto <[email protected]>
2022-12-18docs: move color-mode script (#37658)XhmikosR1-3/+3
* docs: move color-mode script * Move color-modes.js in static folder * Async load color-modes.js * Switch to DOMContentLoaded * Revert async loading
2022-11-28Add dark mode support (#35857)Mark Otto1-0/+3
* Add dark mode to docs * Minor fix: missing space indentation * Minor fix: revert utilities/z-index added-in modification * Remove prev: and next: from doc because extracted to another PR * Use .bg-body-tertiary in all Utilities > Overflow examples * fix example * Fix up spacing examples * Update box-shadow Sass variables and utilities to auto-adjust to color modes * Remove unused docs class * Refactor form styles to use CSS variable for background images on .form-check and .form-switch * Fix docs selector * Rename shortcut for clarity * Heading consistency * Reintroduce missing 4th grid item in Utilities > Spacing example * Fix bundlewatch * .bd-callout* rendering is OK so removing comments in the code * Update scss/_utilities.scss Co-authored-by: Julien Déramond <[email protected]> * Fix gutters example styling * Fix text colors on background utils docs * redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken * fix some color utils examples * Deprecate mixin notice * Deprecate notice for list-group-item-variant() mixin * Revamp new link CSS vars * Use map-keys in some each Sass files * Remove list-group-item-variant mixin ref in sass loop desc * Display CSS vars scoped to our built-in dark mode * Revert previous commit * Fix list group variant link * Fix typo * Remove imports of alert/list-group mixins in scss/_mixins.scss * Small formatting + comments removal in scss/_content.scss * Fix alert links colors * fix dropdown border-radius mixin * fix link color and underline again, this time using CSS var override for color var and fallback value for the underline * fix colors on docs navbar for dark mode * remove two changes * missing ref * another link underline fix, just use sass vars for link decoration for now * missing color bg docs, plus move dropdown override to scss * more changes from review * fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin * Few fixes around type - Restored CSS variable for color on headings, this time with a fallback value - In conjunction, restored and wrapped the default CSS var with a null value check - Split headings and paragraphs docs in Reboot, elaborated on them * Restyle custom details > summary element in docs * Rewrite some migration docs * fix form checks * Fix up some navbar styling, tweak docs callout * Fix select images, mostly for validation styling * Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs * Update site/content/docs/5.2/components/scrollspy.md Co-authored-by: Julien Déramond <[email protected]> * Apply suggestions from code review Co-authored-by: Julien Déramond <[email protected]> * mention form control css vars in migration guide * Tweak grid and flex docs background examples * clarify some docs * fix some more things Co-authored-by: Julien Déramond <[email protected]> Co-authored-by: Julien Déramond <[email protected]>
2022-07-26Simplify social images and add ability to set per-page images (#36804)Mark Otto1-1/+1
* Simplify social images and add ability to set per-page images - Removes the homepage summary layout in favor of the larger image card (makes it more consistent with other pages) - Reuses new thumbnails for Webpack, Parcel, and Vite guides to add their new social images * Update default social card * Change description to subtitle, add longer description to match homepage * Remove social_image_path, use inline conditions for social images
2022-05-06v5.2.0: Migrate to DocSearch 3 (#36176)Mark Otto1-0/+4
* Migrate to DocSearch v3 Fixes #33338 * initialize `siteDocsVersion` const after the proper check * Update site/layouts/partials/stylesheet.html Co-authored-by: GeoSot <[email protected]> * Update header.html * code review changes * Update search.js * Fix contrast issue, tweak some styles * Fix some navbar changes * temporary safari fix for docsearch3 Co-authored-by: GeoSot <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2020-02-14Adding version number to documentation `<title>` (#30090)Mike Rogers1-1/+1
Co-authored-by: Martijn Cuppens <[email protected]>
2019-08-08docs: minor simplification. (#29227)XhmikosR1-1/+1
2019-04-15Update hugo-bin to v0.43.1 (Hugo 0.55.1). (#28631)XhmikosR1-1/+1
2019-03-13Add support for meta robots.XhmikosR1-0/+4
2019-03-13Switch to Hugo.XhmikosR1-0/+17
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!