diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2ab80511e..f6e53d6c7 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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: diff --git a/docs/source/reference/nn.rst b/docs/source/reference/nn.rst index 943956117..6a87e7c8a 100644 --- a/docs/source/reference/nn.rst +++ b/docs/source/reference/nn.rst @@ -323,7 +323,7 @@ Distributions :toctree: generated/ :template: rl_template_noinherit.rst - NormalParamsExtractor + NormalParamExtractor AddStateIndependentNormalScale CompositeDistribution Delta diff --git a/docs/source/reference/tensordict.rst b/docs/source/reference/tensordict.rst index 6369a3bdc..a47f50a36 100644 --- a/docs/source/reference/tensordict.rst +++ b/docs/source/reference/tensordict.rst @@ -119,7 +119,6 @@ Utils utils.expand_right utils.isin utils.remove_duplicates - is_memmap is_batchedtensor is_tensor_collection make_tensordict diff --git a/tensordict/__init__.py b/tensordict/__init__.py index ffe08138e..fa1611ee0 100644 --- a/tensordict/__init__.py +++ b/tensordict/__init__.py @@ -49,6 +49,7 @@ is_batchedtensor, is_tensorclass, lazy_legacy, + parse_tensor_dict_string, set_lazy_legacy, unravel_key, unravel_key_list,