docs: Adding the Python API to output docs.

Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
This commit is contained in:
Tim 'mithro' Ansell 2020-05-14 18:10:09 -07:00
parent 1d603e7875
commit ce5576edff
5 changed files with 56 additions and 4 deletions

View File

@ -57,11 +57,13 @@ release = ''
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones. # ones.
extensions = [ extensions = [
'sphinx.ext.todo', 'sphinx.ext.autodoc',
'sphinx.ext.mathjax',
'sphinx.ext.ifconfig',
'sphinx.ext.githubpages',
'sphinx.ext.autosectionlabel', 'sphinx.ext.autosectionlabel',
'sphinx.ext.githubpages',
'sphinx.ext.ifconfig',
'sphinx.ext.mathjax',
'sphinx.ext.napoleon',
'sphinx.ext.todo',
'sphinxcontrib_verilog_diagrams', 'sphinxcontrib_verilog_diagrams',
] ]

View File

@ -9,6 +9,8 @@
contributing contributing
Python API <python-api/index>
Welcome to SkyWater SKY130 PDK's documentation! Welcome to SkyWater SKY130 PDK's documentation!
=============================================== ===============================================

1
docs/python-api Symbolic link
View File

@ -0,0 +1 @@
../scripts/python-skywater-pdk/docs/

View File

@ -0,0 +1,9 @@
SkyWater PDK Python API
=======================
TODO: Add documentation here
.. toctree::
:hidden:
skywater_pdk

View File

@ -0,0 +1,38 @@
skywater\_pdk package
=====================
Submodules
----------
skywater\_pdk.base module
-------------------------
.. automodule:: skywater_pdk.base
:members:
:undoc-members:
:show-inheritance:
skywater\_pdk.sizes module
---------------------------
.. automodule:: skywater_pdk.sizes
:members:
:undoc-members:
:show-inheritance:
skywater\_pdk.utils module
--------------------------
.. automodule:: skywater_pdk.utils
:members:
:undoc-members:
:show-inheritance:
Module contents
---------------
.. automodule:: skywater_pdk
:members:
:undoc-members:
:show-inheritance: