Re: [sphinx-dev] option -b not recognized?

2012-01-09 Thread Michael Foord
On 8 January 2012 13:41, Salim Fadhley s...@stodge.org wrote:

 I'm just working through the quick-start documentation. At the point where
 I ought to be able to give the following command:

 $ sphinx-build -b html sourcedir builddir

 This is what actually happens:

 sal@bobnit:~/workspace/jenkinsapi/doc$ sphinx-build -b html source build
 Running Sphinx v1.1.2
 usage: sphinx-build [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: sphinx-build --help [cmd1 cmd2 ...]
or: sphinx-build --help-commands
or: sphinx-build cmd --help

 *error: option -b not recognized*

 What's going on here? I'm running this on Python 2.7 on the latest Ubuntu
 64bit - is there anything about my platform that might have broken the
 option-parser?



As the html builder is the default, what happens if you do:

$ sphinx-build source build

Michael


 Thanks

  --
 You received this message because you are subscribed to the Google Groups
 sphinx-dev group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/sphinx-dev/-/zVXMbuqjNFkJ.
 To post to this group, send email to sphinx-dev@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.




-- 

http://www.voidspace.org.uk/

May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing http://www.sqlite.org/different.html

-- 
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-dev@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] Adding Python classes to local contents via autodoc

2012-01-09 Thread Michael Foord
On 6 January 2012 20:23, dbrnz d.bro...@auckland.ac.nz wrote:

 Apologies if this has been already asked, but is there anyway to have
 Python classes show in a (local) table-of-contents? When using
 autodoc? I've seen a suggestion to add a section heading before
 each ..class although in this case autodoc would need to generate the
 section headings.


I'd like Python classes and methods (etc) to all show in the sidebar
(Table of Contents), and not just for autodoc. I've created a feature
request for it:


https://bitbucket.org/birkenfeld/sphinx/issue/850/classes-functions-etc-in-table-of-contents

Lots of people (from responses on twitter anyway) are using headers above
each class / method to get this and would appreciate it.

All the best,

Michael Foord




 Thanks,
 Dave

 --
 You received this message because you are subscribed to the Google Groups
 sphinx-dev group.
 To post to this group, send email to sphinx-dev@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.




-- 

http://www.voidspace.org.uk/

May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing http://www.sqlite.org/different.html

-- 
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-dev@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.



[sphinx-dev] xelatex

2012-01-09 Thread Jan Ulrich Hasecke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

is there an option to use xelatex with Sphinx?

juh
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8K7uMACgkQPUzUEFbILMRCjACgzBXm/Y2C28TqQz04Bc4GIcAo
kh4An0106LxhMTtmLDC2gMCi7SRGiAaB
=tD7y
-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-dev@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.



[sphinx-dev] Output-format-dependent substitution

2012-01-09 Thread andreash
Hi Sphinx experts,

how can I make a substitution depending on the output-format?

Basically, I would like to have something like this::

   if html:
  |CLICK| unicode:: U+21E8
   elif latex:
  |CLICK| raw:: latex

 $\LongRightArrow$

but I cannot seem to get the syntax right.

Any help is greatly appreciated :)

Andreas.

-- 
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-dev@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.



[sphinx-dev] What causes WARNING: unknown keyword: with?

2012-01-09 Thread Chris Withers

Hi All,

When building my docs with a Python 2.7, I still get:

docs/exceptions.txt:13: WARNING: unknown keyword: with

What's causing that? It's now obviously wrong (as opposed to just being 
only technically correct in 2.6)


cheers,

Chris

--
Simplistix - Content Management, Batch Processing  Python Consulting
- http://www.simplistix.co.uk

--
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-dev@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.