Skip to content

Commit

Permalink
Adding initial version of theme
Browse files Browse the repository at this point in the history
This is a verified working version of the theme, as the Gem is published outside of Git.

It builds upon the earlier theme attempt, but using Docker and implementing proper navigation menu support.
  • Loading branch information
Felix Fennell committed Mar 12, 2017
0 parents commit 64319d4
Show file tree
Hide file tree
Showing 34 changed files with 1,181 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*.gem
.bundle
.sass-cache
_site
Gemfile.lock
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# BAS Style Kit Jekyll Theme - Change log

All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased][unreleased]

## 0.1.0 - 12/03/2017

### Added

* Note that the Gem for this project is one minor version ahead of this version due to a technical error
* Initial project - based on BAS Style Kit version 0.1.0, and adapted from the BAS Style Kit documentation Jekyll site
15 changes: 15 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Contributing policy

We welcome contributions from both other NERC centres and from external entities under the following guidelines:

* These are general guidelines used by default for projects that we make available,
they do not represent any formal policy or notice

* The preferred method of integrating contributions is through a Git pull request to the nominated repository

* The preferred method of raising issues is through the nominated issue tracker

* Follow any defined coding standards where specified, or any obvious conventions implied within the code

Last updated: February 2016
Contact address: [email protected] (BAS Web & Applications Team)
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM antarctica/jekyll-image:0.2.0-alpine

MAINTAINER Felix Fennell <[email protected]>

WORKDIR /usr/src/app

# Setup dependencies
RUN apk add --no-cache git
ADD Gemfile jekyll-theme-bas-style-kit.gemspec /usr/src/app/
RUN bundle install

# Setup `jekyll serve`
EXPOSE 9000
ENTRYPOINT []
CMD ["jekyll", "serve"]

# Ideally we wouldn't override the ENTRYPOINT defined by the 'antarctica/jekyll-image' image, however GitLab CI doesn't
# yet support using, or overriding, this property properlly yet. Once this is fixed the 'jekyll' element can be removed
# from the CMD for this image, and from the relevant script in '.gitlab-ci.yml'.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
source "https://rubygems.org"
gemspec
21 changes: 21 additions & 0 deletions LICENSE-MIT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT license

Copyright (c) NERC BAS 2017 https://www.bas.ac.uk

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 LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# License

Copyright 2017 NERC BAS.

Unless stated otherwise all code is licensed under the MIT license.

Copies of this license are included within this project.
Loading

0 comments on commit 64319d4

Please sign in to comment.