ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 24 Jul 2014 10:02:01 -0500influence order of entries in function documentationhttp://ask.sagemath.org/question/23568/influence-order-of-entries-in-function-documentation/ The documentation output from Sphinx for my source code has the functions ordered alphabetically large caps first. I would like to have it alphabetically mixed caps in my file. How can I achieve this?
(It appears there is a Sphinx config option named autodoc_member_order that changes it for the whole project but maybe I'm missing something that was added by Sage)
**Update**: I tried to work around it by naming the lowercase function with initial cap, and making an alias to that but now the function docs are duplicated! Needless to say, I find the limited options in Sphinx very disappointing.Thu, 24 Jul 2014 08:59:35 -0500http://ask.sagemath.org/question/23568/influence-order-of-entries-in-function-documentation/Answer by John Palmieri for <p>The documentation output from Sphinx for my source code has the functions ordered alphabetically large caps first. I would like to have it alphabetically mixed caps in my file. How can I achieve this?</p>
<p>(It appears there is a Sphinx config option named autodoc_member_order that changes it for the whole project but maybe I'm missing something that was added by Sage)</p>
<p><strong>Update</strong>: I tried to work around it by naming the lowercase function with initial cap, and making an alias to that but now the function docs are duplicated! Needless to say, I find the limited options in Sphinx very disappointing.</p>
http://ask.sagemath.org/question/23568/influence-order-of-entries-in-function-documentation/?answer=23571#post-id-23571I don't think this is possible without patching Sphinx. (I think I would actually have a slight preference to set `autodoc_member_order` (see http://sphinx-doc.org/ext/autodoc.html#confval-autodoc_member_order) to "by source", in which case the ordering is what was in the source file.)
Thu, 24 Jul 2014 10:02:01 -0500http://ask.sagemath.org/question/23568/influence-order-of-entries-in-function-documentation/?answer=23571#post-id-23571