Modified RTD env to include submodules and build cell docs

Signed-off-by: Wojciech Gryncewicz <wgryncewicz@antmicro.com>
This commit is contained in:
Wojciech Gryncewicz 2020-11-27 17:49:54 +01:00
parent 7930d4a051
commit ce01a38069
5 changed files with 18 additions and 2 deletions

View File

@ -31,4 +31,9 @@ conda:
submodules:
include:
- libraries/sky130_fd_io/latest
- libraries/sky130_fd_sc_hd/latest
- libraries/sky130_fd_sc_hdll/latest
- libraries/sky130_fd_sc_hs/latest
- libraries/sky130_fd_sc_ls/latest
- libraries/sky130_fd_sc_ms/latest
recursive: false

1
docs/_ext/skywater_pdk Symbolic link
View File

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

View File

@ -31,9 +31,9 @@
import docutils
import os
import re
# import sys
import sys
# sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('./_ext'))
# -- Project information -----------------------------------------------------
@ -65,6 +65,8 @@ extensions = [
'sphinx.ext.napoleon',
'sphinx.ext.todo',
'sphinxcontrib_hdl_diagrams',
'skywater_pdk.cells.cross_index',
'skywater_pdk.cells.generate.readme',
]
# Add any paths that contain templates here, relative to this directory.

View File

@ -0,0 +1,3 @@
.. generate_cell_readme:: libraries/*/cells/*
.. cross_index:: libraries/*

View File

@ -146,3 +146,8 @@ The SKY130 currently offers two :lib_type:`build space` libraries. Build space l
libraries/sky130_ef_io/README
.. toctree::
:maxdepth: 1
:name: Cells in libraries cross-index
cell-index