diff --git a/.bundle/config b/.bundle/config
new file mode 100644
index 0000000..5d906f2
--- /dev/null
+++ b/.bundle/config
@@ -0,0 +1,2 @@
+---
+BUNDLE_BUILD__NOKOGIRI: "--use-system-libraries"
diff --git a/.github/workflows/build_deploy.yml b/.github/workflows/build_deploy.yml
new file mode 100644
index 0000000..9bc26af
--- /dev/null
+++ b/.github/workflows/build_deploy.yml
@@ -0,0 +1,90 @@
+name: build_deploy
+
+on:
+ push:
+ branches:
+ - main
+ # - staging
+ pull_request:
+ repository_dispatch:
+ workflow_dispatch:
+
+# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
+permissions:
+ contents: read
+ pages: write
+ id-token: write
+
+# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
+# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: false
+
+jobs:
+ # set_environment:
+ # outputs:
+ # my_env: ${{ steps.setenv.outputs.my_env }}
+ # my_url: ${{ steps.setenv.outputs.my_url }}
+ # runs-on: ubuntu-latest
+ # steps:
+ # - id: setenv
+ # run: |
+ # if [ "$GITHUB_REF" = "refs/heads/main" ]
+ # then
+ # echo "::set-output name=my_env::production"
+ # echo "::set-output name=my_url::https://www.tebako.org"
+ # elif [ "$GITHUB_REF" = "refs/heads/staging" ]
+ # then
+ # echo "::set-output name=my_env::staging"
+ # echo "::set-output name=my_url::https://staging-www.tebako.org"
+ # fi
+
+ build:
+ runs-on: ubuntu-latest
+ # needs: [set_environment]
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+
+ - name: Install libraries
+ run: |
+ sudo apt-get update -y
+ sudo apt-get install -y libxslt-dev libxml2-dev
+
+ - name: Setup Ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: '2.7'
+
+ - name: Run bundle
+ run: |
+ gem install nokogiri -- --use-system-libraries
+ bundle install
+
+ - name: Setup Pages
+ id: pages
+ uses: actions/configure-pages@v3
+
+ - name: Build with Jekyll
+ # Outputs to the './_site' directory by default
+ run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
+ env:
+ JEKYLL_ENV: production
+
+ - name: Upload artifact
+ # Automatically uploads an artifact from the './_site' directory by default
+ uses: actions/upload-pages-artifact@v2
+
+ # Deployment job
+ deploy:
+ environment:
+ name: github-pages
+ url: ${{ steps.deployment.outputs.page_url }}
+ if: ${{ github.ref == 'refs/heads/main' }}
+ runs-on: ubuntu-latest
+ needs: build
+ steps:
+ - name: Deploy to GitHub Pages
+ id: deployment
+ uses: actions/deploy-pages@v2
diff --git a/.gitignore b/.gitignore
index 3e1f2ba..b2e9a3a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,7 +3,6 @@ _software/*/docs
_software/_*_repo
_specs/*/.git
_specs/*/docs
-parent-hub/*
_site
.sass-cache
.jekyll-cache/
diff --git a/Gemfile b/Gemfile
index 4fdff00..b11c632 100644
--- a/Gemfile
+++ b/Gemfile
@@ -35,3 +35,6 @@ gem "wdm", "~> 0.1.0" if Gem.win_platform?
# For testing generated HTML pages and links
gem "rake"
gem "html-proofer"
+
+gem "ffi", "~> 1.16.3"
+gem "nokogiri", "~> 1.15.5"
\ No newline at end of file
diff --git a/Gemfile.lock b/Gemfile.lock
index aa8376d..f448f18 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,16 +1,10 @@
GEM
remote: https://rubygems.org/
specs:
- activesupport (5.2.0)
- concurrent-ruby (~> 1.0, >= 1.0.2)
- i18n (>= 0.7, < 2)
- minitest (~> 5.1)
- tzinfo (~> 1.1)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
asciidoctor (1.5.7.1)
colorator (1.1.0)
- colorize (0.8.1)
concurrent-ruby (1.0.5)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
@@ -19,18 +13,18 @@ GEM
ffi (>= 1.3.0)
eventmachine (1.2.7)
fastimage (2.1.5)
- ffi (1.9.25)
+ ffi (1.16.3)
forwardable-extended (2.6.0)
git (1.5.0)
- html-proofer (3.9.1)
- activesupport (>= 4.2, < 6.0)
+ html-proofer (4.4.3)
addressable (~> 2.3)
- colorize (~> 0.8)
- mercenary (~> 0.3.2)
- nokogiri (~> 1.8.1)
- parallel (~> 1.3)
+ mercenary (~> 0.3)
+ nokogiri (~> 1.13)
+ parallel (~> 1.10)
+ rainbow (~> 3.0)
typhoeus (~> 1.3)
yell (~> 2.0)
+ zeitwerk (~> 2.5)
http_parser.rb (0.6.0)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
@@ -75,14 +69,16 @@ GEM
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
mercenary (0.3.6)
- mini_portile2 (2.3.0)
- minitest (5.11.3)
- nokogiri (1.8.4)
- mini_portile2 (~> 2.3.0)
+ mini_portile2 (2.8.5)
+ nokogiri (1.15.5)
+ mini_portile2 (~> 2.8.2)
+ racc (~> 1.4)
parallel (1.12.1)
pathutil (0.16.1)
forwardable-extended (~> 2.6)
public_suffix (3.0.3)
+ racc (1.7.3)
+ rainbow (3.1.1)
rake (12.3.1)
rb-fsevent (0.10.3)
rb-inotify (0.9.10)
@@ -95,17 +91,16 @@ GEM
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
- thread_safe (0.3.6)
typhoeus (1.3.0)
ethon (>= 0.9.0)
- tzinfo (1.2.5)
- thread_safe (~> 0.1)
yell (2.0.7)
+ zeitwerk (2.6.12)
PLATFORMS
ruby
DEPENDENCIES
+ ffi (~> 1.16.3)
git
html-proofer
jekyll (~> 3.8.3)
@@ -114,8 +109,9 @@ DEPENDENCIES
jekyll-seo-tag
jekyll-theme-open-project (~> 2.0.14)
jekyll-theme-open-project-helpers (~> 2.0.14)
+ nokogiri (~> 1.15.5)
rake
tzinfo-data
BUNDLED WITH
- 2.0.1
+ 2.4.21
diff --git a/_config.yml b/_config.yml
index 783d81d..9d540e5 100644
--- a/_config.yml
+++ b/_config.yml
@@ -15,9 +15,9 @@ legal:
tos_link: https://www.ribose.com/tos
privacy_policy_link: https://www.ribose.com/privacy
-parent_hub:
- git_repo_url: https://github.com/riboseinc/open.ribose.com
- home_url: https://open.ribose.com/
+# parent_hub:
+# git_repo_url: https://github.com/riboseinc/open.ribose.com
+# home_url: https://open.ribose.com/
# These are required for the theme to work:
diff --git a/parent-hub/assets/symbol.svg b/parent-hub/assets/symbol.svg
new file mode 100644
index 0000000..f09d559
--- /dev/null
+++ b/parent-hub/assets/symbol.svg
@@ -0,0 +1,3 @@
+
diff --git a/parent-hub/title.html b/parent-hub/title.html
new file mode 100644
index 0000000..c4eed50
--- /dev/null
+++ b/parent-hub/title.html
@@ -0,0 +1,37 @@
+
+