Skip to content

Commit

Permalink
Deploying to gh-pages from @ dce646f 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromekelleher committed Nov 23, 2024
0 parents commit 7638561
Show file tree
Hide file tree
Showing 3,311 changed files with 813,640 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
29 changes: 29 additions & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Tests

on:
pull_request:
push:
branches: [main]

jobs:
test:
name: Build site
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.6.0
with:
access_token: ${{ github.token }}

- name: Checkout
uses: actions/checkout@v2

- name: Install deps
run: |
sudo gem install bundler jekyll
sudo bundle install
- name: Build site
run: |
bundle exec jekyll build
Empty file added .nojekyll
Empty file.
71 changes: 71 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<!DOCTYPE html>
<html lang="en-GB">

<!-- START: html-header -->
<head>

<meta charset="utf-8">
<meta name=”robots” content="index, follow">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>
tskit-dev -
</title>
<meta property="og:type" content="website">
<meta content="summary_large_image" name="twitter:card">
<meta content="" name="description">
<meta content="" property="og:description">
<meta content="" property="twitter:description">

<meta content="https://i.imgur.com/I9PBjvU.png" property="og:image">
<meta content="https://i.imgur.com/I9PBjvU.png" property="twitter:image">


<meta content="tskit-dev - " property="og:title">
<meta content="tskit-dev - " property="twitter:title">
<script>
document.documentElement.className = 'js'
</script>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="profile" href="http://gmpg.org/xfn/11">

<link rel="shortcut icon" href="/assets/favicons/favicon.ico">
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicons/favicon-16x16.png">
<link rel="manifest" href="/assets/favicons/site.webmanifest" crossorigin="use-credentials">
<link rel="mask-icon" href="/assets/favicons/safari-pinned-tab.png" color="#085167">
<meta name="msapplication-TileColor" content="#085167">
<meta name="theme-color" content="#ffffff">

<link rel="stylesheet" href="https://use.typekit.net/uhf4ono.css">
<link rel="stylesheet" href="/assets/dist/css/style.min.css">
</head>
<!-- END: html-header -->

<body>
<style type="text/css" media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>

<div class="container">
<h1>404</h1>

<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
</div>

<script src="/assets/dist/js/main.min.js"></script>

</body>
</html>

1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tskit.dev
112 changes: 112 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
module.exports = function (grunt) {

grunt.initConfig({
jekyll: { // Task
options: { // Universal options
bundleExec: true,
// src : '<%= app %>'
},
dist: { // Target
options: { // Target options
dest: 'dist',
config: '_config.yml'
}
},
serve: { // Another target
options: {
serve: true,
dest: '.jekyll',
drafts: true,
future: true
}
}
},
sass: {
options: {
implementation: require('sass'),
importer: require('grunt-sass-tilde-importer')
},
dist: {
files: {
'assets/dist/css/style.min.css': 'assets/src/sass/style.scss'
}
}
},
browserify: {
dist: {
files: {
'assets/dist/js/main.min.js': 'assets/src/js/main.js'
},
options: {
transform: [['babelify', {
presets: ["@babel/preset-env"],
global: true,
ignore: [/\/node_modules\/(?!gsap\/)/]
}]],
browserifyOptions: {
debug: true
}
}
}
},
uglify: {
build: {
src: 'assets/dist/js/main.min.js',
dest: 'assets/dist/js/main.min.js'
}
},
watch: {
css: {
files: ['assets/src/sass/**/*.*'],
tasks: ['sass', 'postcss']
},
js: {
files: ['assets/src/js/**/*.*'],
tasks: ['browserify:dist', 'uglify']
},
jekyll: {
files: ['_includes', '_layouts', '_news', "_plugins", "_resources", "_site", "_software"],
tasks: ['jekyll:dist']
}
},
postcss: {
autoprefixer: {
options: {
// TODO: Get sourcemaps working
// True for inline sourcemaps
map: false,
processors: [
// Please see 'browserslist' key in package.json for the browsers that autoprefixer will target
require('autoprefixer')(),
]
},
src: 'assets/dist/css/*.css'
},
minifyCSS: {
options: {
processors: [
require('cssnano')(),
]
},
src: 'assets/dist/css/*.css'
}
}
});

// Load the plug-ins (Node Modules) that are needed by the various tasks.
grunt.loadNpmTasks('grunt-browserify');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-sass');
grunt.loadNpmTasks('@lodder/grunt-postcss'); // grunt-postcss no longer maintained, hence the @lodder version
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-jekyll');

// Default task - runs when you type 'grunt' in the terminal.
grunt.registerTask('default', ['watch']);

// Dev task (leaves the compiled CSS and JS unminified for easier debugging, until sourcemaps are working)
grunt.registerTask('dev', ['sass', 'postcss:autoprefixer', 'browserify:dist', 'jekyll:dist']);

// Build task
grunt.registerTask('build', ['sass', 'postcss', 'browserify:dist', 'uglify', 'jekyll:dist']);
}
Loading

0 comments on commit 7638561

Please sign in to comment.