From ec80e55a055e045fb6c5cfa2a629773fb3ef79e1 Mon Sep 17 00:00:00 2001 From: EmilDohne <86836589+EmilDohne@users.noreply.github.com> Date: Fri, 23 Feb 2024 16:24:58 +0100 Subject: [PATCH] run wheels on push to bindings branch (temporary) --- .github/workflows/build-wheels.yml | 1 + docs/doxygen/conf.py | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 6fe366aa..5e4585be 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -6,6 +6,7 @@ on: push: branches: - master + - feat-add-python-bindings release: types: - published diff --git a/docs/doxygen/conf.py b/docs/doxygen/conf.py index 48d1e409..80d7b558 100644 --- a/docs/doxygen/conf.py +++ b/docs/doxygen/conf.py @@ -1,6 +1,9 @@ # The sphinx template and setup was mostly adopted from openimageios docs to mimic their styling import subprocess, os, sys + +# This is for local testing and a better way would be preferrable sys.path.insert(0, os.path.abspath("../../bin-int/PhotoshopAPI/x64-release/python")) +sys.path.insert(0, os.path.abspath("../../bin-int/PhotoshopAPI/x64-debug/python")) def configureDoxyfile(input_dir, output_dir): with open('Doxyfile.in', 'r') as file : @@ -17,7 +20,6 @@ def configureDoxyfile(input_dir, output_dir): breathe_projects = {} - if read_the_docs_build: input_dir = '../../PhotoshopAPI' output_dir = 'build'