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
Build sphinx docs for a single file #13679
Comments
comment:2
ping: Hello!! There is a patch file here! So, does this code need review? :) Thanks! |
comment:3
Well, it doesn't work for .pyx files, and I think that should be fixed before it's ready for review. When I wrote the original patch, I didn't spend a lot of time working on it, so there are probably other flaws as well. You can certainly test it out and report the results here. |
comment:4
Attachment: trac_13679-single-file.patch.gz |
New commits:
|
Changed work issues from Cython files to Cython files, .sage files |
This comment has been minimized.
This comment has been minimized.
Branch: u/jhpalmieri/sphinx-single-file |
Commit: |
comment:11
It would be nice if this worked for .pyx or .sage files, but I think it could be reviewed as is, and merged if it's okay. Then later someone can add the functionality for .pyx or .sage files. |
comment:13
cc me... |
comment:14
Hi there, The option does not appear within Another minor question: it is a bit annoying that the resulting file belongs to This is a really amazing gadget! Vincent |
comment:16
This option will now appear in the help message. Also, you can specify the flag |
Reviewer: Volker Braun |
Changed branch from u/jhpalmieri/sphinx-single-file to |
comment:20
I just discovered this gadget. Yeah! Finally! I have been dreaming of this for a while. Indeed, I write my course notes and work sheets in ReST, and my workflow to convert them to html is, err, painful. I am just missing one feature: having it work on .rst files as well. Would it be hard? Thanks! |
Changed commit from |
comment:21
You could check out the documentation for |
comment:22
|
The patch here implements
where
TYPE
may be any of the standard documentation types (e.g., html or pdf). This lets you build the docs for a file inside or outside the Sage library. It doesn't work for .sage or .pyx files right now, only .py files.CC: @kcrisman @simon-king-jena @seblabbe @sagetrac-tjolivet @sagetrac-okazymyrov @videlec
Component: documentation
Keywords: Sphinx
Work Issues: Cython files, .sage files
Author: John Palmieri
Branch:
a92dd08
Reviewer: Volker Braun
Issue created by migration from https://trac.sagemath.org/ticket/13679
The text was updated successfully, but these errors were encountered: