Docs: fix vars-on-top documentation (fixes #1234)