Skip to content

Project documentation for the 2020-21 W3C website redesign project

Notifications You must be signed in to change notification settings

w3c/w3c-website-redesign-documentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

W3C website redesign project docs site

Netlify Status

Project documentation for the 2020 W3C website redesign project hosted on https://w3c.studio24.net/

Getting started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project to staging and prod environments.

Site URLs

The production site is cached via Cloudflare.

Requirements

Installation

Make sure you have Ruby, Bundler and Jekyll installed, see instructions for Mac.

In project folder, run:

bundle install

Build commands

To build and serve the site locally via http://localhost:4000

bundle exec jekyll serve

Deployment

We use Netlify to build and host the working in the open site.

Content is published from the production production branch. See publishing content for how to publish content to production.

Any changes committed to the develop branch are auto-deployed to https://develop--ecstatic-mccarthy-0be5bd.netlify.app/

Netlify automatically creates a preview URL for any pull requests that are created to merge into the production branch. Login to Netlify to view deploy previews.

Templating

The website uses the Just the Docs theme and Kramdown markdown formatting.

Templates are loaded first from the local _layouts folder, next from the parent templates located in the theme. You can find the theme location bia:

bundle info --path just-the-docs

See https://jekyllrb.com/docs/themes/

CSS overrides for the theme are currently written in _sass/overrides.scss