Install the theme
Install the Awesome Theme as a Python package or copy it into a local directory.
Install as a Python package
Install the latest released version from the Python Package Index PyPI:
pip install sphinxawesome-theme
To install the latest development version, run:
pip install git+https://github.com/kai687/sphinxawesome-theme.git
See the CHANGELOG file for extra features and updates in the development version that aren’t released yet.
After installing the theme, you can add it to your project.
Install from a local directory
If you want to build your own version of the theme, you can clone the repository and install the cloned version as a local Python package.
Install the local copy of the theme in your project:
terminalpip install --editable /path/to/sphinxawesome_themeReplace
/path/to/sphinxawesome_themewith the path to your local copy of the theme. The--editableoption installs the package in editable, or development, mode.
After installing the theme, you can add it to your project.
Create a local copy of the repository
Optional: fork the repository .
If you don’t want to merge your changes with the original repository, you can skip this step.
-
If you forked the repository, run:
terminalgit clone https://github.com/GITHUB_USERNAME/sphinxawesome-theme.gitReplace
GITHUB_USERNAMEwith your GitHub username.If you didn’t fork the repository, clone the original repository:
terminalgit clone https://github.com/kai687/sphinxawesome-theme.git
After cloning the repository, you can install the theme as a local package or install the project’s dependencies.