ribalba / documentation

Hugo Source files of the Documentation on https://docs.green-coding.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Documentation of the Green Metrics Tool

This is only the source.

Here is the Live Version

Updating

The theme is a child-theme of Doks.

The main theme is referenced as node_module and thus updating is handled via npm.

Following files have been overloaded and should be checked if they are changed on an update:

  • /layouts/partials/* (Removed integrity protection to run on Cloudflare CDN)
  • /layouts/index.headers (Removed CSP netlify)
  • /layouts/sitemap.xml (was not rendering without)

Deploying to Cloudflare

  • Framework preset: hugo
  • Build command: npm install && hugo
  • HUGO_VERSION: 0.99.0
  • NODE_VERSION: NODE_VERSION

Measuring energy for build

If you want to measure the energy just use the usage_scenario.yml file inside which will tell you how much Joules / kWh the build will cost.

You can find all the measurements on https://metrics.green-coding.org/ by searching for the repository URL.

About

Hugo Source files of the Documentation on https://docs.green-coding.org


Languages

Language:HTML 71.6%Language:JavaScript 17.7%Language:SCSS 9.2%Language:CSS 1.4%