Commit Graph

15 Commits

Author SHA1 Message Date
Edward Z. Yang
e6ec0efaf8 Apply UFMT to all non test/torch files (#106205)
Signed-off-by: Edward Z. Yang <ezyang@meta.com>

Pull Request resolved: https://github.com/pytorch/pytorch/pull/106205
Approved by: https://github.com/albanD
2023-07-29 02:56:24 +00:00
Huy Do
bb6b24c622 [BE] Dockerize PyTorch docs jobs (#100601)
Saw some connection error to pip in docs jobs today, so let's dockerize it:

* https://github.com/pytorch/pytorch/actions/runs/4877612277/jobs/8702572072
* https://github.com/pytorch/pytorch/actions/runs/4877612277/jobs/8702572072

Some additional fixes:
* Moving the docs script from under `.circleci` to under `.ci` as they should be
* Linter (as scripts under .ci are subjected to shellcheck)
* Fix some minor Sphinx warnings in functorch docs

### Testing
Docs previews look fine:

* https://docs-preview.pytorch.org/100601/index.html
* https://docs-preview.pytorch.org/100601/cppdocs/index.html
* https://docs-preview.pytorch.org/100601/functorchdocs/index.html

Pull Request resolved: https://github.com/pytorch/pytorch/pull/100601
Approved by: https://github.com/clee2000
2023-05-05 06:24:46 +00:00
PyTorch MergeBot
6d2f8114be Revert "[BE] Dockerize PyTorch docs jobs (#100601)"
This reverts commit 2703684acf.

Reverted https://github.com/pytorch/pytorch/pull/100601 on behalf of https://github.com/huydhn due to Curiously, this breaks inductor jobs ([comment](https://github.com/pytorch/pytorch/pull/100601#issuecomment-1535515587))
2023-05-04 23:13:15 +00:00
Huy Do
2703684acf [BE] Dockerize PyTorch docs jobs (#100601)
Saw some connection error to pip in docs jobs today, so let's dockerize it:

* https://github.com/pytorch/pytorch/actions/runs/4877612277/jobs/8702572072
* https://github.com/pytorch/pytorch/actions/runs/4877612277/jobs/8702572072

Some additional fixes:
* Moving the docs script from under `.circleci` to under `.ci` as they should be
* Linter (as scripts under .ci is subjected to shellcheck)
* Fix some minor Sphinx warnings in functorch docs

### Testing
Docs previews look fine:

* https://docs-preview.pytorch.org/100601/index.html
* https://docs-preview.pytorch.org/100601/cppdocs/index.html
* https://docs-preview.pytorch.org/100601/functorchdocs/index.html

Pull Request resolved: https://github.com/pytorch/pytorch/pull/100601
Approved by: https://github.com/clee2000
2023-05-04 20:33:51 +00:00
Richard Zou
50000f3cdc Align functorch docs with PyTorch's (#85856)
This PR:
- changes the header/footer to be the same as PyTorch docs
- removes the functorch logo (we don't need it anymore, functorch has
been adopted into PyTorch)
- adjusts the functorch docs to make it clear that the page is functorch
documentation.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/85856
Approved by: https://github.com/svekars, https://github.com/samdow
2022-09-29 20:00:34 +00:00
Richard Zou
7095647db6 [functorch] Fix some lint issues (pytorch/functorch#606) 2022-07-21 13:41:26 -07:00
Richard Zou
33aead5f7b [functorch] Update readme (pytorch/functorch#589)
and minor main-branch-only website changes.
2022-07-21 13:41:26 -07:00
Richard Zou
67948ebd9a [functorch] Fix docs build 2022-07-21 13:41:23 -07:00
Richard Zou
565365baaf [functorch] GHA docs build; nbsphinx -> myst-nb (pytorch/functorch#517) 2022-07-21 13:41:22 -07:00
Richard Zou
cc68964c06 [functorch] Improve version rendering on docs website 2022-07-21 13:41:22 -07:00
Richard Zou
e4d20b58c4 [functorch] Change docs name 2022-07-21 13:41:22 -07:00
vfdev
dda66b2cae [functorch] Switched docs theme to pytorch-theme (pytorch/functorch#453)
* Switched to pytorch-theme

* Added missing function transforms

* Updated layout

* Added simple text logo and added vjp docs
2022-07-21 13:41:21 -07:00
Richard Zou
fd4d82ee0d [functorch] quick cleanup 2022-07-21 13:41:17 -07:00
Richard Zou
20997b4917 [functorch] Fix some linting 2022-07-21 13:41:13 -07:00
Richard Zou
24a91e4115 [functorch] Docs build (pytorch/functorch#227)
cd into docs/ and run `make html` and view the html in build/html
2022-07-21 13:41:09 -07:00