-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
[WIP] Update docs to use .. math:: directive #7804
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
[WIP] Update docs to use .. math:: directive #7804
Conversation
I'd be happy to apply this changes to other files once someone reviews this commit. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You will need to handle more of the intricacies of TeX equation typesetting. It is not this simple.
|
||
.. math:: | ||
(1 / (2 * n_samples)) * ||Y - XW||^2_Fro + alpha * ||W||_21 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_Fro
won't render correctly. n_samples should be rendered as text. The underscore, if nothing else, is a problem.
@jnothman I'm now using the correct LaTeX commands. |
What path were you looking at after running make html? |
This one, for example: |
Your changes are shown when I render the docs on my machine. I don't know what's happening for you, and I haven't worked out why we can't see the docs in the Circle CI build artifacts. |
@braunmagrin have you plan to continue the pull request or can I take it ? |
@Morikko If you still want to, feel free to continue this. (Sorry for taking so long) |
see #8556 closing |
Reference Issue
Fixes #6601
What does this implement/fix? Explain your changes.
Update the docs to use Sphinx's
.. math::
instead of the plain::
for a better formatting for the equations.