[sympy] (Code In) Adding a feature 'See Also'

2011-10-23 Thread Hector
Hi, I was a MatLab user before switching to Python and ultimately to SymPy. One thing (the only one thing) I miss here is ``see also`` feature in the documentation. This thing works like - if I look for the docstring of ``prime`` in the docstring, at the bottommost line, it shows See Also : prime

Re: [sympy] (Code In) Adding a feature 'See Also'

2011-10-23 Thread Aaron Meurer
This is a good idea. I looked and there doesn't seem to be an issue for it. Can you create an issue for it? We are running all of our GCI tasks through the issue tracker. Just add the proper CodeIn tags to it. See the "Easy, Medium or Hard Tasks- how do we calibrate the tasks?" section of http

Re: [sympy] (Code In) Adding a feature 'See Also'

2011-10-24 Thread Chris Smith
In this situaion I do: >>> [w for w in dir() if 'prime' in w] ['isprime', 'nextprime', 'prevprime', 'prime', 'primefactors', 'primelt', 'primepi', 'primerange', 'primetest', 'randprime'] -- You received this message because you are subscribed to the Google Groups "sympy" group. To post

Re: [sympy] (Code In) Adding a feature 'See Also'

2011-10-24 Thread Hector
On Mon, Oct 24, 2011 at 1:05 PM, Chris Smith wrote: > In this situaion I do: > >>>> [w for w in dir() if 'prime' in w] >['isprime', 'nextprime', 'prevprime', 'prime', 'primefactors', > 'primelt', 'primepi', 'primerange', 'primetest', 'randprime'] > > That is to search functions which cont

Re: [sympy] (Code In) Adding a feature 'See Also'

2011-10-25 Thread Aaron Meurer
A note about "See also" that should maybe be added to the issues (I'll add it as a bulk comment when I get internet access): if you format it as See Also :class:`someclass`, :function:`somefunction` Then Sphinx (along with the numpydoc extension) will render this nicely. Aaron Meurer

Re: [sympy] (Code In) Adding a feature 'See Also'

2011-10-25 Thread Vladimir Perić
There's also a ".. seealso::" directive, but I'm not exactly sure what it does. It came up when I updated the sphinx-errors branch (pull request 672). On Tue, Oct 25, 2011 at 6:33 PM, Aaron Meurer wrote: > A note about "See also" that should maybe be added to the issues (I'll add > it as a bulk c

Re: [sympy] (Code In) Adding a feature 'See Also'

2011-10-25 Thread Aaron Meurer
The numpydoc extension converts what I had above to .. seealso::, so that way it looks nice both in Sphinx and in raw source. For an example of what it does, see the very bottom of http://docs.sympy.org/0.7.1/modules/galgebra/GA/GAsympy.html. Aaron Meurer On Tue, Oct 25, 2011 at 4:41 PM, Vladimi