From 4c93be0fa015f3733dbbe144dbfdc255c787f82f Mon Sep 17 00:00:00 2001 From: Ailing Zhang Date: Thu, 18 Apr 2019 15:58:45 -0700 Subject: [PATCH] fix hub doc formatting issues (#19434) Summary: minor fixes for doc Pull Request resolved: https://github.com/pytorch/pytorch/pull/19434 Differential Revision: D15003903 Pulled By: ailzhang fbshipit-source-id: 400768d9a5ee24f9183faeec9762b688c48c531b --- docs/source/hub.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/source/hub.rst b/docs/source/hub.rst index 67c098d..9ed678e 100644 --- a/docs/source/hub.rst +++ b/docs/source/hub.rst @@ -98,11 +98,10 @@ Where are my downloaded models saved? The locations are used in the order of -- hub_dir: user specified path. It can be set in the following ways: - - Calling ``hub.set_dir()`` - - ``$TORCH_HOME/hub``, if environment variable ``TORCH_HOME`` is set. - - ``$XDG_CACHE_HOME/torch/hub``, if environment variable ``XDG_CACHE_HOME` is set. - - ``~/.cache/torch/hub`` +- Calling ``hub.set_dir()`` +- ``$TORCH_HOME/hub``, if environment variable ``TORCH_HOME`` is set. +- ``$XDG_CACHE_HOME/torch/hub``, if environment variable ``XDG_CACHE_HOME`` is set. +- ``~/.cache/torch/hub`` .. autofunction:: set_dir -- 2.7.4