Hello,

I can't quite figure out how to use the :option: role. My RST looks like
this:

--snip--
Some stuff

.. program:: foo

Bar, blub

  -h, --help  show this help message and exit
  --debug     activate debugging output
  --quiet     be really quiet
  --version   just print program version and exit

Other stuff. :option:`--debug` might help, or maybe :option:`foo --debug`.
--snip--

But Sphinx complains that it cannot resolve the references:

Running Sphinx v1.1pre
[..]
/home/nikratio/tmp/d/index.rst:: WARNING: reference target not found: domain 
std, type option, target --debug
/home/nikratio/tmp/d/index.rst:: WARNING: reference target not found: domain 
std, type option, target --debug


What am I doing wrong? Or this the option role only work with explicit
.. option directives? 


Thanks,

   -Nikolaus

-- 
 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C

-- 
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.

Reply via email to