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

Lines changed: 17 additions & 0 deletions
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

Lines changed: 6 additions & 1 deletion
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

Lines changed: 10 additions & 0 deletions
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

Lines changed: 13 additions & 30 deletions
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

Lines changed: 63 additions & 0 deletions
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

Lines changed: 17 additions & 0 deletions
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>

_includes/tabulation_libs.html

Lines changed: 7 additions & 0 deletions
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>

0 commit comments

Comments
 (0)