Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ANNOUNCE: ruff 1.1.0

94 views
Skip to first unread message

Ashok

unread,
Feb 1, 2021, 9:51:00 PM2/1/21
to
Ruff! is a documentation generator for Tcl. Ruff! uses runtime
introspection in conjunction with minimal, non-intrusive comment markup
to generate reference manuals for Tcl programs.

v1.1.0 adds a searchable index. See
https://iocp.magicsplat.com/iocp_docindex.html for an example.

Home: https://ruff.magicsplat.com
Downloads: https://sourceforge.net/projects/magicsplat/files/ruff/

/Ashok

Nicolas Robert

unread,
Feb 22, 2021, 7:05:49 AM2/22/21
to
Ashok ,

Is there a way to get the class above the commands in the header ?
I don't find any arguments for this with ruff::document...

mypackage::my
Commands
command1
command2
Classes
constructor
destructor

I would like this :

mypackage::my
Classes
constructor
destructor
Commands
command1
command2

Nicolas

Ashok

unread,
Feb 23, 2021, 7:28:47 AM2/23/21
to

Not currently. I've marked it as an RFE but not sure when the next
release will be.

However should not be hard for you modify your sources in the meanwhile.
See
https://github.com/apnadkarni/ruff/blob/6b6174bdd71667d7669733467568fe0559d8c5c8/src/formatter.tcl#L998

You basically need to switch the order of class and command output there.

/Ashok

Torsten Berg

unread,
Feb 25, 2021, 2:17:55 AM2/25/21
to
Good suggestion. I found myself wanting to get the namespaces in the same order as I specify them with the ::ruff::document command. Currently, they come out sorted alphabetically but I would like to have them as specificed during the call as I have them sorted by importance there.

I will see if I can provide a patch for that.
0 new messages