Use this project to easily get started with Sphinxience. Download and unpack https://github.com/bgeron/sphinxience-template/archive/master.zip, or fork and clone this repository on GitHub.
Then:
-
Install Poetry, a Python dependency manager. If you have Python3 installed, you can usually do this by typing:
pip3 install --user poetry -
Fill in some project name in the
namefield inpyproject.toml. This name helps Poetry identify the dependencies that you have installed for this project.... # pyproject.toml name = "my new Sphinxience project" ... -
Use Poetry to download and install the dependencies into a virtual environment:
poetry installThis may take a minute or so. On Linux, the dependencies will be installed somewhere in
~/.cache/pypoetry/virtualenvs/, but this is not important. -
Consider cleaning up your folder by removing the file you're reading now:
rm README.md -
Consider putting this folder in version control with Git:
git init git add . git commit -m 'Initial commit' -
Build HTML and PDF
make html make latexpdfYou can now find the generated files in
_build/html/index.htmland_build/latex/my-sphinxience-project.pdf. (The file name of the latter file is determined bylatex_documentsinconf.py.)
Enjoy!