Skip to content

Commit

Permalink
Expose ZCH modules in Documentation
Browse files Browse the repository at this point in the history
Differential Revision: D52603324
  • Loading branch information
PaulZhang12 authored and facebook-github-bot committed Jan 8, 2024
1 parent 3c23d82 commit 569dbcb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# This workflow builds the torchrec docs and deploys them to gh-pages.
name: Generate documentation
on:
pull_request:
push:
branches:
- main
Expand Down
12 changes: 10 additions & 2 deletions docs/source/torchrec.modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,18 @@ torchrec.modules.utils
:undoc-members:
:show-inheritance:

Module contents
torchrec.modules.mc_modules
---------------

.. automodule:: torchrec.modules
.. automodule:: torchrec.modules.mc_modules
:members:
:undoc-members:
:show-inheritance:

torchrec.modules.mc_embedding_modules
---------------

.. automodule:: torchrec.modules.mc_modules
:members:
:undoc-members:
:show-inheritance:

0 comments on commit 569dbcb

Please sign in to comment.