XhmikosR
24f749cb76
docs: bundle assets with Hugo
...
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-19 11:25:15 +02:00
XhmikosR
930740afbc
Switch to using hugo.IsProduction
( #39763 )
BrowserStack / browserstack (push) Has been cancelled
Bundlewatch / bundlewatch (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
cspell / cspell (push) Has been cancelled
CSS / css (push) Has been cancelled
Docs / docs (push) Has been cancelled
JS Tests / JS Tests (push) Has been cancelled
Lint / lint (push) Has been cancelled
CSS (node-sass) / css (push) Has been cancelled
Release notes / update_release_draft (push) Has been cancelled
2024-03-08 12:41:17 +02:00
XhmikosR
58880cfbac
Remove useless crossorigin="anonymous" attributes
2024-03-05 20:34:45 +02:00
Mewen Le Hô
4315801856
Add docs search to homepage ( #38850 )
...
* Compliance to Success Criterion 3.2.3 Consistent Navigation
* Update docs-navbar.html
---------
Co-authored-by: Mark Otto <markdotto@gmail.com>
2023-07-05 22:10:13 -07:00
Mark Otto
6b49d26b21
v5.2.0: Migrate to DocSearch 3 ( #36176 )
...
* Migrate to DocSearch v3
Fixes #33338
* initialize `siteDocsVersion` const after the proper check
* Update site/layouts/partials/stylesheet.html
Co-authored-by: GeoSot <geo.sotis@gmail.com>
* 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 <geo.sotis@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-05-06 16:56:43 -07:00
XhmikosR
283cbd9026
Use path.Join
when joining paths
2021-08-31 17:24:38 +03:00
Gaël Poupard
aaff11a0b3
docs(examples): new cheatsheet and RTL examples
2020-12-04 07:52:03 +02:00
XhmikosR
9f211231b0
docs: use expanded
Sass output style for development ( #32176 )
2020-11-17 16:43:36 +02:00
XhmikosR
5a3f273b60
Move href
attribute first ( #31835 )
2020-10-22 09:38:15 +03:00
XhmikosR
2bd3bd842d
Use safeHTMLAttr
in the integrity
attributes.
2020-05-07 20:53:21 +03:00
XhmikosR
b8ffcdf9a4
Use hugo.Environment
instead of getenv
( #29240 )
...
This is set automatically to "development" when the local server is running, and to "production" when Hugo builds the site.
2020-02-22 08:54:43 +02:00
Martijn Cuppens
b39f704954
Cleanup algolia theming ( #29888 )
2019-12-25 21:08:15 +01:00
XhmikosR
129bb08fc4
Use Hugo for our docs Sass and JS. ( #29280 )
...
Now there's only one command needed to run the docs: `npm run docs-serve`.
Also, simplify the npm scripts.
2019-09-17 00:22:49 +03:00
XhmikosR
e864f65789
Fix docs search. ( #29067 )
2019-07-17 16:05:56 +03:00
XhmikosR
d95d30029f
Switch to Hugo.
...
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!
2019-03-13 19:22:59 +02:00