Lillian Johnson
e3cb582e05
Error printing extension support for multiline errors ( #43807 )
...
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/43807
Test Plan: Imported from OSS
Reviewed By: gmagogsfm
Differential Revision: D23407457
Pulled By: Lilyjjo
fbshipit-source-id: 05a6a50dc39c00474d9087ef56028a2c183aa53a
2020-09-01 10:02:43 -07:00
Edward Yang
4fef3763dd
Revert "Revert D21337640: [pytorch][PR] Split up documentation into subpages and clean up some warnings" ( #37778 )
...
Summary:
Original PR: https://github.com/pytorch/pytorch/pull/37419
cc mattip suo
Pull Request resolved: https://github.com/pytorch/pytorch/pull/37778
Differential Revision: D21385774
Pulled By: ezyang
fbshipit-source-id: 5de532faab8bae132736b6b5189e0ee2ac9935be
2020-05-04 14:32:35 -07:00
Michael Suo
20f7e62b1d
Revert D21337640: [pytorch][PR] Split up documentation into subpages and clean up some warnings
...
Test Plan: revert-hammer
Differential Revision:
D21337640
Original commit changeset: d4ad198780c3
fbshipit-source-id: fa9ba6ac542173a50bdb45bfa12f3fec0ed704fb
2020-05-04 10:57:55 -07:00
mattip
f10fbcc820
Split up documentation into subpages and clean up some warnings ( #37419 )
...
Summary:
xref gh-32838, gh-34032
This is a major refactor of parts of the documentation to split it up using sphinx's `autosummary` feature which will build out `autofuction` and `autoclass` stub files and link to them. The end result is that the top module pages like torch.nn.rst and torch.rst are now more like table-of-contents to the actual single-class or single-function documentations pages.
Along the way, I modified many of the docstrings to eliminate sphinx warnings when building. I think the only thing I changed from a non-documentation perspective is to add names to `__all__` when adding them to `globals()` in `torch.__init__.py`
I do not know the CI system: are the documentation build artifacts available after the build, so reviewers can preview before merging?
Pull Request resolved: https://github.com/pytorch/pytorch/pull/37419
Differential Revision: D21337640
Pulled By: ezyang
fbshipit-source-id: d4ad198780c3ae7a96a9f22651e00ff2d31a0c0f
2020-05-04 09:39:22 -07:00
Jessica Lin
ac950bb9c8
Update docs for master to remove Python 2 references ( #36336 )
...
Summary:
Fix compile error from original PR in jit_language_references.rst: https://github.com/pytorch/pytorch/pull/36114
Full details in task: https://our.intern.facebook.com/intern/tasks/?t=64776265
With pytroch 1.5+ we remove python2 support from PyTorch. All documentation under docs/ and on the pytorch.org website needs to remove Python 2 references.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/36336
Differential Revision: D21057507
Pulled By: jlin27
fbshipit-source-id: 993a763f1ecb16dad859bc02a07625ddc023645d
2020-04-16 10:15:48 -07:00
Edward Yang
6016f694c0
Revert D20901746: [pytorch][PR] Update docs for master to remove Python 2 references
...
Test Plan: revert-hammer
Differential Revision:
D20901746
Original commit changeset: 07f8dc8e6fab
fbshipit-source-id: 13c55597f9f79b8473210cf35a5a0f1fb34bae39
2020-04-08 14:49:11 -07:00
Jessica Lin
43234be525
Update docs for master to remove Python 2 references ( #36114 )
...
Summary:
Full details in task: https://our.intern.facebook.com/intern/tasks/?t=64776265
With pytroch 1.5+ we remove python2 support from PyTorch. All documentation under docs/ and on the pytorch.org website needs to remove Python 2 references.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/36114
Differential Revision: D20901746
Pulled By: jlin27
fbshipit-source-id: 07f8dc8e6fab0b232e5048a63079cab0c433c85f
2020-04-07 16:13:18 -07:00
Michael Suo
dc3d47110a
[docs] add experimental warning to TorchScript classes in language reference ( #33697 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/33697
reference
Test Plan: Imported from OSS
Differential Revision: D20070220
Pulled By: suo
fbshipit-source-id: 9828d876afed59203cc472eaf0134d52d399069e
2020-02-24 14:01:19 -08:00
davidriazati
503a4e9019
Cleanup after moving language reference ( #31146 )
...
Summary:
Stacked PRs
* **#31146 - [jit] Cleanup after moving language reference**
* #31138 - [jit] Move TorchScript language reference to its own page
Preview: https://driazati.github.io/pytorch_doc_previews/jit.html#torchscript-language
Pull Request resolved: https://github.com/pytorch/pytorch/pull/31146
Pulled By: driazati
Differential Revision: D19167390
fbshipit-source-id: f28daed36754a553264fc8ac142ed22c3e26d63e
2019-12-18 15:09:35 -08:00
davidriazati
ae2487bf4d
Move TorchScript language reference to its own page ( #31138 )
...
Summary:
Stacked PRs
* #31146 - [jit] Cleanup after moving language reference
* **#31138 - [jit] Move TorchScript language reference to its own page**
Preview: https://driazati.github.io/pytorch_doc_previews/jit.html#torchscript-language
Pull Request resolved: https://github.com/pytorch/pytorch/pull/31138
Pulled By: driazati
Differential Revision: D19167375
fbshipit-source-id: d37110d85fc8b8d2c741be49846e873de1357c2a
2019-12-18 15:09:31 -08:00
Vitaly Fedyunin
3e59e80429
Revert D18941024: Move TorchScript language reference to its own page
...
Test Plan: revert-hammer
Differential Revision:
D18941024
Original commit changeset: d0ff600870a1
fbshipit-source-id: 01c0eac4c9741f27b91d710616e71a0d769f6f6a
2019-12-18 08:55:50 -08:00
davidriazati
c05538b831
Move TorchScript language reference to its own page ( #31138 )
...
Summary:
Preview: https://driazati.github.io/pytorch_doc_previews/jit.html#torchscript-language
](https://our.intern.facebook.com/intern/diff/18941024/ )
Pull Request resolved: https://github.com/pytorch/pytorch/pull/31138
Pulled By: driazati
Differential Revision: D18941024
fbshipit-source-id: d0ff600870a14c4a7c6ce54867d152072a12c48c
2019-12-18 00:46:19 -08:00