Skip to content

Commit 487dff1

Browse files
committed
Initial commmit
1 parent 09488ed commit 487dff1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+3383
-5
lines changed
+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Build and Deploy a Jekyll Site to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
jekyll:
10+
runs-on: windows-latest
11+
steps:
12+
- name: 📂 setup
13+
uses: actions/checkout@v2
14+
15+
# include the lines below if you are using jekyll-last-modified-at
16+
# or if you would otherwise need to fetch the full commit history
17+
# however this may be very slow for large repositories!
18+
# with:
19+
# fetch-depth: '0'
20+
- name: 💎 setup ruby
21+
uses: ruby/setup-ruby@v1
22+
with:
23+
ruby-version: 2.7
24+
25+
- name: 🔨 install dependencies & build site
26+
uses: limjh16/jekyll-action-ts@v2
27+
with:
28+
enable_cache: true
29+
30+
- name: 🚀 deploy
31+
uses: peaceiris/actions-gh-pages@v3
32+
with:
33+
github_token: ${{ secrets.GITHUB_TOKEN }}
34+
publish_dir: ./_site
35+
# if the repo you are deploying to is <username>.github.io, uncomment the line below.
36+
# if you are including the line below, make sure your source files are NOT in the "main" branch:
37+
# publish_branch: main

.gitignore

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
_site/
2-
.sass-cache/
3-
.jekyll-cache/
1+
_site
2+
.sass-cache
3+
.jekyll-cache
44
.jekyll-metadata
5+
vendor

404.html

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
permalink: /404.html
3+
layout: default
4+
---
5+
6+
<style type="text/css" media="screen">
7+
.container {
8+
margin: 10px auto;
9+
max-width: 600px;
10+
text-align: center;
11+
}
12+
h1 {
13+
margin: 30px 0;
14+
font-size: 4em;
15+
line-height: 1;
16+
letter-spacing: -1px;
17+
}
18+
</style>
19+
20+
<div class="container">
21+
<h1>404</h1>
22+
23+
<p><strong>Page not found :(</strong></p>
24+
<p>The requested page could not be found.</p>
25+
</div>

Gemfile

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
source "https://rubygems.org"
2+
# Hello! This is where you manage which Jekyll version is used to run.
3+
# When you want to use a different version, change it below, save the
4+
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
5+
#
6+
# bundle exec jekyll serve
7+
#
8+
# This will help ensure the proper Jekyll version is running.
9+
# Happy Jekylling!
10+
gem "jekyll", "~> 4.2.0"
11+
# This is the default theme for new Jekyll sites. You may change this to anything you like.
12+
gem "minima", "~> 2.5"
13+
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
14+
# uncomment the line below. To upgrade, run `bundle update github-pages`.
15+
# gem "github-pages", group: :jekyll_plugins
16+
# If you have any plugins, put them here!
17+
group :jekyll_plugins do
18+
gem "jekyll-feed", "~> 0.12"
19+
end
20+
21+
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
22+
# and associated library.
23+
platforms :mingw, :x64_mingw, :mswin, :jruby do
24+
gem "tzinfo", "~> 1.2"
25+
gem "tzinfo-data"
26+
end
27+
28+
# Performance-booster for watching directories on Windows
29+
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
30+
31+
gem "jekyll-theme-simplex"
32+
gem "webrick", "~> 1.7"

Gemfile.lock

+91
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.8.0)
5+
public_suffix (>= 2.0.2, < 5.0)
6+
colorator (1.1.0)
7+
concurrent-ruby (1.1.9)
8+
em-websocket (0.5.2)
9+
eventmachine (>= 0.12.9)
10+
http_parser.rb (~> 0.6.0)
11+
eventmachine (1.2.7-x64-mingw32)
12+
ffi (1.15.3-x64-mingw32)
13+
forwardable-extended (2.6.0)
14+
http_parser.rb (0.6.0)
15+
i18n (1.8.10)
16+
concurrent-ruby (~> 1.0)
17+
jekyll (4.2.0)
18+
addressable (~> 2.4)
19+
colorator (~> 1.0)
20+
em-websocket (~> 0.5)
21+
i18n (~> 1.0)
22+
jekyll-sass-converter (~> 2.0)
23+
jekyll-watch (~> 2.0)
24+
kramdown (~> 2.3)
25+
kramdown-parser-gfm (~> 1.0)
26+
liquid (~> 4.0)
27+
mercenary (~> 0.4.0)
28+
pathutil (~> 0.9)
29+
rouge (~> 3.0)
30+
safe_yaml (~> 1.0)
31+
terminal-table (~> 2.0)
32+
jekyll-feed (0.15.1)
33+
jekyll (>= 3.7, < 5.0)
34+
jekyll-sass-converter (2.1.0)
35+
sassc (> 2.0.1, < 3.0)
36+
jekyll-seo-tag (2.7.1)
37+
jekyll (>= 3.8, < 5.0)
38+
jekyll-theme-simplex (0.9.8.15)
39+
jekyll (~> 4.0)
40+
jekyll-watch (2.2.1)
41+
listen (~> 3.0)
42+
kramdown (2.3.1)
43+
rexml
44+
kramdown-parser-gfm (1.1.0)
45+
kramdown (~> 2.0)
46+
liquid (4.0.3)
47+
listen (3.6.0)
48+
rb-fsevent (~> 0.10, >= 0.10.3)
49+
rb-inotify (~> 0.9, >= 0.9.10)
50+
mercenary (0.4.0)
51+
minima (2.5.1)
52+
jekyll (>= 3.5, < 5.0)
53+
jekyll-feed (~> 0.9)
54+
jekyll-seo-tag (~> 2.1)
55+
pathutil (0.16.2)
56+
forwardable-extended (~> 2.6)
57+
public_suffix (4.0.6)
58+
rb-fsevent (0.11.0)
59+
rb-inotify (0.10.1)
60+
ffi (~> 1.0)
61+
rexml (3.2.5)
62+
rouge (3.26.0)
63+
safe_yaml (1.0.5)
64+
sassc (2.4.0-x64-mingw32)
65+
ffi (~> 1.9)
66+
terminal-table (2.0.0)
67+
unicode-display_width (~> 1.1, >= 1.1.1)
68+
thread_safe (0.3.6)
69+
tzinfo (1.2.9)
70+
thread_safe (~> 0.1)
71+
tzinfo-data (1.2021.1)
72+
tzinfo (>= 1.0.0)
73+
unicode-display_width (1.7.0)
74+
wdm (0.1.1)
75+
webrick (1.7.0)
76+
77+
PLATFORMS
78+
x64-mingw32
79+
80+
DEPENDENCIES
81+
jekyll (~> 4.2.0)
82+
jekyll-feed (~> 0.12)
83+
jekyll-theme-simplex
84+
minima (~> 2.5)
85+
tzinfo (~> 1.2)
86+
tzinfo-data
87+
wdm (~> 0.1.1)
88+
webrick (~> 1.7)
89+
90+
BUNDLED WITH
91+
2.2.25

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
# openbiolink.github.io
1+
## Use all Themes on gh pages
2+
3+
https://www.moncefbelyamani.com/making-github-pages-work-with-latest-jekyll/
4+
5+
6+
## Generate doc for loader and evaluator
7+
8+
from src folder run ```pdoc --html openbiolink/obl2021/obl2021.py --force```

