Skip to content

Commit

Permalink
use jekyll
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Apr 29, 2016
1 parent 56c727a commit aeebf0b
Show file tree
Hide file tree
Showing 63 changed files with 8,460 additions and 8 deletions.
20 changes: 13 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
language: node_js
node_js:
- "0.12"
language: ruby
rvm:
- 2.2
cache: bundler
cache:
directories:
- _frontend/node_modules
- _frontend/bower_components

before_install:
- wget https://github.com/jgm/pandoc/releases/download/1.15.2/pandoc-1.15.2-1-amd64.deb
- sudo dpkg -i pandoc-1.15.2-1-amd64.deb
- rm pandoc-1.15.2-1-amd64.deb

before_script:
- cd _frontend && npm install

before_deploy:
- cd ../

script:
- bundle exec jekyll build

deploy:
provider: s3
access_key_id:
Expand All @@ -21,8 +28,7 @@ deploy:
bucket: assets.datacite.org
region: eu-west-1
skip_cleanup: true
local_dir: assets
upload-dir: assets
local_dir: _site
acl: public_read
cache_control: "max-age=31536000"
on:
Expand Down
7 changes: 7 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
source 'https://rubygems.org'

# 'github-pages' includes 'jekyll' gem
gem 'github-pages'
gem 'jekyll-pandoc'
gem 'celluloid', '0.16.0'
gem 'hologram', '~> 1.3.1'
162 changes: 162 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
GEM
remote: https://rubygems.org/
specs:
RedCloth (4.2.9)
activesupport (4.2.6)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.4.0)
blankslate (2.1.2.4)
celluloid (0.16.0)
timers (~> 4.0.0)
classifier-reborn (2.0.4)
fast-stemmer (~> 1.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.10.0)
colorator (0.1)
ethon (0.9.0)
ffi (>= 1.3.0)
execjs (2.6.0)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
fast-stemmer (1.0.2)
ffi (1.9.10)
gemoji (2.1.0)
github-pages (43)
RedCloth (= 4.2.9)
github-pages-health-check (= 0.6.0)
jekyll (= 2.4.0)
jekyll-coffeescript (= 1.0.1)
jekyll-feed (= 0.3.1)
jekyll-gist (= 1.4.0)
jekyll-mentions (= 0.2.1)
jekyll-paginate (= 1.1.0)
jekyll-redirect-from (= 0.9.1)
jekyll-sass-converter (= 1.3.0)
jekyll-seo-tag (= 0.1.4)
jekyll-sitemap (= 0.9.0)
jemoji (= 0.5.0)
kramdown (= 1.9.0)
liquid (= 2.6.2)
maruku (= 0.7.0)
mercenary (~> 0.3)
pygments.rb (= 0.6.3)
rdiscount (= 2.1.8)
redcarpet (= 3.3.3)
terminal-table (~> 1.4)
github-pages-health-check (0.6.0)
addressable (~> 2.3)
net-dns (~> 0.8)
public_suffix (~> 1.4)
typhoeus (~> 0.7)
hitimes (1.2.3)
hologram (1.3.1)
redcarpet (>= 2.2, < 4.0)
rouge (>= 1.5)
html-pipeline (1.9.0)
activesupport (>= 2)
nokogiri (~> 1.4)
i18n (0.7.0)
jekyll (2.4.0)
classifier-reborn (~> 2.0)
colorator (~> 0.1)
jekyll-coffeescript (~> 1.0)
jekyll-gist (~> 1.0)
jekyll-paginate (~> 1.0)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.3)
liquid (~> 2.6.1)
mercenary (~> 0.3.3)
pygments.rb (~> 0.6.0)
redcarpet (~> 3.1)
safe_yaml (~> 1.0)
toml (~> 0.1.0)
jekyll-coffeescript (1.0.1)
coffee-script (~> 2.2)
jekyll-feed (0.3.1)
jekyll-gist (1.4.0)
octokit (~> 4.2)
jekyll-mentions (0.2.1)
html-pipeline (~> 1.9.0)
jekyll (~> 2.0)
jekyll-paginate (1.1.0)
jekyll-pandoc (1.0.2)
jekyll (~> 2.1, >= 2.1.1)
pandoc-ruby (~> 1.0, >= 1.0.0)
jekyll-redirect-from (0.9.1)
jekyll (>= 2.0)
jekyll-sass-converter (1.3.0)
sass (~> 3.2)
jekyll-seo-tag (0.1.4)
jekyll (>= 2.0)
jekyll-sitemap (0.9.0)
jekyll-watch (1.4.0)
listen (~> 3.0, < 3.1)
jemoji (0.5.0)
gemoji (~> 2.0)
html-pipeline (~> 1.9)
jekyll (>= 2.0)
json (1.8.3)
kramdown (1.9.0)
liquid (2.6.2)
listen (3.0.6)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9.7)
maruku (0.7.0)
mercenary (0.3.6)
mini_portile2 (2.0.0)
minitest (5.8.4)
multipart-post (2.0.0)
net-dns (0.8.0)
nokogiri (1.6.7.2)
mini_portile2 (~> 2.0.0.rc2)
octokit (4.3.0)
sawyer (~> 0.7.0, >= 0.5.3)
pandoc-ruby (1.0.0)
parslet (1.5.0)
blankslate (~> 2.0)
posix-spawn (0.3.11)
public_suffix (1.5.3)
pygments.rb (0.6.3)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.2.0)
rb-fsevent (0.9.7)
rb-inotify (0.9.7)
ffi (>= 0.5.0)
rdiscount (2.1.8)
redcarpet (3.3.3)
rouge (1.10.1)
safe_yaml (1.0.4)
sass (3.4.22)
sawyer (0.7.0)
addressable (>= 2.3.5, < 2.5)
faraday (~> 0.8, < 0.10)
terminal-table (1.5.2)
thread_safe (0.3.5)
timers (4.0.4)
hitimes
toml (0.1.2)
parslet (~> 1.5.0)
typhoeus (0.8.0)
ethon (>= 0.8.0)
tzinfo (1.2.2)
thread_safe (~> 0.1)
yajl-ruby (1.2.1)

