sphinxcontrib-serializinghtml is a sphinx extension which outputs "serialized" HTML files (json and pickle).