Skip to content

Commit c7dadd2

Browse files
authored
Merge pull request #43 from peircej/release
Fixes to API index page
2 parents f9ead99 + 980e51f commit c7dadd2

4 files changed

Lines changed: 5 additions & 26 deletions

File tree

.github/workflows/build_docs.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
pp_branch:
1313
description: 'PsychoPy branch to build docs from'
1414
required: true
15-
default: 'dev'
15+
default: 'release'
1616
type: choice
1717
options:
1818
- dev
@@ -117,15 +117,15 @@ jobs:
117117
path: build/latex/PsychoPyManual.tex
118118
# upload as artefact for deployment job
119119
- name: Upload static files as artifact
120-
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
120+
if: github.ref_name == 'release' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
121121
id: deployment
122122
uses: actions/upload-pages-artifact@v3 # or specific "vX.X.X" version tag for this action
123123
with:
124124
path: build/html/
125125

126126
# Deployment job converts the artifact into a GitHub Pages deployment
127127
deploy:
128-
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
128+
if: github.ref_name == 'release' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
129129
permissions:
130130
contents: write
131131
pages: write # Added for GitHub Pages deployment

source/api/app.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ intended for unit testing the GUI and for developers wishing to extend it.
1111
.. currentmodule:: psychopy.app
1212

1313
Overview
14-
========
14+
--------
1515

1616
.. autosummary::
1717
startApp
@@ -21,7 +21,7 @@ Overview
2121
getAppFrame
2222

2323
Details
24-
=======
24+
-------
2525

2626
.. autofunction:: startApp
2727
.. autofunction:: quitApp

source/api/encryption.rst

Lines changed: 0 additions & 13 deletions
This file was deleted.

source/api/microphone.rst

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)