diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml new file mode 100644 index 000000000..297fd2e42 --- /dev/null +++ b/.github/workflows/jekyll.yml @@ -0,0 +1,67 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +# Sample workflow for building and deploying a Jekyll site to GitHub Pages +name: Deploy Jekyll site to Pages + +on: + # Runs on pushes targeting the default branch + push: + branches: ["main"] + + # Allows you to run this workflow manually from the Actions tab + 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: "pages" + cancel-in-progress: false + +jobs: + # Build job + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Ruby + uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0 + with: + # ruby-version: '3.1' # Not needed with a .ruby-version file + bundler-cache: true # runs 'bundle install' and caches installed gems automatically + cache-version: 0 # Increment this number if you need to re-download cached gems + - name: Setup Pages + id: pages + uses: actions/configure-pages@v4 + - name: Build with Jekyll + # Outputs to the './_site' directory by default + run: cd ./docs + 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@v3 + with: + path: ./docs/_site + + # Deployment job + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/docs/Gemfile b/docs/Gemfile index 568b1710f..a7e9c457e 100644 --- a/docs/Gemfile +++ b/docs/Gemfile @@ -3,4 +3,6 @@ gem 'jekyll' gem 'jekyll-redirect-from', group: [:jekyll_plugins] gem 'jekyll-compose', group: [:jekyll_plugins] gem "jekyll-remote-theme", group: [:jekyll_plugins] -gem 'jekyll-theme-adobe-hyde', path: '../../../stlab/hyde-theme' +# don't submit this line to the upstream repo +## Enable this line for local theme development +# gem 'jekyll-theme-adobe-hyde', path: '../../themes' diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock index f8ba7b2a2..5e7e16fb8 100644 --- a/docs/Gemfile.lock +++ b/docs/Gemfile.lock @@ -1,14 +1,7 @@ -PATH - remote: ../../../stlab/hyde-theme - specs: - jekyll-theme-adobe-hyde (2.0.1) - jekyll (~> 4.3) - jekyll-seo-tag (~> 2.0) - GEM remote: https://rubygems.org/ specs: - addressable (2.8.5) + addressable (2.8.6) public_suffix (>= 2.0.2, < 6.0) colorator (1.1.0) concurrent-ruby (1.2.2) @@ -16,13 +9,18 @@ GEM eventmachine (>= 0.12.9) http_parser.rb (~> 0) eventmachine (1.2.7) - ffi (1.15.5) + ffi (1.16.3) forwardable-extended (2.6.0) - google-protobuf (3.24.3-x86_64-linux) + google-protobuf (3.25.2) + google-protobuf (3.25.2-aarch64-linux) + google-protobuf (3.25.2-arm64-darwin) + google-protobuf (3.25.2-x86-linux) + google-protobuf (3.25.2-x86_64-darwin) + google-protobuf (3.25.2-x86_64-linux) http_parser.rb (0.8.0) i18n (1.14.1) concurrent-ruby (~> 1.0) - jekyll (4.3.2) + jekyll (4.3.3) addressable (~> 2.4) colorator (~> 1.0) em-websocket (~> 0.5) @@ -49,8 +47,6 @@ GEM rubyzip (>= 1.3.0, < 3.0) jekyll-sass-converter (3.0.0) sass-embedded (~> 1.54) - jekyll-seo-tag (2.8.0) - jekyll (>= 3.8, < 5.0) jekyll-watch (2.2.1) listen (~> 3.0) kramdown (2.4.0) @@ -64,30 +60,70 @@ GEM mercenary (0.4.0) pathutil (0.16.2) forwardable-extended (~> 2.6) - public_suffix (5.0.3) + public_suffix (5.0.4) rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) rexml (3.2.6) - rouge (4.1.3) + rouge (4.2.0) rubyzip (2.3.2) safe_yaml (1.0.5) - sass-embedded (1.66.1-x86_64-linux-gnu) - google-protobuf (~> 3.23) + sass-embedded (1.69.7-aarch64-linux-android) + google-protobuf (~> 3.25) + sass-embedded (1.69.7-aarch64-linux-gnu) + google-protobuf (~> 3.25) + sass-embedded (1.69.7-aarch64-linux-musl) + google-protobuf (~> 3.25) + sass-embedded (1.69.7-arm-linux-androideabi) + google-protobuf (~> 3.25) + sass-embedded (1.69.7-arm-linux-gnueabihf) + google-protobuf (~> 3.25) + sass-embedded (1.69.7-arm-linux-musleabihf) + google-protobuf (~> 3.25) + sass-embedded (1.69.7-arm64-darwin) + google-protobuf (~> 3.25) + sass-embedded (1.69.7-x86-linux-android) + google-protobuf (~> 3.25) + sass-embedded (1.69.7-x86-linux-gnu) + google-protobuf (~> 3.25) + sass-embedded (1.69.7-x86-linux-musl) + google-protobuf (~> 3.25) + sass-embedded (1.69.7-x86_64-darwin) + google-protobuf (~> 3.25) + sass-embedded (1.69.7-x86_64-linux-android) + google-protobuf (~> 3.25) + sass-embedded (1.69.7-x86_64-linux-gnu) + google-protobuf (~> 3.25) + sass-embedded (1.69.7-x86_64-linux-musl) + google-protobuf (~> 3.25) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) - unicode-display_width (2.4.2) + unicode-display_width (2.5.0) webrick (1.8.1) PLATFORMS - x86_64-linux + aarch64-linux + aarch64-linux-android + aarch64-linux-gnu + aarch64-linux-musl + arm-linux-androideabi + arm-linux-gnueabihf + arm-linux-musleabihf + arm64-darwin + x86-linux + x86-linux-android + x86-linux-gnu + x86-linux-musl + x86_64-darwin + x86_64-linux-android + x86_64-linux-gnu + x86_64-linux-musl DEPENDENCIES jekyll jekyll-compose jekyll-redirect-from jekyll-remote-theme - jekyll-theme-adobe-hyde! BUNDLED WITH - 2.4.19 + 2.5.4 diff --git a/docs/_config.yml b/docs/_config.yml index 1ee462ec9..1bec67a0b 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -15,8 +15,10 @@ baseurl: "" # the subpath of your site, e.g. /blog url: "http://www.stlab.cc" # the base hostname & protocol for your site twitter_username: SeanParent github_username: stlab -# remote_theme: adobe/hyde-theme@v2.0.1 -theme: jekyll-theme-adobe-hyde + +## To build locally, toggle these two. +remote_theme: adobe/hyde-theme@v2.0.1 +# theme: jekyll-theme-adobe-hyde exclude: - _source - build diff --git a/docs/about.md b/docs/about.md index 59fc3e0cf..f7da9d726 100644 --- a/docs/about.md +++ b/docs/about.md @@ -1,8 +1,9 @@ --- layout: page title: About -tab: About permalink: /about/ +hyde: + tab: About --- stlab is the ongoing work of what was Adobe's Software Technology Lab. The Adobe Source Libraries (ASL), Platform Libraries, and new stlab libraries are hosted on [github](https://github.com/stlab). diff --git a/docs/chat.md b/docs/chat.md index 3b38b9e6c..cd64707f9 100644 --- a/docs/chat.md +++ b/docs/chat.md @@ -1,8 +1,9 @@ --- layout: page title: Chat -tab: Chat permalink: /chat/ +hyde: + tab: Chat --- For video chats use the Google Hangout below (requires a Google account). diff --git a/docs/index.html b/docs/index.html index 56ee02198..de32ea08c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2,18 +2,18 @@ layout: default --- -{% assign home_thumbs = site.pages | where_exp:"p","p.icon" | sort:"tab"%} +{% assign home_thumbs = site.pages | where_exp:"p","p.hyde.icon" | sort:"hyde.tab"%}
- {% if page.icon %}
+ {% if page.hyde.icon %}
-
{% endif %}
diff --git a/docs/legacy/index.md b/docs/legacy/index.md
index f5ff9582a..46c6d45b2 100644
--- a/docs/legacy/index.md
+++ b/docs/legacy/index.md
@@ -1,9 +1,10 @@
---
title: Welcome to the stlab.adobe.com Wiki
-tab: Legacy
layout: page
redirect_from: /legacy/index.php/Main_Page
-icon: pagelines
+hyde:
+ tab: Legacy
+ icon: leaf
---
_These pages have been migrated from stlab.adobe.com/wiki for preservation. They may eventually be revised and moved into a more appropriate location on the site._
diff --git a/docs/libraries/concurrency/channel.hpp/receiver3CT3E/set_ready.md b/docs/libraries/concurrency/channel.hpp/receiver3CT3E/set_ready.md
deleted file mode 100644
index 4a79fd2c8..000000000
--- a/docs/libraries/concurrency/channel.hpp/receiver3CT3E/set_ready.md
+++ /dev/null
@@ -1,22 +0,0 @@
----
-layout: method
-title: set_ready
-tags: [library]
-scope: receiver
-pure-name: set_ready
-defined-in-header: stlab/concurrency/channel.hpp
-declaration: set_ready
-brief: Sets the receiver ready to receive values.
-description: Sets the receiver ready to receive values.
-example: set_ready_example.cpp
-entities:
- - kind: methods
- list:
- - name: stlab::receiver::set_ready
- pure-name: set_ready
- defined-in-header: stlab/concurrency/channel.hpp
- declaration: void set_ready()
- description: Sets this receiver ready to receiver values. That implies that no more downstream processes can be attached.
- - kind: parameters
- - kind: result
----
diff --git a/docs/libraries/concurrency/default_executor.hpp/executor_type3CP3E/index.md b/docs/libraries/concurrency/default_executor.hpp/executor_type3CP3E/index.md
deleted file mode 100644
index 2d087021a..000000000
--- a/docs/libraries/concurrency/default_executor.hpp/executor_type3CP3E/index.md
+++ /dev/null
@@ -1,20 +0,0 @@
----
-layout: class
-title: executor_type
- {{page.tab}}
+
+ {{page.hyde.tab}}
-owner: __MISSING__
-brief: __MISSING__
-tags:
- - class
-defined_in_file: concurrency/default_executor.hpp
-declaration: "template |