mirror of
https://github.com/OpenAMP/libmetal.git
synced 2026-02-05 11:10:08 +08:00
Upstream Read The Docs has tightened up the schema checking and this broke what we were doing for PRs. A good number of things were tried but the best compromise is to: * supply a dummy sphinx config file in this repo * override the default build command to use the openamp-docs dir Also: * add more documentation about what is going on * lock to html only format. PRs only do html anyway but make sure Signed-off-by: Bill Mills <bill.mills@linaro.org>
15 lines
683 B
Python
15 lines
683 B
Python
# Although RTDs now requires sphinx: configuration: it does not pass it to the
|
|
# build command and it still looks for conf.py in the current dir. It is
|
|
# confusing to have a conf.py that will only work in the very specific RTDs
|
|
# dir structure so we don't do that.
|
|
|
|
# So we supply a no-op config file and override the build command to run in the
|
|
# openamp-docs dir
|
|
|
|
# Since we have our own build command now, we could eliminate this file
|
|
# completely but that also disables the predefined sphinx steps of
|
|
# create_environment and install. The current setup keeps the build
|
|
# environment closer to that used by the real openamp-docs build
|
|
|
|
print("readthedocs-conf.py does nothing")
|