SphinxMinooTheme
v1.0.1
Minoo主题是一个狮身人面像的主题,它支持像波斯语这样的左至正式语言。它可以在PYPI上获得,并使开发人员能够使用具有优雅和功能的设计来创建文档网站,可与RTL语言配合使用。
内容
您可以从PYPI安装Minoo主题:
$ pip安装sphinx_minoo_theme
要在您的狮身人面像项目中使用主题,请编辑sphinx配置文件conf.py如下:
#在顶部。 导入sphinx_minoo_theme #... 扩展= [“ sphinxcontrib.jquery”] html_theme =“ sphinx_minoo_theme” html_theme_path = [sphinx_minoo_theme.get_html_theme_path()]
另外,您可以从存储库中下载主题,并复制sphinx_minoo_theme/sphinx_minoo_theme theme在_templates文件夹中。然后,将以下行添加到您的conf.py文件:
扩展= [“ sphinxcontrib.jquery”] html_theme =“ sphinx_minoo_theme” html_theme_path = [“ _ templates”]
要自定义Minoo主题,请执行以下步骤:
avatar.jpg将您的头像图像文件放入static文件夹中。theme.conf :转向:
方向= ltr
对于“左右”语言,将其设置为rtl
添加您的Google Analytics(分析)ID:
Analytics_ID = UA-XXXXX-X
添加您的网站地址和社交链接:
网站=
Facebook =
GooglePlus =
LinkedIn =
Twitter =
github = https://github.com/saeiddrv/sphinxminootheme
GitLab =
bitbucket =
空白于您不想要的任何一个。
glossary.html文件以更改主题单词。 Minoo主题是根据MIT许可证获得许可的。有关更多信息,请参阅许可证文件。
我要感谢sphinx_rtd_theme帮助我构建这个主题。