_config.yml

+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# Welcome to Jekyll!
2+
#
3+
# This config file is meant for settings that affect your whole blog, values
4+
# which you are expected to set up once and rarely edit after that. If you find
5+
# yourself editing this file very often, consider using Jekyll's data files
6+
# feature for the data you need to update frequently.
7+
#
8+
# For technical reasons, this file is *NOT* reloaded automatically when you use
9+
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10+
#
11+
# If you need help with YAML syntax, here are some quick references for you:
12+
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
13+
# https://learnxinyminutes.com/docs/yaml/
14+
#
15+
# Site settings
16+
# These are used to personalize your new site. If you look in the HTML files,
17+
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
18+
# You can create any custom variable you would like, and they will be accessible
19+
# in the templates via {{ site.myvariable }}.
20+
21+
22+
23+
title: OpenBioLink2021 Challenge
24+
25+
description: >- # this means to ignore newlines until "baseurl:"
26+
Hello, this is an demo of the jekyll theme simplex.
27+
Here you can check out all the features of the theme.
28+
To try this theme, have a look at the Github.
29+
30+
# Build settings
31+
32+
plugins:
33+
- jekyll-feed
34+
35+
# Exclude from processing.
36+
# The following items will not be processed, by default.
37+
# Any item listed under the `exclude:` key here will be automatically added to
38+
# the internal "default list".
39+
#
40+
# Excluded items can be processed by explicitly listing the directories or
41+
# their entries' file path in the `include:` list.
42+
#
43+
# exclude:
44+
# - .sass-cache/
45+
# - .jekyll-cache/
46+
# - gemfiles/
47+
# - Gemfile
48+
# - Gemfile.lock
49+
# - node_modules/
50+
# - vendor/bundle/
51+
# - vendor/cache/
52+
# - vendor/gems/
53+
# - vendor/ruby/
54+
55+
logo_img: /assets/img/logo2021-transp.png
56+
copyright: © Simon Ott 2021, <a href="/attributions.html">Icon attributions</a> #Your copyright.
57+
58+
collections:
59+
category:
60+
output: true
61+
authors:
62+
output: false
63+
64+
defaults:
65+
-
66+
scope:
67+
path: ""
68+
type: category
69+
values:
70+
layout: "category"

