Skip to content
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

Organize the index of the combinatorics section of the reference manual #16058

Closed
nathanncohen mannequin opened this issue Apr 4, 2014 · 30 comments
Closed

Organize the index of the combinatorics section of the reference manual #16058

nathanncohen mannequin opened this issue Apr 4, 2014 · 30 comments

Comments

@nathanncohen
Copy link
Mannequin

nathanncohen mannequin commented Apr 4, 2014

This page is a bit messy :

http://www.sagemath.org/doc/reference/combinat/index.html

The goal of this ticket is to make it easier to read, in the hope to find what one is actually looking for.

Everybody is welcome to add a commit to group/sort everything here in a way that will satisfy the specialist of each field.

Nathann

Component: combinatorics

Author: Nathann Cohen, Travis Scrimshaw

Branch: 4b5cb2b

Reviewer: Nicolas M. Thiéry

Issue created by migration from https://trac.sagemath.org/ticket/16058

@nathanncohen nathanncohen mannequin added this to the sage-6.2 milestone Apr 4, 2014
@nathanncohen
Copy link
Mannequin Author

nathanncohen mannequin commented Apr 4, 2014

New commits:

8b8aea8trac #16058: Organize the index of combinatorial modules

@nathanncohen
Copy link
Mannequin Author

nathanncohen mannequin commented Apr 4, 2014

Commit: 8b8aea8

@nathanncohen
Copy link
Mannequin Author

nathanncohen mannequin commented Apr 4, 2014

Branch: public/16058

@nathanncohen nathanncohen mannequin added the s: needs review label Apr 4, 2014
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 4, 2014

Changed commit from 8b8aea8 to e0d2b66

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 4, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

e0d2b66trac #16058: Two new categories

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 4, 2014

Changed commit from e0d2b66 to 0293c49

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 4, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

0293c49trac #16058: Another group

@nthiery nthiery changed the title Organize the index of combinatorial modules Organize the index of the combinatorics section of the reference manual Apr 7, 2014
@nthiery
Copy link
Contributor

nthiery commented Apr 9, 2014

comment:5

Hi!

I have been toying around with Florent and others, but it makes me want to do some deeper changes and so is nowhere near to converge. Experimental and completely messed up branch: u/nthiery/16058-combinat-doc-index. This will be easier to handle now that #16100 fixed the error reporting in the documentation compilation!

Cheers,
Nicolas

@nathanncohen
Copy link
Mannequin Author

nathanncohen mannequin commented Apr 9, 2014

comment:6

I have been toying around with Florent and others, but it makes me want to do some deeper changes and so is nowhere near to converge.

If your method does not converge, then try another method. This index is impossible to read, almost any improvement makes a huge difference.

Experimental and completely messed up branch: u/nthiery/16058-combinat-doc-index. This will be easier to handle now that #16100 fixed the error reporting in the documentation compilation!

I will not be available for a week or so (no computer to run Sage and everything). Try to do the best you can during that time. Have fun !

Nathann

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 9, 2014

Changed commit from 0293c49 to a14057b

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 9, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

a14057bSome more groupings and separated root system types into separate list.

@tscrim
Copy link
Collaborator

tscrim commented Apr 9, 2014

comment:8

With this format, we probably can also do away with some of the subindex rst files too. Anyways, I've just pushed some more groupings and separated the type_* part of the root systems into a separate file so it one doesn't have to see that at the higher levels of the doc.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 27, 2014

Changed commit from a14057b to 50cb827

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 27, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

50cb827trac #16058: Rebase on 6.2.rc0

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 27, 2014

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

4b5cb2btrac #16058: Rebase on 6.2.rc0

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 27, 2014

Changed commit from 50cb827 to 4b5cb2b

@nathanncohen
Copy link
Mannequin Author

nathanncohen mannequin commented Apr 27, 2014

comment:11

Rebased on the latest release, with a new section for finite state machines.

Now guys, to me this looks fine and at the very least much better than what we had before. Could any of you give this ticket a positive review if you agree with it ?

There will be a new release soon, and it would be cool if this patch is in before the official documentation is updated to match the next release.

Nathann

@nthiery
Copy link
Contributor

nthiery commented Apr 27, 2014

comment:12

What the heck??? Why didn't my advertising for all the hard work I had put on my branch last week-end end up here? I must say I was surprised not to get feedback ...

