Re: [sphinx-dev] how to turn off alphabetical ordering ?

2010-04-18 Thread Georg Brandl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 13.04.2010 03:01, schrieb Michael Rule:
 and .. I do believe that worked. thank you very much.
 
  now to figure out how to add in links to the source
 --mrule

You can use the viewcode extension (also new in trunk; docs
see here: http://sphinx.pocoo.org/latest/ext/viewcode.html)

cheers,
Georg
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAkvKuloACgkQN9GcIYhpnLBduwCbBteVx4ZmZMcEiiUplkldOmxy
HwMAnAnkQYSOxJo/gUuSl6jIlXLh07v3
=mLoZ
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.



Re: [sphinx-dev] how to turn off alphabetical ordering ?

2010-04-12 Thread TP
On Mon, Apr 12, 2010 at 8:33 AM, Michael Rule mrule7...@gmail.com wrote:
 I would like to preserve source ordering in my documentation. I tried adding
 autodoc_member_order = 'groupwise'
 to the conf.py file, but this doesn't seem to do anything. What is the
 proper way to turn off alphabetical sorting ??

 --mrule

In the thread [sphinx-dev] Ordering members by order in source code?

Georg Brandl said see
http://bitbucket.org/birkenfeld/sphinx-domains/changeset/3474d539292a/.
#187: Added support for source ordering of members in autodoc, with
``autodoc_member_order = 'bysource'``.

This is apparently only in the development (1.0) version.

-- 
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.



Re: [sphinx-dev] how to turn off alphabetical ordering ?

2010-04-12 Thread TP
On Mon, Apr 12, 2010 at 11:17 AM, Michael Rule mrule7...@gmail.com wrote:
 hmm, naively tried installing 1.0 with the following commands
 hg clone http://bitbucket.org/birkenfeld/sphinx
 sudo python setup.py develop

 With
 autodoc_member_order = 'bysource'
 at the bottom of the config file.

 Nothing changed so I tried re-directing the SPHINXBUILD variable in
 the makefile to the new sphinx-build script
 SPHINXBUILD   = /home/mrule/installers/sphinx/sphinx-build.py

 Members still seem to be sorted in alphabetical order. Granted, I am
 listing the classes in a module, so maybe 'bysource' doesn't apply
 here ? Alternatively I am still somehow using the old sphinx builder
 and need to figure out how to point everything to the new version ?

 --mrule

 On Mon, Apr 12, 2010 at 12:21 PM, Michael Rule mrule7...@gmail.com wrote:
 thanks, so putting
 autodoc_member_order = 'bysource'

 at the bottom of conf.py would work, if I had this version ?
 and I assume there is some way to update to this version ?

 On Mon, Apr 12, 2010 at 12:15 PM, TP wing...@gmail.com wrote:
 On Mon, Apr 12, 2010 at 8:33 AM, Michael Rule mrule7...@gmail.com wrote:
 I would like to preserve source ordering in my documentation. I tried 
 adding
 autodoc_member_order = 'groupwise'
 to the conf.py file, but this doesn't seem to do anything. What is the
 proper way to turn off alphabetical sorting ??

 --mrule

 In the thread [sphinx-dev] Ordering members by order in source code?

 Georg Brandl said see
 http://bitbucket.org/birkenfeld/sphinx-domains/changeset/3474d539292a/.
 #187: Added support for source ordering of members in autodoc, with
 ``autodoc_member_order = 'bysource'``.

 This is apparently only in the development (1.0) version.

 --
 You received this message because you are subscribed to the Google Groups 
 sphinx-dev group.
 To post to this group, send email to sphinx-...@googlegroups.com.
 To unsubscribe from this group, send email to 
 sphinx-dev+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/sphinx-dev?hl=en.




 --
 You received this message because you are subscribed to the Google Groups 
 sphinx-dev group.
 To post to this group, send email to sphinx-...@googlegroups.com.
 To unsubscribe from this group, send email to 
 sphinx-dev+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/sphinx-dev?hl=en.



Looks like you **HAVE** to currently use
http://bitbucket.org/birkenfeld/sphinx-domains/. The bysource changes
haven't yet been merged back into the main sphinx repository. Sorry.

-- 
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.



Re: [sphinx-dev] how to turn off alphabetical ordering ?

2010-04-12 Thread Michael Rule
and .. I do believe that worked. thank you very much.

 now to figure out how to add in links to the source
--mrule

On Mon, Apr 12, 2010 at 7:01 PM, TP wing...@gmail.com wrote:
 On Mon, Apr 12, 2010 at 11:17 AM, Michael Rule mrule7...@gmail.com wrote:
 hmm, naively tried installing 1.0 with the following commands
 hg clone http://bitbucket.org/birkenfeld/sphinx
 sudo python setup.py develop

 With
 autodoc_member_order = 'bysource'
 at the bottom of the config file.

 Nothing changed so I tried re-directing the SPHINXBUILD variable in
 the makefile to the new sphinx-build script
 SPHINXBUILD   = /home/mrule/installers/sphinx/sphinx-build.py

 Members still seem to be sorted in alphabetical order. Granted, I am
 listing the classes in a module, so maybe 'bysource' doesn't apply
 here ? Alternatively I am still somehow using the old sphinx builder
 and need to figure out how to point everything to the new version ?

 --mrule

 On Mon, Apr 12, 2010 at 12:21 PM, Michael Rule mrule7...@gmail.com wrote:
 thanks, so putting
 autodoc_member_order = 'bysource'

 at the bottom of conf.py would work, if I had this version ?
 and I assume there is some way to update to this version ?

 On Mon, Apr 12, 2010 at 12:15 PM, TP wing...@gmail.com wrote:
 On Mon, Apr 12, 2010 at 8:33 AM, Michael Rule mrule7...@gmail.com wrote:
 I would like to preserve source ordering in my documentation. I tried 
 adding
 autodoc_member_order = 'groupwise'
 to the conf.py file, but this doesn't seem to do anything. What is the
 proper way to turn off alphabetical sorting ??

 --mrule

 In the thread [sphinx-dev] Ordering members by order in source code?

 Georg Brandl said see
 http://bitbucket.org/birkenfeld/sphinx-domains/changeset/3474d539292a/.
 #187: Added support for source ordering of members in autodoc, with
 ``autodoc_member_order = 'bysource'``.

 This is apparently only in the development (1.0) version.

 --
 You received this message because you are subscribed to the Google Groups 
 sphinx-dev group.
 To post to this group, send email to sphinx-...@googlegroups.com.
 To unsubscribe from this group, send email to 
 sphinx-dev+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/sphinx-dev?hl=en.




 --
 You received this message because you are subscribed to the Google Groups 
 sphinx-dev group.
 To post to this group, send email to sphinx-...@googlegroups.com.
 To unsubscribe from this group, send email to 
 sphinx-dev+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/sphinx-dev?hl=en.



 Looks like you **HAVE** to currently use
 http://bitbucket.org/birkenfeld/sphinx-domains/. The bysource changes
 haven't yet been merged back into the main sphinx repository. Sorry.

 --
 You received this message because you are subscribed to the Google Groups 
 sphinx-dev group.
 To post to this group, send email to sphinx-...@googlegroups.com.
 To unsubscribe from this group, send email to 
 sphinx-dev+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/sphinx-dev?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.