fix hub doc formatting issues (#19434)
authorAiling Zhang <ailzhang@fb.com>
Thu, 18 Apr 2019 22:58:45 +0000 (15:58 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 18 Apr 2019 23:02:19 +0000 (16:02 -0700)
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

index 67c098d..9ed678e 100644 (file)
@@ -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(<PATH_TO_HUB_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(<PATH_TO_HUB_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