docs won't build because of missing variables in CoreDDoc mode
Merge pull request #972 from MartinNowak/fixThreadDocs

[trivial] docs won't build because of missing variables in CoreDDoc mode