Skip to content

Commit

Permalink
chore: v0.28.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed May 5, 2023
1 parent d8857cc commit d3c298a
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 18 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: docs
on:
push:
tags:
- "*"
pull_request:

jobs:
Test:
Expand Down Expand Up @@ -34,11 +32,12 @@ jobs:
- name: Build Documentation
run: task docs

- name: Deploy Documentation
uses: Cecilapp/GitHub-Pages-deploy@v3
with:
build_dir: docs/build/html/
branch: gh-pages
email: [email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# TODO Automatic deploys fail
# - name: Deploy Documentation
# uses: Cecilapp/GitHub-Pages-deploy@v3
# with:
# build_dir: docs/build/html/
# branch: gh-pages
# email: [email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,17 @@ cmake_minimum_required(VERSION 3.20)
# If commented, the latest supported standard for your compiler is automatically set.
# set(CMAKE_CXX_STANDARD 20)
include(FetchContent)
if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
cmake_policy(SET CMP0135 NEW)
endif()
# Add project_options from https://github.com/aminya/project_options
# Change the version in the following URL to update the package (watch the releases of the repository for future updates)
include(FetchContent)
FetchContent_Declare(_project_options URL
https://github.com/aminya/project_options/archive/refs/tags/v0.27.2.zip
)
set(PROJECT_OPTIONS_VERSION "v0.28.0")
FetchContent_Declare(
_project_options
URL https://github.com/aminya/project_options/archive/refs/tags/${PROJECT_OPTIONS_VERSION}.zip)
FetchContent_MakeAvailable(_project_options)
include(${_project_options_SOURCE_DIR}/Index.cmake)
Expand Down
2 changes: 1 addition & 1 deletion docs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 3.25)

project(
project_options_docs
VERSION 0.27.2
VERSION 0.28.0
DESCRIPTION "Documentation"
LANGUAGES NONE)

Expand Down
2 changes: 1 addition & 1 deletion docs/src/dynamic_project_options.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ endif()
# Add project_options from https://github.com/aminya/project_options
# Change the version in the following URL to update the package (watch the releases of the repository for future updates)
set(PROJECT_OPTIONS_VERSION "v0.27.2")
set(PROJECT_OPTIONS_VERSION "v0.28.0")
FetchContent_Declare(
_project_options
URL https://github.com/aminya/project_options/archive/refs/tags/${PROJECT_OPTIONS_VERSION}.zip)
Expand Down
2 changes: 1 addition & 1 deletion docs/src/project_options_example.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ endif()
# Add project_options from https://github.com/aminya/project_options
# Change the version in the following URL to update the package (watch the releases of the repository for future updates)
set(PROJECT_OPTIONS_VERSION "v0.27.2")
set(PROJECT_OPTIONS_VERSION "v0.28.0")
FetchContent_Declare(
_project_options
URL https://github.com/aminya/project_options/archive/refs/tags/${PROJECT_OPTIONS_VERSION}.zip)
Expand Down

0 comments on commit d3c298a

Please sign in to comment.