Skip to content

Commit 1749025

Browse files
committed
Docs tweaks
1 parent f376a46 commit 1749025

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,14 @@ jobs:
3636
with:
3737
msg: ${{ github.ref }}
3838
seperator: /
39-
maxsplit: 2
4039

4140
- name: Move to versioned directory
4241
# e.g. master or 0.1.2
4342
run: mv build/html ".github/pages/${{ steps.split.outputs._2 }}"
4443

4544
- name: Publish Docs to gh-pages
4645
# Only master and tags are published
47-
if: "${{ github.repository_owner == 'dls-controls' }}"
46+
if: "${{ github.repository_owner == 'dls-controls' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags')) }}"
4847
# We pin to the SHA, not the tag, for security reasons.
4948
# https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions
5049
uses: peaceiris/actions-gh-pages@bbdfb200618d235585ad98e965f4aafc39b4c501 # v3.7.3

CONTRIBUTING.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ To get the source source code and run the unit tests, run::
1717

1818
$ git clone git://github.com/dls-controls/pythonIoc.git
1919
$ cd pythonIoc
20+
$ git submodule init
21+
$ git submodule update
2022
$ pipenv install --dev
2123
$ pipenv run tests
2224

docs/tutorials/installation.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ You can now use ``pip`` to install the library::
3535

3636
python3 -m pip install softioc
3737

38+
Optionally you can install cothread, which is used in the first tutorial::
39+
40+
python3 -m pip install cothread
41+
3842
If you require a feature that is not currently released you can also install
3943
from github::
4044

tests/sim_records.py

100755100644
File mode changed.

0 commit comments

Comments
 (0)