_data/nav.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
- title: Challenge
2+
url:
3+
icon: assets/img/icons/goal.svg
4+
- title: Dataset
5+
url: dataset
6+
icon: assets/img/icons/biomedicine.svg
7+
- title: Participation
8+
url: participation/
9+
icon: assets/img/icons/rocket.svg
10+
- title: Rules
11+
url: rules/
12+
icon: assets/img/icons/guideline.svg
13+
- title: Team
14+
url: team/
15+
icon: assets/img/icons/team.svg

_includes/footer.html

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<footer class="footer">
2+
<section class="footer__about">
3+
<p class="footer__about__copyright">{{ site.copyright }}</p>
4+
{% if site.copyright != nil %}
5+
<span class="divider">·</span>
6+
{% endif %}
7+
<span class="footer__about__theme"><p>theme</p><a id="simplex-logo" href="https://github.com/andreondra/jekyll-theme-simplex" target="_blank"><img alt="Simplex theme logo" src="{{ site.url }}/assets/img/icons/simplex_logo.svg"/></a><p>by <a href="https://ondrej.golasowski.com/">golas</a></p></span>
8+
</section>
9+
</footer>

_includes/head.html

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<link rel="stylesheet" href="{{ site.url }}/assets/fonts/fonts.css"/>
2+
<link rel="stylesheet" href="{{ site.url }}/assets/style.css"/>
3+
<link rel="stylesheet" href="{{ site.url }}/assets/js/lity.min.css"/>
4+
5+
{% if site.favicon != nil %}
6+
<link rel='shortcut icon' type='image/x-icon' href='{{ site.favicon }}' />
7+
{% endif %}
8+
9+
<meta charset="UTF-8">
10+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
11+
12+
<meta property="og:site_name" content="{{ site.title }}" />
13+
<meta
14+
property="og:title"
15+
content="
16+
{% if page.title != nil %}
17+
{{page.title}}
18+
{% else %}
19+
{{site.title}}
20+
{% endif %}
21+
"
22+
/>
23+
{% if page.og_description != nil %}
24+
<meta property="og:description" content="{{ page.og_description }}" />
25+
{% endif %}
26+
<meta property="og:url" content="{{ site.url }}/{{ page.url }}" />
27+
{% if page.og_type != nil %}
28+
<meta property="og:type" content="{{ page.og_type }}" />
29+
{% else %}
30+
<meta property="og:type" content="article" />
31+
{% endif %}
32+
{% if page.og_image != nil %}
33+
<meta property="og:image" content="{{ site.url }}/{{ page.og_image }}" />
34+
<meta property="og:image:secure_url" content="{{ site.url }}/{{ page.og_image }}" />
35+
{% endif %}
36+
{% if page.fb_app_id != nil %}
37+
<meta property="fb:app_id" content="{{ page.fb_app_id }}" />
38+
{% else if site.fb_app_id != nil %}
39+
<meta property="fb:app_id" content="{{ site.fb_app_id }}" />
40+
{% endif %}
41+
42+
43+
<title>
44+
{% if page.title != nil %}
45+
{{page.title}}
46+
{% else %}
47+
{{site.title}}
48+
{% endif %}
49+
</title>

_includes/header.html

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<header class="header">
2+
3+
<!-- particles.js container -->
4+
<div id="particles-js" class="particles"></div>
5+
6+
<!-- scripts -->
7+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/particles.min.js"></script>
8+
<script>
9+
particlesJS.load('particles-js', '/assets/particles.json', function() {
10+
console.log('particles.js loaded - callback');
11+
});
12+
</script>
13+
<section class="logo">
14+
<a href="{{ site.url }}/" class="logo__link">
15+
{% if site.logo_img != nil %}
16+
<h1 style="display: none;">{{ site.title }}</h1>
17+
<img class="logo__link__img" src="{{site.logo_img}}" />
18+
{% else %}
19+
<h1>{{ site.title }}</h1>
20+
{% endif %}
21+
</a>
22+
</section>
23+
<button id="menuToggle">
24+
<div></div>
25+
<div></div>
26+
<div></div>
27+
</button>
28+
<nav class="menu">
29+
{% include nav.html nav=site.data.nav %}
30+
</nav>
31+
</header>

0 commit comments

Comments
 (0)