-
Hi, I am checking that building the documentation works within a Github Actions job that looks like this:
Within my
The directory Before using Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The difference is probably that |
Beta Was this translation helpful? Give feedback.
The difference is probably that
pdm run
does not add the current working directory toPYTHONPATH
/sys.path
. Therefore the MkDocs YAML loader cannot finddocs_sources
. To fix this, you have to add it yourself, for example by settingPYTHONPATH: .
in your jobenv
, or by runningPYTHONPATH=. pdm run mkdocs build --strict
.