Skip to content

Commit

Permalink
docs: add sphinx support
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Feb 14, 2021
1 parent b64602a commit 483ddd0
Show file tree
Hide file tree
Showing 147 changed files with 42,636 additions and 25 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/semantic_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install python-semantic-release
- name: Make documentation
run: |
make docs
- name: Setup Git
run: |
git config --global user.name "semantic-release"
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ test:
pipenv run pytest -s --verbose tests -Wi -Wd:::teslajsonpy
typing:
pipenv run mypy --ignore-missing-imports teslajsonpy
docs: docstyle
pipenv run sphinx-build -b html docs docs/html
4 changes: 4 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ tox-pipenv = "*"
twine = "*"
black = "*"
typing-extensions = "*"
sphinx = "*"
autoapi = "*"
sphinx-rtd-theme = "*"
m2r2 = "*"

[packages]
aiohttp = "*"
Expand Down
192 changes: 185 additions & 7 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions docs/_sources/index.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.. teslajsonpy documentation master file, created by
sphinx-quickstart on Sat Feb 13 23:32:50 2021.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to teslajsonpy's documentation!
=======================================

.. toctree::
:maxdepth: 2
:caption: Contents:



Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
Loading

0 comments on commit 483ddd0

Please sign in to comment.