-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 21.09.2010 21:57, schrieb Jeremy:
> Hello,
>   I'm new to Sphinx and I'm trying to create an extension for putting
> inline demos into our documentation.
> 
> As I could only find one tutorial on creating extensions, I've pretty
> much just grabbed that code and modified it.
> 
> However, when I run 'make html' I get the following error:
> /docutils/transforms/references.py", line 80, in apply
>     target['refid'] = target['ids'][0]
> IndexError: list index out of range
> 
> 
> I can't seem to attach files, so I'm linking to my dropbox account:
> http://dl.dropbox.com/u/3341386/jscss.py
> Also, if anyone has any good advanced tutorials for creating
> extensions I would greatly appreciate links.

Hi,

I guess you already found this out, but in case not: the targetnode
should have an argument "ids", not "id".

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

iEYEARECAAYFAk0orScACgkQN9GcIYhpnLDN1gCfSqcqBRe8PxdkKza6aMoGa4XX
d9AAni3VCtd0stIf3m8DPS+RWTCKka3I
=Ihyf
-----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.

Reply via email to