aboutsummaryrefslogtreecommitdiff
path: root/site/layouts/partials/scripts.html
AgeCommit message (Collapse)AuthorFilesLines
2020-11-19Revert "Use Hugo mounts for our docs vendor files." (#32210)XhmikosR1-4/+14
* Revert "Adapt to the recent main changes" This reverts commit 50d892167036f440f9224327b0a48cf72a2e44b6. * Revert "Add Hugo Pipes logic for local and vendored scripts." This reverts commit 3fcfd606f2c264f1d3434e99c140a05edec461c3. * Revert "Use Hugo mounts for our docs vendor JS files." This reverts commit 6b071116f3b09b59a423ad999efbd67f8645bfa5.
2020-11-19Add Hugo Pipes logic for local and vendored scripts.Regis Philibert1-14/+4
2020-11-19Use Hugo mounts for our docs vendor JS files.XhmikosR1-1/+1
2020-05-07Use `safeHTMLAttr` in the `integrity` attributes.XhmikosR1-1/+1
2020-02-22Use `hugo.Environment` instead of `getenv` (#29240)XhmikosR1-2/+2
This is set automatically to "development" when the local server is running, and to "production" when Hugo builds the site.
2020-02-17scripts.html: don't load docsearch JS when it's not needed (#30205)XhmikosR1-1/+1
2019-11-04Move docs JS one folder up. (#29632)XhmikosR1-1/+1
2019-09-17Use Hugo for our docs Sass and JS. (#29280)XhmikosR1-9/+10
Now there's only one command needed to run the docs: `npm run docs-serve`. Also, simplify the npm scripts.
2019-07-17Fix docs search. (#29067)XhmikosR1-1/+1
2019-03-13Switch to Hugo.XhmikosR1-0/+19
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!