File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,9 @@ jobs:
106
106
# The following step is needed to avoid the following message during the build:
107
107
# "Matplotlib is building the font cache; this may take a moment"
108
108
- name : Pre-build site step
109
- run : PYTHONPATH=$(pwd)/src python -c "import easydiffraction"
109
+ run : |
110
+ export PYTHONPATH=$(pwd)/src:$PYTHONPATH
111
+ python -c "import easydiffraction"
110
112
111
113
# Create the mkdocs.yml configuration file
112
114
# The file is created by merging two files:
@@ -121,6 +123,7 @@ jobs:
121
123
- name : Build site with MkDocs
122
124
run : |
123
125
export JUPYTER_PLATFORM_DIRS=1
126
+ export PYTHONPATH=$(pwd)/src:$PYTHONPATH
124
127
mkdocs build
125
128
126
129
# Set up the Pages action to configure the static files to be deployed
You can’t perform that action at this time.
0 commit comments