PLATFORMS
ruby

DEPENDENCIES
celluloid (= 0.16.0)
github-pages
hologram (~> 1.3.1)
jekyll-pandoc

BUNDLED WITH
1.11.2
19 changes: 19 additions & 0 deletions LICENCE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2016 DataCite

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.
76 changes: 76 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Build settings
markdown: pandoc
highlighter: pygments
gems:
- jekyll-pandoc
- jemoji

exclude:
- README.md
- LICENCE
- Gemfile
- Gemfile.lock
- .travis.yml
- vendor
- assets/jquery/*

sass:
style: compressed

# Site settings
title: Assets
description: |
Making research better by enabling people to find, share, use, and cite data.
email: [email protected]

name: 'DataCite'
author: 'DataCite'

permalink: /:title/
paginate: 10

url: "http://localhost:4000" # the base hostname & protocol for your site
baseurl: ""
source_url: https://github.com/datacite/segugio
cdn_url: https://assets.datacite.org
#used to display twitter cards
twitter_handle: '@datacite'

#fill in disqus shortname to use disqus
#disqus: datacite

#fill in tracking id
google_analytics: UA-22806196-6

#error tracking
bugsnag: c37a5861967091a9b42a1a77e235114a

# social icons and sharing options
social:
- icon: twitter
url: https://twitter.com/datacite
desc: Follow DataCite on Twitter
share_url: http://twitter.com/share
share_title: ?text=
share_link: "&amp;url="

- icon: facebook
url: https://facebook.com/???
desc: Connect with DataCite on Facebook
share_url: https://www.facebook.com/sharer.php
share_title: ?t=
share_link: "&amp;u="

- icon: github
url: https://github.com/datacite
desc: Visit DataCite on Github
share_url:
share_title:
share_link:

pandoc:
extensions:
- normalize
- smart
- mathjax
88 changes: 88 additions & 0 deletions _data/links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
labs_links:
- name: Profiles
url: https://profiles.labs.datacite.org
icon: user
- name: Search
url: https://search.labs.datacite.org
icon: search
production_links:
- name: Blog
url: https://blog.datacite.org
icon: rss
- name: Citation Formatter
url: http://crosscite.org/citeproc/
icon: file-text-o
- name: Content Resolver
url: http://data.datacite.org
icon: repeat
- name: Homepage
url: https://www.datacite.org
icon: globe
- name: Event Data
url: https://eventdata.datacite.org
icon: link
- name: MDS
url: https://mds.datacite.org
icon: database
- name: OAI-PMH
url: http://oai.datacite.org
icon: table
- name: Schema
url: https://schema.datacite.org
icon: file-code-o
- name: Search
url: https://search.datacite.org
icon: search
- name: Statistics
url: http://stats.datacite.org
icon: bar-chart
- name: Status
url: http://status.datacite.org
icon: calendar-check-o
about_links:
- name: What we do
url: https://www.datacite.org/about-datacite/what-do-we-do
- name: Board
url: https://www.datacite.org/about-datacite/board
- name: Staff
url: https://www.datacite.org/about-datacite/staff
- name: Members
url: https://www.datacite.org/about-datacite/members
- name: Resources
url: https://www.datacite.org/resources
- name: Working groups
url: https://www.datacite.org/about-datacite/working-groups
- name: Partners
url: https://www.datacite.org/about-datacite/partners
- name: Job opportunities
url: https://www.datacite.org/about-datacite/job-opportunities
foryou_links:
- name: Cite your data
url: https://www.datacite.org/services/cite-your-data.html
- name: Format your citations
url: https://www.datacite.org/services/format-your-citation.html
- name: Find a repository
url: https://www.datacite.org/services/find-repository.html
- name: Find a dataset
url: https://www.datacite.org/services/find-dataset.html
- name: Get your DOI statistics
url: https://www.datacite.org/services/get-your-doi-statistics.html
- name: Content negotiation
url: https://www.datacite.org/services/content-negotiation.html
- name: OAI provider
url: https://www.datacite.org/services/oai-provider.html
- name: Metadata store
url: https://www.datacite.org/services/metadata-store.html
- name: Test environment
url: https://www.datacite.org/services/test-environment.html
participate_links:
- name: Researchers
url: https://www.datacite.org/participate/researchers
- name: Research organizations
url: https://www.datacite.org/participate/research-organisations
- name: Libraries
url: https://www.datacite.org/participate/libraries
- name: Journal editors
url: https://www.datacite.org/participate/journal-editors
- name: Data centres
url: https://www.datacite.org/participate/data-centres
Loading

0 comments on commit aeebf0b

Please sign in to comment.