8000 [Doc] Fix rendering of the unicode characters by malfet · Pull Request #134597 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

[Doc] Fix rendering of the unicode characters #134597

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

malfet
Copy link
Contributor
@malfet malfet commented Aug 27, 2024

#124771 introduced unicode escape sequences inside raw strings, which were not rendered correctly. Also fix typo in \uue0 escape sequence (should have been \u00e0)
Fix it by relying on string literal concatenation to join raw and regular strings together during lexical analysis stage

Fixes #134422

cc @albanD

#124771 introduced unicode escape sequences inside raw strings, which were not renderred correctly.
Fix it by relying on [string literal concatenation](https://docs.python.org/3/reference/lexical_analysis.html#string-literal-concatenation) to join raw and regular strings together during lexical analysis stage

Fixes #134422
Copy link
pytorch-bot bot commented Aug 27, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/134597

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 7c0ea6a with merge base 0a3c064 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@malfet malfet requested review from Skylion007 and aorenste August 27, 2024 17:29
@malfet malfet added topic: docs topic category module: python frontend For issues relating to PyTorch's Python frontend release notes: python_frontend python frontend release notes category and removed module: python frontend For issues relating to PyTorch's Python frontend labels Aug 27, 2024
@malfet
Copy link
Contributor Author
malfet commented Aug 27, 2024

@pytorchbot merge -f "Lint and docs are looking good"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@malfet malfet added this to the 2.4.1 milestone Aug 27, 2024
@atalman
Copy link
Contributor
atalman commented Aug 28, 2024

@pytorchbot cherry-pick --onto release/2.4 -c doc

Copy link
pytorch-bot bot commented Aug 28, 2024

❌ 🤖 pytorchbot command failed:

@pytorchbot cherry-pick: error: argument -c/--classification: invalid choice: 'doc' (choose from 'regression', 'critical', 'fixnewfeature', 'docs', 'release')

usage: @pytorchbot cherry-pick --onto ONTO [--fixes FIXES] -c
                               {regression,critical,fixnewfeature,docs,release}

Try @pytorchbot --help for more info.

@atalman
Copy link
Contributor
atalman commented Aug 28, 2024

@pytorchbot cherry-pick --onto release/2.4 -c docs

pytorchbot pushed a commit that referenced this pull request Aug 28, 2024
#124771 introduced unicode escape sequences inside raw strings, which were not rendered correctly. Also fix typo in `\uue0 ` escape sequence (should have been `\u00e0`)
Fix it by relying on [string literal concatenation](https://docs.python.org/3/reference/lexical_analysis.html#string-literal-concatenation) to join raw and regular strings together during lexical analysis stage

Fixes #134422

Pull Request resolved: #134597
Approved by: https://github.com/aorenste, https://github.com/Skylion007

(cherry picked from commit 534f43d)
@pytorchbot
Copy link
Collaborator

Cherry picking #134597

The cherry pick PR is at #134695 The following tracker issues are updated:

Details for Dev Infra team Raised by workflow job

malfet added a commit that referenced this pull request Aug 29, 2024
* [Doc] Fix rendering of the unicode characters (#134597)

#124771 introduced unicode escape sequences inside raw strings, which were not rendered correctly. Also fix typo in `\uue0 ` escape sequence (should have been `\u00e0`)
Fix it by relying on [string literal concatenation](https://docs.python.org/3/reference/lexical_analysis.html#string-literal-concatenation) to join raw and regular strings together during lexical analysis stage

Fixes #134422

Pull Request resolved: #134597
Approved by: https://github.com/aorenste, https://github.com/Skylion007

(cherry picked from commit 534f43d)

* Fix lint

---------

Co-authored-by: Nikita Shulga <nshulga@meta.com>
Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Sep 20, 2024
pytorch#124771 introduced unicode escape sequences inside raw strings, which were not rendered correctly. Also fix typo in `\uue0 ` escape sequence (should have been `\u00e0`)
Fix it by relying on [string literal concatenation](https://docs.python.org/3/reference/lexical_analysis.html#string-literal-concatenation) to join raw and regular strings together during lexical analysis stage

Fixes pytorch#134422

Pull Request resolved: pytorch#134597
Approved by: https://github.com/aorenste, https://github.com/Skylion007
@github-actions github-actions bot deleted the malfet/fix-unicode-chars branch October 2, 2024 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Merged release notes: python_frontend python frontend release notes category topic: docs topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The character "à" is not rendered correctly in Conv2d's documentation
6 participants
0