grove icon indicating copy to clipboard operation
grove copied to clipboard

master/docs/qaoa.rst is almost unintelligible because markup is not rendered

Open spreinhardt opened this issue 6 years ago • 4 comments

I just navigated to https://github.com/rigetti/grove/blob/master/docs/qaoa.rst to grok the QAOA module. The page displays a bunch of LaTeX or markup unrendered, so it's very hard to see what's intended. E.g.,

"can be written as follows: $$\sum_{e \in E} w_{e} \cdot \mathrm{Pr}(e \in \mathrm{cut}) = \frac{1}{2} \sum_{e \in E}w_{e}$$"

and

"interpolation between the two operators \begin{align} \hat{H}{\tau} = \tau\hat{H}{\mathrm{ref}} + (1 - \tau)\hat{H}_{\mathrm{MAXCUT}} \end{align} where (\tau) changes between 1 and 0. "

I'm using Chrome Version 74.0.3729.169 (Official Build) (64-bit) on macOS.

spreinhardt avatar Jun 18 '19 16:06 spreinhardt

P.S. Works the same on Safari.

spreinhardt avatar Jun 18 '19 16:06 spreinhardt

Have you looked at the version at https://grove-docs.readthedocs.io/en/latest/ The math renders properly at ReadTheDocs.

evelynmitchell avatar Aug 12 '19 15:08 evelynmitchell

I had not looked at the ReadTheDocs version; the fact that it renders properly is great.

I'm not sure how the ReadTheDocs .html version rendering properly makes up for the .rst file noted in the original comment not rendering properly. To my way of thinking, .rst files are, by definition, intended to be visually correct, and that one isn't. Isn't a better response to fix it to render properly?

spreinhardt avatar Aug 13 '19 01:08 spreinhardt

The rendering is a github issue, not a grove issue.

On Mon, Aug 12, 2019 at 7:45 PM Steve Reinhardt [email protected] wrote:

I had not looked at the ReadTheDocs version; the fact that it renders properly is great.

I'm not sure how the ReadTheDocs .html version rendering properly makes up for the .rst file noted in the original comment not rendering properly. To my way of thinking, .rst files are, by definition, intended to be visually correct, and that one isn't. Isn't a better response to fix it to render properly?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rigetti/grove/issues/210?email_source=notifications&email_token=AAHV7Z6NKCCUQFMNCMEUPUDQEIG25A5CNFSM4HZBXBB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4EJK6I#issuecomment-520656249, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHV7Z4DD74LALAPLDMJYELQEIG25ANCNFSM4HZBXBBQ .

evelynmitchell avatar Aug 13 '19 17:08 evelynmitchell