Klaus Zimmermann
31345fb4f7
Make functorch notebook symlinks PEP 517 valid ( #157813 )
...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/157813
Approved by: https://github.com/zou3519 , https://github.com/atalman
2025-09-12 03:52:08 +00:00
Svetlana Karslioglu
cd7bc60e11
Migrate to new theme ( #149331 )
...
- Migrate pytorch docs, cpp docs and functorch docs to the pytorch_sphinx_theme2
- Migrate index.rst to markdown and restructure to use high-level horizontal bar sections Python API, Developer Notes
- Added python-api.md which becomes the main container for the API docs. This file will be used to add all api references in the toctree. It would be great to have lint for this file: https://github.com/pytorch/pytorch/issues/150718
- Enabled mermaid sphinx extension and opengraph sphinx extension
Pull Request resolved: https://github.com/pytorch/pytorch/pull/149331
Approved by: https://github.com/malfet , https://github.com/atalman , https://github.com/albanD
2025-04-16 21:35:19 +00:00
Xuehai Pan
740fb22966
[BE][Easy][4/19] enforce style for empty lines in import segments in functorch/ ( #129755 )
...
See https://github.com/pytorch/pytorch/pull/129751#issue-2380881501 . Most changes are auto-generated by linter.
You can review these PRs via:
```bash
git diff --ignore-all-space --ignore-blank-lines HEAD~1
```
Pull Request resolved: https://github.com/pytorch/pytorch/pull/129755
Approved by: https://github.com/zou3519
ghstack dependencies: #129752
2024-07-18 05:08:03 +00:00
Aaron Gokaslan
33938cfddd
[BE][Ez] Update ruff to 0.2.2 ( #120517 )
...
Updates ruff to 0.2.2. This updates the config and handles some of the new rules that have come out of preview.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/120517
Approved by: https://github.com/albanD
2024-02-24 07:13:53 +00:00
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