[docs] Fix paths to work with local builds

Local builds of the docs without a web server (e.g. ./build_docs.sh -p)
were not working. This commit fixes this.
[runtime] CaseClassSerializer correctly treated as stateful