基于vuepress的sphinx文档主题
sphinx-press-theme的Python项目详细描述
python的[sphinx](http://www.sphinx-doc.org)文档生成器的现代响应主题。
在新闻主题自己的[网站](https://schettino72.github.io/sphinx_press_site/)上查看它的实际效果
这个主题基于[vuepress](https://vuepress.vuejs.org/)。 它使用由 [网页包](https://webpack.js.org/)(通过[vue cli](https://cli.vuejs.org/))。
press主题仍在beta中,一些核心sphinx功能仍然不可用。 欢迎捐款。
##用法
首先安装主题:
` $ pip install sphinx_press_theme `
在sphinx项目的conf.py:将主题名设置为press。
` html_theme = "press" `
请参阅[Sphinx主题文档](http://www.sphinx-doc.org/en/master/theming.html#using-a-theme)的详细信息。
##开发
首次构建Web资产:
` cd ui npm run build `
狮身人面像主题有一个软链接到建成资产… 使用pip install-e.在本地安装主题。
文档文件夹包含主题自己的文档。
` cd docs make clean; make html `
##网站
更新网站:
CD../新闻网站 rsync-rvi../sphinx_vuepress_theme/docs/build/html/。 git add–全部