Skip to content

Commit

Permalink
[Doc] Fix tutorials
Browse files Browse the repository at this point in the history
ghstack-source-id: d4117bb329425145bc781b457b8de43a67a53732
Pull Request resolved: #1002
  • Loading branch information
vmoens committed Sep 20, 2024
1 parent 4f2a099 commit 85b6b81
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ jobs:
# 10. Build doc
cd ./docs
sphinx-build ./source _local_build
make docs
cd ..
cp -r docs/_local_build/* "${RUNNER_ARTIFACT_DIR}"
cp -r docs/build/* "${RUNNER_ARTIFACT_DIR}"
echo $(ls "${RUNNER_ARTIFACT_DIR}")
if [[ ${{ github.event_name == 'pull_request' }} ]]; then
cp -r docs/_local_build/* "${RUNNER_DOCS_DIR}"
cp -r docs/build/* "${RUNNER_DOCS_DIR}"
fi
upload:
Expand Down
2 changes: 1 addition & 1 deletion docs/source/reference/nn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ Distributions
:toctree: generated/
:template: rl_template_noinherit.rst

NormalParamsExtractor
NormalParamExtractor
AddStateIndependentNormalScale
CompositeDistribution
Delta
Expand Down
1 change: 0 additions & 1 deletion docs/source/reference/tensordict.rst
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ Utils
utils.expand_right
utils.isin
utils.remove_duplicates
is_memmap
is_batchedtensor
is_tensor_collection
make_tensordict
Expand Down
1 change: 1 addition & 0 deletions tensordict/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
is_batchedtensor,
is_tensorclass,
lazy_legacy,
parse_tensor_dict_string,
set_lazy_legacy,
unravel_key,
unravel_key_list,
Expand Down

0 comments on commit 85b6b81

Please sign in to comment.