Skip to content

Commit b7ce6e6

Browse files
committed
switch to jekyll and github pages
1 parent 050a1d0 commit b7ce6e6

Some content is hidden

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

66 files changed

+772
-2126
lines changed

.github/workflows/publish.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "Jekyll build and publish"
2+
3+
on:
4+
push:
5+
branches: [master]
6+
workflow_dispatch:
7+
8+
jobs:
9+
jekyll:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- uses: helaili/jekyll-action@v2
15+
with:
16+
token: ${{ secrets.GITHUB_TOKEN }}
17+
target_branch: gh-pages

.gitignore

+6-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
compiled/*
1+
_site
2+
.sass-cache
3+
.jekyll-cache
4+
.jekyll-metadata
5+
vendor
6+
Gemfile.lock

Gemfile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
source "https://rubygems.org"
2+
3+
gem "jekyll", "~> 4.2.2"
4+
gem 'kramdown-parser-gfm', '~> 1.1'
5+
6+
gem "minima", "~> 2.5"
7+
8+
group :jekyll_plugins do
9+
10+
end

README.md

+13-30
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,18 @@
1-
A default blog scaffold for **ruhoh** compatible static blog parsers.
1+
# adp-multi.github.io
22

3-
**This version is for [ruhohSpec v1.0](http://ruhoh.com/universal-blog-api/) and is only compatible with ruhoh gem 1.0.x.x**
3+
## Build locally on Ubuntu
44

5-
See <http://ruhoh.com> for more information.
5+
Install tools:
66

7-
## Usage and Documentation
7+
```sh
8+
sudo apt install build-essential ruby ruby-dev
9+
sudo gem install bundler
10+
bundle config set --local path 'vendor/bundle'
11+
bundle install
12+
```
813

9-
See <http://ruhoh.com/usage> for full usage and documentation.
10-
11-
Currently the only parser is available in ruby as a ruby gem:
12-
13-
````bash
14-
$ gem install ruhoh --version '1.0.0.alpha'
15-
$ ruhoh help
16-
````
17-
18-
Once you have the gem you can run your blog locally:
19-
20-
Assume USERNAME is your GitHub username.
21-
22-
````bash
23-
$ git clone git://github.com/ruhoh/blog.git USERNAME.ruhoh.com
24-
$ cd USERNAME.ruhoh.com
25-
$ rackup -p 9292
26-
````
27-
28-
Using your GitHub username is useful for automatically publishing to ruhoh.com
29-
30-
For all publishing options including self-hosting see: <http://ruhoh.com/usage/publish>
31-
32-
## License
33-
34-
Released under the [MIT License](http://www.opensource.org/licenses/MIT)
14+
Build the site and start a local server:
3515

16+
```sh
17+
bundle exec jekyll serve --livereload
18+
```

_config.yml

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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+
title: adp-multi
22+
author: Maik Riechert
23+
description: >- # this means to ignore newlines until "baseurl:"
24+
adp-multi is an adaptation of the Algebraic Dynamic Programming
25+
method for multiple context-free languages.
26+
baseurl: "" # the subpath of your site, e.g. /blog
27+
url: "https://adp-multi.github.io" # the base hostname & protocol for your site, e.g. http://example.com
28+
#twitter_username: jekyllrb
29+
github_username: adp-multi
30+
31+
# Build settings
32+
theme: minima
33+
markdown: kramdown
34+
mathjax: true
35+
plugins:
36+
- jekyll-seo-tag
37+
38+
header_pages:
39+
- quick_start.md
40+
- MCFL.md
41+
- adp_for_mcfl.md
42+
- syntax.md
43+
- tabulation.md
44+
45+
# Exclude from processing.
46+
# The following items will not be processed, by default.
47+
# Any item listed under the `exclude:` key here will be automatically added to
48+
# the internal "default list".
49+
#
50+
# Excluded items can be processed by explicitly listing the directories or
51+
# their entries' file path in the `include:` list.
52+
#
53+
# exclude:
54+
# - .sass-cache/
55+
# - .jekyll-cache/
56+
# - gemfiles/
57+
# - Gemfile
58+
# - Gemfile.lock
59+
# - node_modules/
60+
# - vendor/bundle/
61+
# - vendor/cache/
62+
# - vendor/gems/
63+
# - vendor/ruby/

_includes/head.html

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<head>
2+
<meta charset="utf-8">
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
<meta name="viewport" content="width=device-width, initial-scale=1">
5+
{%- seo -%}
6+
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
7+
<script>
8+
window.MathJax = {
9+
tex: {
10+
inlineMath: [['$', '$'], ['\\(', '\\)']]
11+
}
12+
};
13+
</script>
14+
<script type="text/javascript" id="MathJax-script" async
15+
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js">
16+
</script>
17+
</head>
File renamed without changes.

_includes/tabulation_libs.html

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<script src="//code.jquery.com/jquery-1.10.1.min.js"></script>
2+
<script src="//code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
3+
<link rel="stylesheet" href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
4+
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/three.js/r58/three.min.js"></script>
5+
<script type="text/javascript" src="/assets/three.js/TrackballControls.js"></script>
6+
<script type="text/javascript" src="/assets/three.js/Tabulation.js"></script>
7+
<script src="/assets/three.js/helvetiker_regular.typeface.js"></script>
File renamed without changes.
File renamed without changes.

_plugins/mathjax.rb

-42
This file was deleted.

pages/adp_for_mcfl.md adp_for_mcfl.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
2+
layout: page
3+
permalink: /adp_for_mcfl/
24
title : ADP for MCFL
3-
description:
45
---
56

67
An in-depth description of ADP for MCFL can be found in my [master's thesis](https://github.com/adp-multi/thesis/releases). Below is a very short end-user summary.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
based on http://www.ekevanbatenburg.nl/PKBASE/PKB00163.HTML
2-
visualized with jViz.Rna (http://jviz.cs.sfu.ca)
1+
based on http://www.ekevanbatenburg.nl/PKBASE/PKB00163.HTML
2+
visualized with jViz.Rna (http://jviz.cs.sfu.ca)
33
modified with Inkscape
File renamed without changes.

media/three.js/Tabulation.js assets/three.js/Tabulation.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ var __bind = function(fn, me){ return function(){ return fn.apply(me, arguments)
33
function Tabulation (container, len) {
44

55
this.freshScene = __bind(this.freshScene, this);
6-
this.render = __bind(this.render, this);
76
this.addCube = __bind(this.addCube, this);
87

98
this.len = len;
@@ -40,8 +39,7 @@ Tabulation.prototype.init = function(container) {
4039

4140
this.geometry = new THREE.CubeGeometry(1, 1, 1);
4241

43-
var texture = THREE.ImageUtils.loadTexture( '/assets/media/three.js/tex.gif', new THREE.UVMapping(),
44-
this.render.bind(this));
42+
var texture = THREE.ImageUtils.loadTexture( '/assets/three.js/tex.gif', new THREE.UVMapping());
4543
texture.anisotropy = this.renderer.getMaxAnisotropy();
4644

4745
this.material = new THREE.MeshLambertMaterial( { map: texture} );
File renamed without changes.

assets/three.js/helvetiker_regular.typeface.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
File renamed without changes.

config.ru

-6
This file was deleted.

config.yml

-14
This file was deleted.

pages/index.md index.md

+7-14
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
2-
title: adp-multi
3-
description: adp-multi is an adaptation of the Algebraic Dynamic Programming
4-
method for multiple context-free languages
5-
layout: page_index
2+
layout: home
63
---
74

5+
<div align="center">
6+
<img src="/assets/adpmulti_logo.svg" alt="adp-multi logo" width="260" />
7+
</div>
8+
89
## What is adp-multi?
910

1011
adp-multi is an implementation of [Algebraic Dynamic Programming](http://bibiserv.techfak.uni-bielefeld.de/adp/) for [multiple context-free languages](mcfl).
@@ -32,16 +33,8 @@ After that, you should go to the [quick start guide](/quick_start) where you lea
3233
what's different compared to original Haskell-ADP and how to write your own grammars.
3334

3435
There's also a short motivational/introductional talk called
35-
"[Predicting Pseudoknots Without Hacking in C]({{urls.media}}/talk_herbstseminar2012.pdf)"
36+
"[Predicting Pseudoknots Without Hacking in C](/assets/talk_herbstseminar2012.pdf)"
3637
that I gave at the "10. Herbstseminar der Bioinformatik" (2012) which summarizes why adp-multi is useful and in which direction future work might go.
3738
Note that the adp-multi syntax in the slides is outdated.
3839

39-
In July 2013 I defended my thesis (giving a presentation and answering questions). The (german) [slides are available]({{urls.media}}/verteidigung_2013.pdf) and contain more up-to-date information than the ones from 2012 above. For in-depth information, have a look at [my thesis](https://github.com/adp-multi/thesis/releases), it's in English.
40-
41-
## Questions? Comments? Bugs?
42-
43-
For code-related bugs or suggestions, please create an issue in the [issue tracker](https://github.com/adp-multi/adp-multi/issues).
44-
45-
For everything else, just
46-
<a href="http://www.google.com/recaptcha/mailhide/d?k=01K7XApM3NHiteg6XLnkZqAw==&amp;c=62TLgKB3Xjvp60pkxY897qejXI-cQ7FMlvLMAOB-cpw=" onclick="window.open('http://www.google.com/recaptcha/mailhide/d?k\07501K7XApM3NHiteg6XLnkZqAw\75\75\46c\07562TLgKB3Xjvp60pkxY897qejXI-cQ7FMlvLMAOB-cpw\075', '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return false;" title="Reveal this e-mail address">
47-
email</a> me.
40+
In July 2013 I defended my thesis (giving a presentation and answering questions). The (german) [slides are available](/assets/verteidigung_2013.pdf) and contain more up-to-date information than the ones from 2012 above. For in-depth information, have a look at [my thesis](https://github.com/adp-multi/thesis/releases), it's in English.

pages/MCFL.md mcfl.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
2+
layout: page
3+
permalink: /mcfl/
24
title : Multiple Context-Free Languages
3-
description:
45
---
56

67
If you already know what multiple context-free languages and grammars are, then you can head over to the [ADP for MCFL](/adp_for_mcfl) page if you're interested in how MCFGs were merged with ADP.

media/.gitkeep

Whitespace-only changes.

pages/about.md

-29
This file was deleted.

pages/architecture.md

-13
This file was deleted.

pages/archive.html

-7
This file was deleted.

pages/categories.html

-18
This file was deleted.

0 commit comments

Comments
 (0)