Skip to content

Commit

Permalink
fix docs build (#141)
Browse files Browse the repository at this point in the history
This fixes a few missing classes and a missing graph in the docs.
  • Loading branch information
tgolsson authored Jun 8, 2023
1 parent 12fff94 commit 104c0f7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v1
- name: Setup Pages
uses: actions/configure-pages@v2
- uses: pdm-project/setup-pdm@v3
Expand All @@ -37,7 +39,7 @@ jobs:
cache: true
cache-dependency-path: '**/pdm.lock'
- name: Install dependencies
run: pdm install -d -G ci
run: pdm install -d -G ci && pdm torch install cpu
- name: Build docs
run: cd docs && make deploy
- name: Upload artifact
Expand Down
12 changes: 6 additions & 6 deletions docs/callbacks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ Checkpointing
Logging callbacks and utilities
-------------------------------

.. currentmodule:: emote.callbacks.logging
.. automodule:: emote.callbacks.logging
.. currentmodule:: emote.callbacks
.. automodule:: emote.callbacks

.. autosummary::
:toctree: generated

LoggingMixin
TensorboardLogger
TerminalLogger
WBLogger
logging.LoggingMixin
logging.TensorboardLogger
logging.TerminalLogger
wb_logger.WBLogger

Testing
-------
Expand Down

0 comments on commit 104c0f7

Please sign in to comment.