Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating documentation and documentation system to hyde 2.0 #534

Merged
merged 30 commits into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
ff0e4a5
Fix formatting.
sean-parent Aug 15, 2023
500dfb7
Requiring noexcept for executor tasks.
sean-parent Aug 16, 2023
c4adc11
Fixing typeos for CI.
sean-parent Aug 16, 2023
1f0c8bc
Fixing typos and mistakes for CI.
sean-parent Aug 16, 2023
f3f339d
Updating GCC and fixing future for CI.
sean-parent Aug 16, 2023
25bec08
Removing noexcept() from function signatures for GCC prior to 13.2
sean-parent Aug 16, 2023
d26abda
Reverting accidental save.
sean-parent Aug 16, 2023
3e113b2
Fixing task for MSVC (can't deduce noexcept).
sean-parent Aug 16, 2023
949c359
Fixing range based for loop issue with GCC.
sean-parent Aug 17, 2023
7162c07
Formatting forest.hpp
sean-parent Aug 19, 2023
2a56104
Revert "Fixing task for MSVC (can't deduce noexcept)."
sean-parent Aug 19, 2023
0fdb98d
Another approach to deduce noexcept.
sean-parent Aug 19, 2023
c58d215
Removing noexcept mangling for GCC.
sean-parent Aug 19, 2023
888cb4a
Improving nothrow invocable test.
sean-parent Aug 19, 2023
b48bcbe
Fixing implementation to handle non-invocable types.
sean-parent Aug 19, 2023
13315f3
Reverting GCC version
sean-parent Aug 19, 2023
8acdc13
Giving up on C++14 support.
sean-parent Aug 19, 2023
7891b67
Merge branch 'stlab:main' into main
sean-parent Sep 2, 2023
dc516a1
Update _config.yml
sean-parent Sep 2, 2023
0db6f5c
Merge branch 'main' of https://github.com/sean-parent/stlab-libraries
sean-parent Sep 2, 2023
9c4221f
Hyde updated docs
sean-parent Sep 5, 2023
01f09ec
Getting Hyde 2.0 going.
sean-parent Sep 5, 2023
b05b2cb
Merge remote-tracking branch 'upstream'
sean-parent Oct 28, 2023
71afe29
Eliminate unnessary executor calls for reduction
sean-parent Nov 16, 2023
8d084e7
Pushing progress to continue working from another device
sean-parent Nov 17, 2023
eace4e9
Cleaning with hyde 2.0 - preping for release.
sean-parent Jan 10, 2024
3a48e3a
Trying to update all tools.
sean-parent Jan 10, 2024
7ce0a3b
Fixing deprecated usage of aligned_storage, and fully (?) updating Wi…
sean-parent Jan 11, 2024
6b1d9b2
another attempt to build.
sean-parent Jan 11, 2024
437091b
Trying to find the vcvarsall.bat file!
sean-parent Jan 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 11 additions & 11 deletions .github/matrix.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
{
"config": [
{
"name": "Linux GCC 11",
"name": "Linux GCC 13",
"compiler": "gcc",
"version": "11",
"version": "13",
"os": "ubuntu-22.04"
},
{
"name": "Linux Clang 14",
"name": "Linux Clang 15",
"compiler": "clang",
"version": "14",
"version": "15",
"os": "ubuntu-22.04"
},
{
"name": "macOS apple-clang 13.0.0",
"name": "macOS apple-clang 15.1.0",
"compiler": "apple-clang",
"version": "13.0.0",
"os": "macos-11"
"version": "15.1.0",
"os": "macos-13"
},
{
"name": "Windows VS2019",
"name": "Windows VS2022",
"compiler": "Visual Studio",
"version": "16",
"os": "windows-2019",
"cmake_toolset": "Visual Studio 16 2019"
"version": "17",
"os": "windows-2022",
"cmake_toolset": "Visual Studio 17 2022"
},
{
"name": "Linux Webassembly",
Expand Down
67 changes: 67 additions & 0 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
@@ -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: [$default-branch]

# 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@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.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: cd ./docs && 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
7 changes: 4 additions & 3 deletions .github/workflows/stlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
run: echo "::set-output name=matrix::$(cat .github/matrix.json | scripts/flatten_json.py)"

builds:
# installed tools and runners can be found here: https://github.com/actions/runner-images
needs: generate-matrix
runs-on: ${{ matrix.config.os }}
strategy:
Expand Down Expand Up @@ -106,7 +107,7 @@ jobs:
shell: bash
run: |
mkdir ../build
cmake -S. -B../build -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=23
cmake -S. -B../build -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=20

- name: Configure // Linux Emscripten
if: ${{ startsWith(matrix.config.compiler, 'emscripten') }}
Expand All @@ -120,7 +121,7 @@ jobs:
if: ${{ startsWith(matrix.config.os, 'windows') }}
shell: cmd
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
mkdir ..\build
cmake -S. -B../build -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=20 -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake

Expand All @@ -134,7 +135,7 @@ jobs:
if: ${{ startsWith(matrix.config.os, 'windows') }}
shell: cmd
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
cmake --build ../build/

- name: Test
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,7 @@ STLab uses [hyde](https://github.com/adobe/hyde) to generate documentation boile
When adding a new public API, you should invoke

```
docker run --platform linux/x86_64 --mount type=bind,source="$(pwd)/..",target=/mnt/host \
--tty --interactive \
hyde bash
docker run --platform linux/x86_64 --mount type=bind,source="$(pwd)/..",target=/mnt/host --tty --interactive hyde bash
```

```
Expand Down
2 changes: 1 addition & 1 deletion docs/.ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.4
3.2.2
8 changes: 7 additions & 1 deletion docs/Gemfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
source 'https://rubygems.org'
gem 'github-pages', group: :jekyll_plugins
gem 'jekyll'
gem 'jekyll-redirect-from', group: [:jekyll_plugins]
gem 'jekyll-compose', group: [:jekyll_plugins]
gem "jekyll-remote-theme", group: [:jekyll_plugins]
# don't submit this line to the upstream repo
## Enable this line for local theme development
# gem 'jekyll-theme-adobe-hyde', path: '../../themes'
Loading
Loading