[Python-Dev] The docs, reloaded (original) (raw)
BJörn Lindqvist bjourne at gmail.com
Wed May 23 00:15:17 CEST 2007
- Previous message: [Python-Dev] The docs, reloaded
- Next message: [Python-Dev] The docs, reloaded
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> In your examples, I think the ReST version can be cleaned up quite a > bit. First by using the .. default-role:: literal directive so that > you can type
foo()
instead of using double back quotes and then you > can remove the redundant semantic markup. Like this:I've already assigned the default role to
var
since it's used most frequently. Having two ways of spelling literal code is wasting markup, for me.
Reassign it then. :) var
makes italic text but you can use var for
that instead. Minor point I know, but it would make reading ReST
source just a tiny bit easier.
-- mvh Björn
- Previous message: [Python-Dev] The docs, reloaded
- Next message: [Python-Dev] The docs, reloaded
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]