build: major update to jekyll 3.8 (#1038)

* Major update to jekyll 3.8

Fixes after update:
- Fix access to layout variables

Changes in generated site:
- post dates are converted to build-local TZ
- Irrelevant whitespace changes
- Minor changes to sitemap.xml

* chore: changes page to layout

Co-authored-by: Erisu <ellis.bryan@gmail.com>
3 files changed
tree: 83b7f416eeef71c27af51f15e4e454c4f0f7867c
  1. .github/
  2. conf/
  3. doc/
  4. tools/
  5. www/
  6. .asf.yaml
  7. .eslintrc.yml
  8. .gitignore
  9. .travis.yml
  10. CONTRIBUTING.md
  11. Gemfile
  12. gulpfile.js
  13. LICENSE
  14. NOTICE
  15. package-lock.json
  16. package.json
  17. README.md
  18. VERSION
README.md

Build Status

Cordova Docs / Website

This repository contains the source code for the Cordova website at cordova.apache.org.

The site is also reachable with the short domain cordova.io, the important subareas as docs.cordova.io, blog.cordova.io and plugins.cordova.io.

Technical Overview

The main parts are built as a static site with Jekyll, containing the homepage and subpages, the blog and the docs.
The plugin search is an embedded PreactJS application.

Here in the repository the code of the actual site is located in /www with its subfolder /docs, /blog and /plugins.
Some additional content is pulled in during the build process.

The site is built using a gulp script that is run by Node.JS (npm run-script build). (Alternatively you can build the site using Make.) Deployments usually happen on commits to master via Travis, which runs buildAndDeploy.sh and commits the built site to a SVN repository.

Instructions

Common Tasks

Attributions

For attributions for used open-source work, please see the attributions page: www/attributions.html.