-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
625 changed files
with
38,760 additions
and
2,583 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,3 @@ | ||
Please replace this line with full information about your idea or problem. If it's a bug share as much as possible to reproduce it. | ||
# Overview | ||
|
||
Job story if there is one ... | ||
|
||
## Acceptance | ||
|
||
* [ ] ... | ||
|
||
## Tasks | ||
|
||
* [ ] ... | ||
|
||
## Analysis | ||
Please replace this line with full information about your idea or problem. If it's a bug share as much as possible to reproduce it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Number of days of inactivity before an issue becomes stale | ||
daysUntilStale: 90 | ||
|
||
# Number of days of inactivity before a stale issue is closed | ||
daysUntilClose: 30 | ||
|
||
# Issues with these labels will never be considered stale | ||
exemptLabels: | ||
- feature | ||
- enhancement | ||
- bug | ||
|
||
# Label to use when marking an issue as stale | ||
staleLabel: wontfix | ||
|
||
# Comment to post when marking an issue as stale. Set to `false` to disable | ||
markComment: > | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. | ||
# Comment to post when closing a stale issue. Set to `false` to disable | ||
closeComment: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: general | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
tags: | ||
- v*.*.* | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
|
||
# Test | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
- name: Configure | ||
run: npm install | ||
- name: Build | ||
run: npm run build | ||
|
||
# Deploy | ||
|
||
deploy: | ||
if: github.ref == 'refs/heads/main' | ||
runs-on: ubuntu-latest | ||
needs: [test] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
- name: Configure | ||
run: npm install | ||
- name: Build | ||
run: npm run build | ||
- name: Deploy | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: site | ||
folder: site/.vuepress/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
node_modules/* | ||
site/.vuepress/dist/* | ||
sandbox/* | ||
.env | ||
|
||
.vercel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
# Contributing | ||
|
||
The website contribution guide. | ||
|
||
## Frontmatter | ||
|
||
Frontmatter is the metadata in pages. It is an essential "API" between content authors and the theme designers. Here you can find the frontmatter definitions for main category of pages. | ||
|
||
### Common for all pages | ||
|
||
This frontmatter is common to all pages and maybe used in any of them. Every page MUST have a title. All other values are optional. | ||
|
||
```md | ||
--- | ||
title: # the title of the page | ||
description: # short description / summary / excerpt | ||
tagline: # one sentence summary | ||
image: /data-package-diagram.png | ||
layout: product | job [| blog] | ||
--- | ||
``` | ||
|
||
* `layout`: You only need to set layout if you need a custom layout. Default pages don't need it, nor does the blog section (layout for blog pages is set automatically by the blog plugin) | ||
* `image`: only needed if you have a primary image for this page that is going to be used elsewhere. For example, for the blog, this is the featured image that is used on the blog listing page. | ||
* `description`: you can set this explicitly in the frontmatter OR you have this automatically generated by using the `<!-- more -->` tag as per https://v1.vuepress.vuejs.org/theme/writing-a-theme.html#content-excerpt | ||
* If set, the description will be used to set the meta description tag. | ||
* `tagline`: this is rarely used as you have title and description. TODO: specify which page types use this. | ||
|
||
### Page titles | ||
|
||
Our convention is that page titles are set in frontmatter not in markdown. This allows them to be styled different etc. | ||
|
||
:white_check_mark: | ||
|
||
```md | ||
--- | ||
title: My Page | ||
--- | ||
|
||
This page is about X ... | ||
``` | ||
|
||
:x: | ||
|
||
```md | ||
# My Page | ||
|
||
This page is about X | ||
``` | ||
|
||
### Blog posts | ||
|
||
```md | ||
--- | ||
category: case-studies | grantee-profiles | pilots | grantee-profiles-2019 | ||
date: # date of publication in yyyy-mm-dd format | ||
author: | ||
tags: ["pilots", "case-studies"] | ||
--- | ||
``` | ||
|
||
#### Author | ||
|
||
Author can be for single or multiple authors. A single author is a single value: | ||
|
||
``` | ||
author: Rufus Pollock | ||
``` | ||
|
||
Multipe authors is an array of values: | ||
|
||
``` | ||
author: | ||
- Rufus Pollock | ||
- Lilly Winfree | ||
``` | ||
|
||
#### Category | ||
|
||
|
||
When category == "case-studies" | "pilots" | ||
|
||
```md | ||
interviewee: | ||
subject_context: | ||
``` | ||
|
||
When category == "grantee-profiles" | ||
|
||
```md | ||
github: | ||
twitter: | ||
website: | ||
``` | ||
|
||
### Jobs pages | ||
|
||
```md | ||
tagline: | ||
pain: | ||
context: (?) | ||
hexagon: | ||
``` | ||
|
||
### Product pages | ||
|
||
```md | ||
hexagon: | ||
github: # list of github repos ... | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
roll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2020 Open Knowledge Foundation | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.