Skip to content

Commit

Permalink
Add ir chapter
Browse files Browse the repository at this point in the history
  • Loading branch information
dboyliao committed Jul 25, 2019
1 parent c3af9d3 commit 5024724
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ help:

html: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@mkdir "$(BUILDDIR)/$@/images" && cp ../images/* "$(BUILDDIR)/$@/images"
@mkdir -p "$(BUILDDIR)/$@/images" && cp ../images/* "$(BUILDDIR)/$@/images"

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
Expand Down
16 changes: 8 additions & 8 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
Version: v\ |version|

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

.. include:: ../../README.rst

.. Intermediate Representation (IR)
.. ================================

.. .. automodule:: utensor_cgen.ir.base
.. :members:
Indices and tables
==================

.. toctree::
:maxdepth: 1

ir

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

----

Expand Down
5 changes: 5 additions & 0 deletions doc/source/ir.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Intermediate Representation (IR)
================================

.. automodule:: utensor_cgen.ir.base
:members:

0 comments on commit 5024724

Please sign in to comment.