Skip to content

Commit 8c289af

Browse files
authored
Merge branch 'main' into update_repo_refs
2 parents d137e60 + 079ec6a commit 8c289af

File tree

8 files changed

+70
-17
lines changed

8 files changed

+70
-17
lines changed

README-testing.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,14 @@ use the provided setup script:
2828
./psij-ci-setup
2929
```
3030

31-
or manually set up the CI runner with Cron or your favorite scheduler.
32-
33-
Note: If you need to set up an environment module (such as
34-
`module load python/cpython-x.y.z`) or something similar, such as
35-
loading a conda or virtual environment, please add the relevant commands to
36-
`psij-ci-load`, which is sourced before tests are run by `psij-ci-run`. If the
37-
setup script is run under a venv or Conda, it will attempt to detect this and
38-
ask whether the relevant environment activation commands should be added to
39-
`psij-ci-load`. However, not all circumstances can be reliably detected and
40-
you may need to manually edit `psij-ci-load`.
31+
or manually set up the CI runner (`psij-ci-run`) with Cron or your
32+
favorite scheduler.
33+
34+
Note: If you need to set up an environment module (such as `module load
35+
python/cpython-x.y.z`) or something similar, such as loading a conda or
36+
virtual environment, please run the relevant commands before invoking
37+
`psij-ci-setup`.
38+
4139

4240
Testing with the CI runner
4341
==========================

docs/_static/extras.css

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
.psij-selector-value {
2+
display: inline-block;
3+
border-style: solid;
4+
border-width: 1pt;
5+
border-radius: 3pt;
6+
border-color: rgba(0, 0, 0, 0.2);
7+
background-color: rgba(255, 255, 255, 0.7);
8+
}
9+
10+
select.psij-selector {
11+
border: thin solid;
12+
border-color: rgba(0, 0, 0, 0.2);
13+
border-radius: 3pt;
14+
padding-left: 4pt;
15+
padding-right: 16pt;
16+
appearance: none;
17+
background: url(select-arrow.png) no-repeat;
18+
background-position: right 4pt center;
19+
background-size: 8pt;
20+
}
21+
22+
select.psij-selector:focus {
23+
outline: none;
24+
border-color: var(--color-fg-lines);
25+
box-shadow: 0 0 1.5pt var(--color-fg-lines);
26+
}
27+
28+
.selector-radio {
29+
width: 0;
30+
height: 0;
31+
}
32+
33+
.selector-label {
34+
cursor: pointer;
35+
36+
font-size: 94%;
37+
38+
z-index: 1;
39+
display: inline-block;
40+
position: relative;
41+
min-width: 80pt;
42+
43+
padding: 3pt;
44+
padding-left: 8pt;
45+
height: 22pt;
46+
47+
margin-right: 1pt;
48+
49+
background: #e7f2fa;
50+
top: 12pt;
51+
}
52+
53+
.selector-radio:checked + .selector-label {
54+
z-index: 3;
55+
height: 24pt;
56+
border-top: 3px solid #6ab0de;
57+
}

docs/_static/select-arrow.png

1.53 KB
Loading

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
# These are needed for the dhtml trickery
3636
html_static_path = ["_static"]
3737
html_js_files = ["extras.js"]
38+
html_css_files = ["extras.css"]
3839

3940
# Setup Sphinx extensions (and associated variables)
4041
extensions = [

psij-ci-load

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

psij-ci-run

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ failifempty() {
1616
fi
1717
}
1818

19-
source psij-ci-load
2019
if [ -f psij-ci-env ]; then
2120
source psij-ci-env
2221
fi

psij-ci-setup

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,7 @@ echo "This script will install requirements for the PSI/J CI tests and"
188188
echo "add a cron job to run the tests once a day at some random time. "
189189
echo " "
190190
echo "If you need to set up a special environment, such as loading an "
191-
echo "environment module please exit this script and add the relevant "
192-
echo "commands to psij-ci-load. "
191+
echo "environment module please do so and then re-run this script. "
193192
echo "================================================================"
194193
echo
195194

web/docs/_static/extras.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/* This overwrites the standard docs extras.css which contains styling
2+
for the selectors and would otherwise mess up the specific styling
3+
used for the web build of the docs */

0 commit comments

Comments
 (0)