Oh well. Here is my commit log:

    Trac 16058: Reorganize the documentation indexes into src/sage/combinat
    
    - For example, the thematic index
      src/doc/en/reference/combinat/crystals.rst is now in:
      src/sage/combinat/crystals/__init__.py and is accessible through
      sage.combinat.crystals?
    
      (to be discussed: should this be put in all.py instead?)
    
    - What's left in doc/en/reference/combinat is basically autogenerated.
      (the building of module_list.rst there still needs to be regenerated by hand)
    
    - All p/cython files in sage/combinat/ are now included in the reference manual
    
    - Improved thematic indexes
    
    - New thematic indexes: algebraic_combinatorics, catalog_partitions,
      counting, enumerated_sets
    
    - Fixed some documentation syntax glitches here and there
    
    - Added the catalogs of permutation groups and matrix groups to the
      reference manual so that we can link to them.
    
    - Draft of sage.combinat.quickref
    
    TODO:
    
    - proof reading
    - choosing the right entry points
    - checking that the links are functional
    
    - deciding on how to link to classes/functions (in the index we would
      want to have the title of the documentation of the class rather than
      the name of the class. Or maybe both).

Please have a look at u/nthiery/16058-combinat-doc-index, and at the
current end-result:

http://sage.math.washington.edu/home/nthiery/16058-doc/combinat/index.html

One might argue that this reorganization of the documentation is not
consistent with what's done elsewhere in the manual. Indeed. I believe
sage.combinat is a good spot to explore better ways to organize the
documentation. I also believe that this new way is more local,
simpler, and more flexible. It might benefit from a bit more support
from sphinx though

If you think the change is a bit radical and you prefer merging the
current official branch as it is now, and postponing mine to a later
ticket, that's fine with me.

Cheers,
Nicolas

@nathanncohen
Copy link
Mannequin Author

nathanncohen mannequin commented Apr 28, 2014

comment:13

What the heck??? Why didn't my advertising for all the hard work I had put on my branch last week-end end up here? I must say I was surprised not to get feedback ...

....

Oh well. Here is my commit log:

  1. I have no idea how I can obtain the result from your web page with the branch you give. By the way, it does not apply on the latest rc0.

  2. Look at that : http://sage.math.washington.edu/home/nthiery/16058-doc/combinat/sage/combinat/counting.html#sage-combinat-counting
    Or that : http://sage.math.washington.edu/home/nthiery/16058-doc/combinat/sage/combinat/species/__init__.html#sage-combinat-species

All links are broken ! That's a problem for a reference manual ...

  1. Where are the combinatorial designs ?

  2. Those TODO will have to be removed before it is merged anywhere.

Nicolas, it looks like your branch is not ready. Could you review this ticket and create another one for yours ? You would also need to ask the release manager what he thinks of the script you have to run before generating the doc. Perhaps there is a pure-sphinx workaround ? I guess you asked Florent about this too ?

Right now I have no idea how it works. If you create another ticket, please explain that.

Nathann

@nthiery
Copy link
Contributor

nthiery commented Apr 28, 2014

comment:14

Replying to @nathanncohen:

Discussion moved to #16256.

@nathanncohen
Copy link
Mannequin Author

nathanncohen mannequin commented Apr 28, 2014

comment:15

Okayyyyyyyyyyyy !

Could you explain how it works, how to reproduce the doc page that you have on your website, and why designs do not appear ?

Could you also give this ticket a review if you agree with it ? I will then send an email to Volker to ask him if he can include it in the next release.

Nathann

@nthiery
Copy link
Contributor

nthiery commented Apr 28, 2014

comment:16

Replying to @nathanncohen:

Could you explain how it works, how to reproduce the doc page that you have on your website, and why designs do not appear ?
Could you also give this ticket a review if you agree with it ? I will then send an email to Volker to ask him if he can include it in the next release.

Yes, yes, just leave me the time to type :-)

@nathanncohen
Copy link
Mannequin Author

nathanncohen mannequin commented Apr 28, 2014

comment:17

Still waiting for review ...

@nthiery
Copy link
Contributor

nthiery commented Apr 28, 2014

comment:19

Good to go!

@nthiery
Copy link
Contributor

nthiery commented Apr 28, 2014

Author: Nathann Cohen, Travis Scrimshaw

@nthiery
Copy link
Contributor

nthiery commented Apr 28, 2014

comment:20

And thanks Nathann and Travis for improving our user experience!

@nthiery
Copy link
Contributor

nthiery commented Apr 28, 2014

Reviewer: Nicolas M. Thiéry

@vbraun
Copy link
Member

vbraun commented May 1, 2014

Changed branch from public/16058 to 4b5cb2b

@nathanncohen
Copy link
Mannequin Author

nathanncohen mannequin commented May 1, 2014

comment:22

Thaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaanks !!!

@nathanncohen
Copy link
Mannequin Author

nathanncohen mannequin commented May 1, 2014

Changed commit from 4b5cb2b to none

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants