forked from iree-org/iree
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add iree.build to readthedocs, fix a few warnings, refresh readme. (i…
…ree-org#19236) Progress on iree-org#19019 and iree-org#5477. We have API documentation for the Python APIs hosted at https://iree-python-api.readthedocs.io/, but it has been pretty neglected, to the point where that URL is buried at https://iree.dev/reference/bindings/python/#usage. I'm not actually sure if any users have found that page (readthedocs does provide traffic data analytics, but we don't have enough views for that to register). This makes a few incremental improvements while I learn my way around Sphinx and what we have already for doc configuration, docstrings in source files, packages, etc. * Updated documentation for building the Sphinx website locally and recommended developers use `sphinx-autobuild` * Added an initial page for the `iree.build` package * Used code blocks in more places consistently, and closed some that were opened without closing ` characters * Fixed a few other warnings from Sphinx (wrong indentation, section delimiters not using enough characters, etc.) * Worked around a weird style issue with some custom css * Bumped the copyright year (as we do for https://iree.dev)
- Loading branch information
Showing
14 changed files
with
101 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/* | ||
Fix for horizontal stacking weirdness in the RTD theme with Python properties: | ||
https://github.com/readthedocs/sphinx_rtd_theme/issues/1301 | ||
*/ | ||
.py.property { | ||
display: block !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Build API | ||
========= | ||
|
||
.. automodule:: iree.build | ||
:members: | ||
:imported-members: | ||
:undoc-members: | ||
|
||
.. TODO: organize into sections (core executor, arguments, built in actions, etc.) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ Compiler API | |
|
||
api.rst | ||
tools.rst | ||
build.rst | ||
mlir.rst | ||
iree_input_dialect.rst | ||
mlir_dialects.rst | ||
mlir.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
sphinx==4.2.0 | ||
myst-parser==0.15.2 # For markdown | ||
sphinx_rtd_theme==1.0.0 | ||
# Sphinx documentation generator. | ||
commonmark==0.9.1 | ||
enum_tools==0.10.0 | ||
sphinx_toolbox==2.16.1 | ||
enum-tools==0.10.0 | ||
myst-parser==0.15.2 # For markdown | ||
sphinx==4.2.0 | ||
sphinx-rtd-theme==1.0.0 | ||
sphinx-autobuild | ||
sphinx-toolbox==2.16.1 | ||
sphinxcontrib-applehelp==1.0.4 | ||
sphinxcontrib-devhelp==1.0.2 | ||
sphinxcontrib-htmlhelp==2.0.1 | ||
sphinxcontrib-serializinghtml==1.1.5 | ||
sphinxcontrib-qthelp==1.0.3 | ||
|
||
# IREE Python API | ||
-f https://iree.dev/pip-release-links.html | ||
# IREE Python API (using the latest pre-release / nightly packages). | ||
--find-links https://iree.dev/pip-release-links.html | ||
--pre | ||
iree-base-compiler | ||
iree-base-runtime |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters