From 1cb1dc3b97643712b952a4cb23e1a67d030fca93 Mon Sep 17 00:00:00 2001 From: Patrick Foley Date: Wed, 28 Aug 2024 13:23:03 -0700 Subject: [PATCH 1/4] Fix readthedocs --- .readthedocs.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index ca477b6592..ac03a9d5c1 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -32,4 +32,6 @@ sphinx: # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html python: install: + - method: pip + path: . - requirements: docs/requirements-docs.txt From 7ed427cd13d4a18bcafcd9d1c52a8daef383f007 Mon Sep 17 00:00:00 2001 From: Patrick Foley Date: Wed, 28 Aug 2024 14:59:09 -0700 Subject: [PATCH 2/4] Create generate_docs.yml --- .github/workflows/generate_docs.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/generate_docs.yml diff --git a/.github/workflows/generate_docs.yml b/.github/workflows/generate_docs.yml new file mode 100644 index 0000000000..53ad802625 --- /dev/null +++ b/.github/workflows/generate_docs.yml @@ -0,0 +1,20 @@ +name: Documentation_Preview +on: + pull_request_target: + types: + - opened + # Execute this action only on PRs that touch + # documentation files. + # paths: + # - "docs/**" + +permissions: + pull-requests: write + +jobs: + documentation-links: + runs-on: ubuntu-latest + steps: + - uses: readthedocs/actions/preview@v1 + with: + project-slug: "openfl" From 3fb03ec80d2947f432aeb9d6b4fe321ae38d4cb2 Mon Sep 17 00:00:00 2001 From: Patrick Foley Date: Wed, 28 Aug 2024 15:01:19 -0700 Subject: [PATCH 3/4] Update generate_docs.yml --- .github/workflows/generate_docs.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/generate_docs.yml b/.github/workflows/generate_docs.yml index 53ad802625..b171cd8909 100644 --- a/.github/workflows/generate_docs.yml +++ b/.github/workflows/generate_docs.yml @@ -1,12 +1,7 @@ name: Documentation_Preview on: - pull_request_target: - types: - - opened - # Execute this action only on PRs that touch - # documentation files. - # paths: - # - "docs/**" + pull_request: + branches: [ develop ] permissions: pull-requests: write From 4088864fabd49c72ac47db0c8f8a6b96a42c2e42 Mon Sep 17 00:00:00 2001 From: Patrick Foley Date: Thu, 29 Aug 2024 11:22:21 -0700 Subject: [PATCH 4/4] Delete .github/workflows/generate_docs.yml Separate into a new PR --- .github/workflows/generate_docs.yml | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 .github/workflows/generate_docs.yml diff --git a/.github/workflows/generate_docs.yml b/.github/workflows/generate_docs.yml deleted file mode 100644 index b171cd8909..0000000000 --- a/.github/workflows/generate_docs.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Documentation_Preview -on: - pull_request: - branches: [ develop ] - -permissions: - pull-requests: write - -jobs: - documentation-links: - runs-on: ubuntu-latest - steps: - - uses: readthedocs/actions/preview@v1 - with: - project-slug: "openfl"