Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneporter committed Jun 3, 2018
0 parents commit fde97bd
Show file tree
Hide file tree
Showing 524 changed files with 15,101 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true

# Matches multiple files with brace expansion notation
# Set default charset
[*.{js}]
charset = utf-8
indent_style = space
indent_size = 2
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
_site/
.sass-cache/
.jekyll-metadata
.DS_Store
.Rproj.user
.Rhistory
.spyproject/
*__pycache__/
*.Rproj
Gemfile.lock
deploy_key*
deploy_key*.pub
*.keybase
data/edges/
data/headlines/
data/json/
30 changes: 30 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
language: ruby
rvm:
- 2.4.0
dist: trusty
sudo: false
branches:
only:
- master
- develop
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
# Build. _site directory is the artifact
before_script:
- chmod +x ./scripts/*.sh
- chmod +x ./scripts/deploy/*.sh
script:
- scripts/cibuild.sh
# Deploy. Staging goes back to gh-pages here and prod to external repo
deploy:
- provider: script
script: scripts/deploy/deploy_staging.sh
skip_cleanup: true
on:
branch: develop
- provider: script
script: scripts/deploy/deploy.sh
skip_cleanup: true
on:
branch: master
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Place your settings in this file to overwrite default and user settings.
{
"editor.detectIndentation": false,
"editor.tabSize": 2
}
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source "https://rubygems.org"

gem "jekyll", "3.5.1"
gem "html-proofer"
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018 Office for National Statistics

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Sustainable Development Goal indicators

[![Build Status](https://travis-ci.org/ONSdigital/sdg-indicators.svg?branch=develop)](https://travis-ci.org/ONSdigital/sdg-indicators) [![LICENSE.](https://img.shields.io/badge/license-OGL--3-brightgreen.svg?style=flat)](http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/)

This is a development website for collecting and disseminating UK data for the Sustainable Development Goal global indicators. This is a collaboration between the [ONS Sustainable Development Goals](https://www.ons.gov.uk/aboutus/whatwedo/programmesandprojects/sustainabledevelopmentgoals) team and the [ONS Data Science Campus](https://www.ons.gov.uk/aboutus/whatwedo/datasciencecampushttps://www.ons.gov.uk/aboutus/whatwedo/datasciencecampushttps://www.ons.gov.uk/aboutus/whatwedo/datasciencecampushttps://www.ons.gov.uk/aboutus/whatwedo/datasciencecampushttps://www.ons.gov.uk/aboutus/whatwedo/datasciencecampus), building on the earlier work of the [US GSA](https://github.com/GSA/sdg-indicators).

For any guidance on how to use the website or develop it further for your own country, please refer to the [wiki](https://github.com/ONSdigital/sdg-indicators/wiki). Please send any comments and feedback to <a href ="mailto:[email protected]">[email protected]</a>
69 changes: 69 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the server process.

# Site settings
title: U.K. Indicators For The Sustainable Development Goals
description: Data Platform Prototype
baseurl: "/sdg-indicators" # the subpath of your site, e.g. /blog
url: ""
data_dir: data
environment: staging
remotedatabaseurl: "https://ONSdigital.github.io/sdg-data"
# permalink: /news/:year/:month/:day/:title.html

jekyll_get_data:
- data: meta
json: 'https://ONSdigital.github.io/sdg-data/meta/all.json'
# cache: true
# directory: 'remotedata'
- data: headlines
json: 'https://ONSdigital.github.io/sdg-data/headline/all.json'
# cache: true
# directory: 'remotedata'
- data: schema
json: 'https://ONSdigital.github.io/sdg-data/meta/schema.json'

analytics:
ga_prod: ''

###################################################################################################
email_contacts:
questions: [email protected]
suggestions: [email protected]
functional: [email protected]
###################################################################################################

# Github Repo for Data
repo_name: sdg-data
branch: develop
org_name: ONSdigital

# Build settings
markdown: kramdown

# Travis Support
exclude: [vendor, scripts, remotedata]

# International Support
# Eg name: Australia and adjective: Australian
country:
name: UK
adjective: UK

# Pages
collections:
pages:
output: true
permalink: /:path/
posts:
output: true
permalink: /news/:year/:month/:day/:title.html
indicators:
output: true
goals:
output: true

68 changes: 68 additions & 0 deletions _config_prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the server process.

# Site settings
title: U.K. Indicators For The Sustainable Development Goals
description: Data Platform Prototype
baseurl: "" # the subpath of your site, e.g. /blog
url: ""
data_dir: data
environment: production
remotedatabaseurl: "https://sustainabledevelopment-uk.github.io/sdg-data"
# permalink: /news/:year/:month/:day/:title.html

jekyll_get_data:
- data: meta
json: 'https://sustainabledevelopment-uk.github.io/sdg-data/meta/all.json'
# cache: true
# directory: 'remotedata'
- data: headlines
json: 'https://sustainabledevelopment-uk.github.io/sdg-data/headline/all.json'
# cache: true
# directory: 'remotedata'
- data: schema
json: 'https://sustainabledevelopment-uk.github.io/sdg-data/meta/schema.json'

analytics:
ga_prod: 'UA-108503280-1'

###################################################################################################
email_contacts:
questions: [email protected]
suggestions: [email protected]
functional: [email protected]
###################################################################################################

# Github Repo for Data
repo_name: sdg-data
branch: develop
org_name: ONSdigital

# Build settings
markdown: kramdown

# Travis Support
exclude: [vendor, scripts, remotedata]

# International Support
# Eg name: Australia and adjective: Australian
country:
name: UK
adjective: UK

# Pages
collections:
pages:
output: true
permalink: /:path/
posts:
output: true
permalink: /news/:year/:month/:day/:title.html
indicators:
output: true
goals:
output: true
9 changes: 9 additions & 0 deletions _goals/01_no-poverty.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: End poverty in all its forms everywhere
short: No Poverty
permalink: /no-poverty/
sdg_goal: '1'
color: '#e5243b'
layout: goal
---

10 changes: 10 additions & 0 deletions _goals/02_zero-hunger.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: End hunger, achieve food security and improved nutrition and promote sustainable
agriculture
short: Zero Hunger
permalink: /zero-hunger/
sdg_goal: '2'
color: '#e5b735'
layout: goal
---

9 changes: 9 additions & 0 deletions _goals/03_good-health-and-well-being.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Ensure healthy lives and promote well-being for all at all ages
short: Good Health and Well-being
permalink: /good-health-and-well-being/
sdg_goal: '3'
color: '#4c9f38'
layout: goal
---

10 changes: 10 additions & 0 deletions _goals/04_quality-education.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Ensure inclusive and equitable quality education and promote lifelong learning
opportunities for all
short: Quality Education
permalink: /quality-education/
sdg_goal: '4'
color: '#c5192d'
layout: goal
---

9 changes: 9 additions & 0 deletions _goals/05_gender-equality.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Achieve gender equality and empower all women and girls
short: Gender Equality
permalink: /gender-equality/
sdg_goal: '5'
color: '#ff3a21'
layout: goal
---

10 changes: 10 additions & 0 deletions _goals/06_clean-water-and-sanitation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Ensure availability and sustainable management of water and sanitation for
all
short: Clean water and sanitation
permalink: /clean-water-and-sanitation/
sdg_goal: '6'
color: '#26bde2'
layout: goal
---

9 changes: 9 additions & 0 deletions _goals/07_affordable-and-clean-energy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Ensure access to affordable, reliable, sustainable and modern energy for all
short: Affordable and clean energy
permalink: /affordable-and-clean-energy/
sdg_goal: '7'
color: '#fcc30b'
layout: goal
---

10 changes: 10 additions & 0 deletions _goals/08_decent-jobs-and-economic-growth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Promote sustained, inclusive and sustainable economic growth, full and productive
employment and decent work for all
short: Decent jobs and economic growth
permalink: /decent-jobs-and-economic-growth/
sdg_goal: '8'
color: '#a21942'
layout: goal
---

10 changes: 10 additions & 0 deletions _goals/09_industry-innovation-and-infrastructure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Build resilient infrastructure, promote inclusive and sustainable industrialization
and foster innovation
short: Industry, innovation and infrastructure
permalink: /industry-innovation-and-infrastructure/
sdg_goal: '9'
color: '#fd6925'
layout: goal
---

9 changes: 9 additions & 0 deletions _goals/10_reduced-inequalities.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Reduce inequality within and among countries
short: Reduced inequalities
permalink: /reduced-inequalities/
sdg_goal: '10'
color: '#dd1367'
layout: goal
---

9 changes: 9 additions & 0 deletions _goals/11_sustainable-cities-communities.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Make cities and human settlements inclusive, safe, resilient and sustainable
short: Sustainable Cities & Communities
permalink: /sustainable-cities-communities/
sdg_goal: '11'
color: '#fd9d24'
layout: goal
---

9 changes: 9 additions & 0 deletions _goals/12_responsible-consumption-and-production.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Ensure sustainable consumption and production patterns
short: Responsible consumption and production
permalink: /responsible-consumption-and-production/
sdg_goal: '12'
color: '#c9992d'
layout: goal
---

9 changes: 9 additions & 0 deletions _goals/13_climate-action.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Take urgent action to combat climate change and its impacts
short: Climate action
permalink: /climate-action/
sdg_goal: '13'
color: '#3f7e44'
layout: goal
---

10 changes: 10 additions & 0 deletions _goals/14_life-below-water.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Conserve and sustainably use the oceans, seas and marine resources for sustainable
development
short: Life below water
permalink: /life-below-water/
sdg_goal: '14'
color: '#0a97d9'
layout: goal
---

Loading

0 comments on commit fde97bd

Please sign in to comment.