Commit Graph

7 Commits

Author SHA1 Message Date
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
XhmikosR f1e47e24c3
scripts.html: don't load docsearch JS when it's not needed (#30205) 2020-02-17 20:52:28 +02:00
XhmikosR a28adc7666
Move docs JS one folder up. (#29632) 2019-11-04 14:44:07 +02: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