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
Auto-generated thematic index of functions #19061
Comments
Branch: public/19061 |
New commits:
|
Commit: |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:4
Needs rebasing --> needs_work. I won't review this because I don't know about Sphinx internals. This patch clearly makes Sage better than it currently is, so I think this should be added. So this is just a suggestion: If we still have for example |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:6
I can imagine that such a feature could be useful eventually. One way to make it available would be through the Nathann |
comment:7
Replying to @nathanncohen:
Yes, that sounds good. Without this second argument it could work just like now. I compiled this and got strange results. Then, it starts right with "chromatic_number() Returns the minimal number of colors needed to color the vertices", i.e. forgetting the ending "of the graph G.". And next one is "chromatic_polynomial() chromatic_polynomial(G, return_tree_basis=False)". Do others get similar results? Can be just some Spinx error and maybe I must recompile or something. |
comment:8
Hello,
Yeah, I thought about a way to enforce an ordering. It is the kind of things that I expect we will have some day, but I did not think it so urgent that it needed to be implemented here. A lexicographic ordering is not so bad, really.
I did not notice, but I expect that you are right. I know how I wrote the code that extracts this text and it only takes 'the first line', not the first sentence. It is not related to this ticket thought, it's a code that is already in Sage. I will probably write a fix for that today. I will add a comment here when I do. Nathann |
comment:9
Replying to @nathanncohen:
OK. That's what I guessed that happened. Also you should check that both
OK. I will read it later, as I will be hearing a dissertation a hour from now on. (http://tampub.uta.fi/handle/10024/97895 - last two papers use Sage |
comment:10
Done at #19067. Nathann |
Dependencies: #19067 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:13
(the dependency of this ticket is now reviewed) |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:15
Rebased against the latest beta. If anybody has some time to review this, it would be cool. |
comment:16
I had a look at the resulting html page and we have some problems:
|
comment:17
Just an utf8 problem. Fixed.
What the hell
Nathann |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:19
Question asked at https://groups.google.com/d/topic/sage-devel/lNNEQvBlYKc/discussion |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:21
Fixed (thanks to Jeroen) |
comment:22
Much better now. |
comment:23
Yep, I think so too. Or I can rename it to "NP-Hard problems" here if you prefer. Nathann |
comment:24
in the generated list for graph.py, I see:
with a link to the corresponding wikipedia page. |
comment:25
Hello,
It is only because the docstring of Nathann |
comment:27
For me the patch is good to go, but the patchbot is complaining about something I don't understand. Can you check that? |
comment:28
I have no clue either |
comment:29
It seems to be complaining that Sage takes a long time to start, and to try to not aggravate that in the future, the patchbot checks whether a patch will make new modules load at startup. I presume that Best, |
comment:30
I see. Thanks. Nathann |
Reviewer: David Coudert |
comment:31
So then let's go. |
comment:32
Thaaaaaaaaaaaaanks !!!! |
Changed branch from public/19061 to |
This branch extends the feature added by #18926, so that creating thematic index of functions is more reliable. In particular, we are now sure that all methods of a class appear in the index (no risk to 'forget' one), and we can pick a category for each of them.
The interface is the result of a LOT of try-and-fail, and corner cases, and bad surprises. It is totally open to disccussion, but know that there may be a reason (i.e. a use-case) explaining which this part is written that way. I am not very proud of everything it does either.
But it will definitely help us.
Nathann
Depends on #19067
CC: @dcoudert @jm58660 @sagetrac-dlucas @johanrosenkilde @dimpase @mezzarobba
Component: documentation
Author: Nathann Cohen
Branch/Commit:
14b672d
Reviewer: David Coudert
Issue created by migration from https://trac.sagemath.org/ticket/19061
The text was updated successfully, but these errors were encountered: