forked from readthedocs/sphinx_rtd_theme
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from ginnko/version-1.0.0
finish v1.0.0 of the sphinx_ustack_theme
- Loading branch information
Showing
58 changed files
with
6,756 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
include *.txt | ||
include LICENSE | ||
recursive-include sphinx_rtd_theme *.conf | ||
recursive-include sphinx_rtd_theme *.css | ||
recursive-include sphinx_rtd_theme *.eot | ||
recursive-include sphinx_rtd_theme *.html | ||
recursive-include sphinx_rtd_theme *.js | ||
recursive-include sphinx_rtd_theme *.svg | ||
recursive-include sphinx_rtd_theme *.ttf | ||
recursive-include sphinx_rtd_theme *.woff | ||
recursive-include sphinx_rtd_theme *.woff2 | ||
recursive-include sphinx_ustack_theme *.conf | ||
recursive-include sphinx_ustack_theme *.css | ||
recursive-include sphinx_ustack_theme *.eot | ||
recursive-include sphinx_ustack_theme *.html | ||
recursive-include sphinx_ustack_theme *.js | ||
recursive-include sphinx_ustack_theme *.svg | ||
recursive-include sphinx_ustack_theme *.ttf | ||
recursive-include sphinx_ustack_theme *.woff | ||
recursive-include sphinx_ustack_theme *.woff2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,34 @@ | ||
|
||
************************** | ||
Read the Docs Sphinx Theme | ||
************************** | ||
|
||
.. image:: https://img.shields.io/pypi/v/sphinx_rtd_theme.svg | ||
:target: https://pypi.python.org/pypi/sphinx_rtd_theme | ||
:alt: Pypi Version | ||
.. image:: https://travis-ci.org/rtfd/sphinx_rtd_theme.svg?branch=master | ||
:target: https://travis-ci.org/rtfd/sphinx_rtd_theme | ||
:alt: Build Status | ||
.. image:: https://img.shields.io/pypi/l/sphinx_rtd_theme.svg | ||
:target: https://pypi.python.org/pypi/sphinx_rtd_theme/ | ||
:alt: License | ||
.. image:: https://readthedocs.org/projects/sphinx-rtd-theme/badge/?version=latest | ||
:target: http://sphinx-rtd-theme.readthedocs.io/en/latest/?badge=latest | ||
:alt: Documentation Status | ||
|
||
The ``sphinx_rtd_theme`` is a sphinx_ theme designed to look modern and be mobile-friendly. | ||
This theme is primary focused to be used on readthedocs.org_ but can work with your | ||
own sphinx projects. To read more and see a working demo_ head over to readthedocs.org_. | ||
|
||
.. _sphinx: http://www.sphinx-doc.org | ||
.. _readthedocs.org: http://www.readthedocs.org | ||
.. _demo: https://sphinx-rtd-theme.readthedocs.io/en/latest/ | ||
|
||
|
||
Installing | ||
========== | ||
|
||
The theme is distributed on PyPI_ and can be installed with pip:: | ||
|
||
pip install sphinx_rtd_theme | ||
==================== | ||
sphxin_ustack_theme | ||
==================== | ||
|
||
|
||
``sphinx_ustack_theme`` 基于 ``sphinx_rtd_theme`` 主题修改而成,原主题请点击 这里_。 | ||
|
||
For more information read the full installing docs | ||
`here <https://sphinx-rtd-theme.readthedocs.io/en/latest/installing.html>`__. | ||
|
||
.. _PyPI: https://pypi.python.org/pypi/sphinx_rtd_theme | ||
.. _这里: https://github.com/rtfd/sphinx_rtd_theme | ||
|
||
安装 | ||
========== | ||
|
||
使用pip安装: | ||
|
||
Configuration | ||
pip install sphinx_ustack_theme | ||
|
||
|
||
配置 | ||
============= | ||
|
||
The ``sphinx_rtd_theme`` is highly customizable on both the page level and on a global level. | ||
To see all the possible configuration options read the configuring docs | ||
`here <https://sphinx-rtd-theme.readthedocs.io/en/latest/configuring.html>`__. | ||
使用本主题请在 ``conf.py`` 文件中包含下列代码来引入本主题 | ||
|
||
import sphinx_ustack_theme | ||
|
||
html_theme = 'sphinx_ustack_theme' | ||
|
||
其他配置请参考 ``sphinx_rtd_theme`` 主题,点击 `这里 <https://sphinx-rtd-theme.readthedocs.io/en/latest/configuring.html>`__。 | ||
|
||
|
||
Contributing | ||
============ | ||
|
||
If you would like to help improve the theme or have more control | ||
over the theme in case of a fork please read our contributing guide | ||
`here <https://sphinx-rtd-theme.readthedocs.io/en/latest/contributing.html>`__. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
@ECHO OFF | ||
|
||
pushd %~dp0 | ||
|
||
REM Command file for Sphinx documentation | ||
|
||
if "%SPHINXBUILD%" == "" ( | ||
set SPHINXBUILD=python -msphinx | ||
) | ||
set SPHINXOPTS= | ||
set SPHINXBUILD=sphinx-build | ||
set SOURCEDIR=. | ||
set BUILDDIR=build | ||
set SPHINXPROJ=ReadtheDocsSphinxTheme | ||
|
||
if "%1" == "" goto help | ||
|
||
%SPHINXBUILD% >NUL 2>NUL | ||
if errorlevel 9009 ( | ||
echo. | ||
echo.The Sphinx module was not found. Make sure you have Sphinx installed, | ||
echo.then set the SPHINXBUILD environment variable to point to the full | ||
echo.path of the 'sphinx-build' executable. Alternatively you may add the | ||
echo.Sphinx directory to PATH. | ||
echo. | ||
echo.If you don't have Sphinx installed, grab it from | ||
echo.http://sphinx-doc.org/ | ||
exit /b 1 | ||
) | ||
|
||
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% | ||
goto end | ||
|
||
:help | ||
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% | ||
|
||
:end | ||
popd | ||
@ECHO OFF | ||
|
||
pushd %~dp0 | ||
|
||
REM Command file for Sphinx documentation | ||
|
||
if "%SPHINXBUILD%" == "" ( | ||
set SPHINXBUILD=python -msphinx | ||
) | ||
set SPHINXOPTS= | ||
set SPHINXBUILD=sphinx-build | ||
set SOURCEDIR=. | ||
set BUILDDIR=build | ||
set SPHINXPROJ=ReadtheDocsSphinxTheme | ||
|
||
if "%1" == "" goto help | ||
|
||
%SPHINXBUILD% >NUL 2>NUL | ||
if errorlevel 9009 ( | ||
echo. | ||
echo.The Sphinx module was not found. Make sure you have Sphinx installed, | ||
echo.then set the SPHINXBUILD environment variable to point to the full | ||
echo.path of the 'sphinx-build' executable. Alternatively you may add the | ||
echo.Sphinx directory to PATH. | ||
echo. | ||
echo.If you don't have Sphinx installed, grab it from | ||
echo.http://sphinx-doc.org/ | ||
exit /b 1 | ||
) | ||
|
||
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% | ||
goto end | ||
|
||
:help | ||
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% | ||
|
||
:end | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.