From 0b67f5695e100adce8f8d7efe65f4ab39144de06 Mon Sep 17 00:00:00 2001 From: KW Kwan Date: Thu, 10 Aug 2023 14:07:10 +0800 Subject: [PATCH] Apply ribose open theme --- .gitignore | 2 + Gemfile | 11 ++++ Gemfile.lock | 35 +++++++++++++ _config.yml | 130 +++++++++++++++++++++++++++++++++++++++++----- assets/symbol.svg | 1 + 5 files changed, 167 insertions(+), 12 deletions(-) create mode 100644 assets/symbol.svg diff --git a/.gitignore b/.gitignore index f40fbd8..3020c47 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ _site .jekyll-cache .jekyll-metadata vendor +parent-hub +.DS_Store \ No newline at end of file diff --git a/Gemfile b/Gemfile index da4d2d4..1d86410 100644 --- a/Gemfile +++ b/Gemfile @@ -17,6 +17,15 @@ gem "minima", "~> 2.5" group :jekyll_plugins do gem "jekyll-feed", "~> 0.15.1" gem "github-pages", "~> 228" + gem "jekyll-seo-tag" + gem "jekyll-sitemap" + gem "jekyll-data" + gem "jekyll-asciidoc" + gem "jekyll-redirect-from" + gem "jekyll-theme-open-project-helpers" + gem "git" + gem "kramdown-parser-gfm" + gem "kramdown-syntax-coderay" end # Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem @@ -32,3 +41,5 @@ gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin] # Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem # do not have a Java counterpart. gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby] + +gem "jekyll-theme-open-project" \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index e7796df..e84424e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -8,6 +8,8 @@ GEM tzinfo (~> 2.0) addressable (2.8.5) public_suffix (>= 2.0.2, < 6.0) + asciidoctor (2.0.20) + coderay (1.1.3) coffee-script (2.4.1) coffee-script-source execjs @@ -28,9 +30,13 @@ GEM faraday-net_http (>= 2.0, < 3.1) ruby2_keywords (>= 0.0.4) faraday-net_http (3.0.2) + fastimage (2.1.7) ffi (1.15.5) forwardable-extended (2.6.0) gemoji (3.0.1) + git (1.18.0) + addressable (~> 2.8) + rchardet (~> 1.8) github-pages (228) github-pages-health-check (= 1.17.9) jekyll (= 3.9.3) @@ -101,6 +107,9 @@ GEM pathutil (~> 0.9) rouge (>= 1.7, < 4) safe_yaml (~> 1.0) + jekyll-asciidoc (3.0.0) + asciidoctor (>= 1.5.0) + jekyll (>= 3.0.0) jekyll-avatar (0.7.0) jekyll (>= 3.0, < 5.0) jekyll-coffeescript (1.1.1) @@ -113,6 +122,8 @@ GEM jekyll (~> 3.9.0) jekyll-commonmark (~> 1.4.0) rouge (>= 2.0, < 5.0) + jekyll-data (1.1.1) + jekyll (>= 3.3, < 5.0.0) jekyll-default-layout (0.1.4) jekyll (~> 3.0) jekyll-feed (0.15.1) @@ -175,6 +186,16 @@ GEM jekyll-theme-modernist (0.2.0) jekyll (> 3.5, < 5.0) jekyll-seo-tag (~> 2.0) + jekyll-theme-open-project (2.0.22) + git (~> 1.4) + jekyll (~> 3.8) + jekyll-data (~> 1.0) + jekyll-seo-tag (~> 2.0) + jekyll-theme-open-project-helpers (= 2.0.21) + jekyll-theme-open-project-helpers (2.0.21) + fastimage (~> 2.1.4) + git (~> 1.4) + jekyll (~> 3.8) jekyll-theme-primer (0.6.0) jekyll (> 3.5, < 5.0) jekyll-github-metadata (~> 2.9) @@ -200,6 +221,9 @@ GEM rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) + kramdown-syntax-coderay (1.0.1) + coderay (~> 1.1) + kramdown (~> 2.0) liquid (4.0.4) listen (3.8.0) rb-fsevent (~> 0.10, >= 0.10.3) @@ -224,6 +248,7 @@ GEM rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) + rchardet (1.8.0) rexml (3.2.6) rouge (3.26.0) ruby2_keywords (0.0.5) @@ -254,9 +279,19 @@ PLATFORMS ruby DEPENDENCIES + git github-pages (~> 228) http_parser.rb (~> 0.6.0) + jekyll-asciidoc + jekyll-data jekyll-feed (~> 0.15.1) + jekyll-redirect-from + jekyll-seo-tag + jekyll-sitemap + jekyll-theme-open-project + jekyll-theme-open-project-helpers + kramdown-parser-gfm + kramdown-syntax-coderay minima (~> 2.5) tzinfo (>= 1, < 3) tzinfo-data diff --git a/_config.yml b/_config.yml index ef7ba7c..2cdae77 100644 --- a/_config.yml +++ b/_config.yml @@ -18,21 +18,21 @@ # You can create any custom variable you would like, and they will be accessible # in the templates via {{ site.myvariable }}. -title: Your awesome title -email: your-email@example.com +title: Tebako +# email: your-email@example.com description: >- # this means to ignore newlines until "baseurl:" - Write an awesome description for your new site here. You can edit this - line in _config.yml. It will appear in your document head meta (for - Google search results) and in your feed.xml site description. -baseurl: "" # the subpath of your site, e.g. /blog -url: "" # the base hostname & protocol for your site, e.g. http://example.com -twitter_username: jekyllrb -github_username: jekyll + Official website for Tebako, the executable packager. +# baseurl: "" # the subpath of your site, e.g. /blog +url: "https://www.tebako.org" +github_repo_url: https://github.com/tamatebako/tebako.org +github_repo_branch: main +permalink: /blog/:year-:month-:day-:title/ # Build settings -theme: minima -plugins: - - jekyll-feed + +# theme: minima +# plugins: +# - jekyll-feed # Exclude from processing. # The following items will not be processed, by default. @@ -53,3 +53,109 @@ plugins: # - vendor/cache/ # - vendor/gems/ # - vendor/ruby/ + +theme: jekyll-theme-open-project + +relaton: + supported_bibliographies: + - id: iso + label: ISO + gem: relaton-iso + sources: + - { url: "https://iso.org/", label: "ISO.org website" } + +author: + name: Ribose Inc. + url: https://www.ribose.com + +authors: + - name: Ribose Inc. + email: open.source@ribose.com + +contact_email: open.source@ribose.com + +# parent_hub: +# git_repo_url: https://github.com/riboseinc/open.ribose.com +# git_repo_branch: main +# home_url: https://open.ribose.com/ + +includes_dir: '.' + +social: + links: + - https://twitter.com/RiboseUS + - https://github.com/relaton/relaton + +legal: + name: Ribose Group Inc. + tos_link: https://www.ribose.com/tos + privacy_policy_link: https://www.ribose.com/privacy + +home_calls_to_action: + - { url: "/software/relaton/docs/README/", title: "Using the gem" } + #- { url: "/software/relaton-cli/docs/README/", title: "Using the CLI" } + +collections: + projects: + output: false + software: + output: true + permalink: /software/:path/ + specs: + output: true + permalink: /specs/:path/ + posts: + output: true + permalink: /blog/:year-:month-:day-:title/ + pages: + output: true + permalink: /:name/ + + +defaults: + # Theme defaults. + # MUST be duplicated from theme’s _config.yml + # (does not get inherited, unlike the collections hash) + - scope: + path: "" + values: + layout: default + - scope: + path: _posts + type: posts + values: + layout: post + - scope: + path: _software + type: software + values: + layout: product + - scope: + path: _specs + type: specs + values: + layout: spec + +plugins: + - jekyll-seo-tag + - jekyll-sitemap + +tag_namespaces: + software: + writtenin: "Written in" + bindingsfor: "Bindings for" + user: "Target user" + interface: "Interface" + specs: + audience: "Audience" + completion_status: "Status" + +exclude: + - .git + - .lycheeignore + - "*/.git" + - Gemfile* + - Makefile + - Rakefile + - README.adoc + - vendor # for deployment diff --git a/assets/symbol.svg b/assets/symbol.svg new file mode 100644 index 0000000..f78f589 --- /dev/null +++ b/assets/symbol.svg @@ -0,0 +1 @@ + \ No newline at end of file