File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 7575 top_path / "vendor/chipflow-lib/chipflow_lib" ,
7676 ]
7777autoapi_generate_api_docs = True
78- autoapi_template_dir = "_templates/autoapi"
78+ autoapi_template_dir = "chipflow-lib/ _templates/autoapi"
7979# autoapi_verbose_visibility = 2
8080autoapi_keep_files = True
8181autoapi_options = [
8484 'show-module-summary' ,
8585 'imported-members' ,
8686]
87+ autoapi_root = "chipflow-lib/autoapi"
8788
8889# Exclude autoapi templates and in-progress stuff
8990exclude_patterns = [
9091 autoapi_template_dir ,
91- "unfinished" ,
92+ "chipflow-lib/unfinished" ,
93+ "amaranth/cover.rst" ,
94+ "amaranth-soc/cover.rst" ,
9295]
9396
9497
97100}
98101intersphinx_disabled_domains = ['std' ]
99102
100- exclude_patterns = [
101- 'amaranth/index.rst' ,
102- 'amaranth/cover.rst' ,
103- 'amaranth-soc/index.rst' ,
104- 'amaranth-soc/cover.rst' ,
105- ]
106-
107103rediraffe_redirects = {
108104 "simulator.rst" : "amaranth/simulator.rst" ,
109105}
110106
111- templates_path = ['_templates' ]
107+ templates_path = ['chipflow-lib/ _templates' ]
112108
113109# -- Options for HTML output
114110
159155 r"^https://github\.com/[^/]+/[^/]+/$" ,
160156]
161157
158+ suppress_warnings = [ "ref.python" ]
162159
163160# Silence the warnings globally; otherwise they may fire on object destruction and crash completely
164161# unrelated tests.
165162import amaranth ._unused
166163amaranth ._unused .MustUse ._MustUse__silence = True
167164
165+
168166# copy in the doc sources from our repos
169167
170168copy_docs (repos )
Original file line number Diff line number Diff line change 11ChipFlow Library Documentation
22==============================
33
4- .. image :: _assets/chipflow-logo.svg
4+ .. image :: chipflow-lib/ _assets/chipflow-logo.svg
55 :width: 200px
66 :class: sd-m-auto
77 :name: landing-page-logo
@@ -13,16 +13,16 @@ ChipFlow IC Design Platform
1313ChipFlow is an open-source platform for designing, testing, and manufacturing custom silicon.
1414It provides a streamlined workflow from design to fabrication using Python and the Amaranth HDL.
1515
16- .. toctree ::
1716 :maxdepth: 2
18- :caption: User Guide
1917
2018
2119Contents
2220--------
2321
2422.. toctree ::
25- chipflow-lib
26- amaranth
27- amaranth-soc
23+ :caption: User Guide
24+
25+ chipflow-lib/index
26+ Amaranth Language and Toolchain <amaranth/index >
27+ Amaranth System-on-a-Chip toolkit <amaranth-soc/index >
2828 support
Original file line number Diff line number Diff line change @@ -28,12 +28,6 @@ dependencies = [
2828requires = [" pdm-backend" ]
2929build-backend = " pdm.backend"
3030
31- [dependency-groups ]
32- dev = [
33- " -e amaranth@file:///${PROJECT_ROOT}/vendor/amaranth" ,
34- " -e amaranth_soc@file:///${PROJECT_ROOT}/vendor/amaranth-soc" ,
35- ]
36-
3731[tool .pdm .scripts ]
3832docs.cmd = " sphinx-build docs/source/ docs/build/"
3933autodocs.cmd = " sphinx-autobuild docs/source/ docs/build/"
You can’t perform that action at this time.
0 commit comments