Hi,

For now, there is no way to link to `.. program:: ase-db`.
Alternatively, you can write as:

--------------------------------------
.. _ase-db:

.. program:: ase-db

.. option:: -h

     help

link to :ref:`ase-db <ase-db>`
--------------------------------------

Regards,
--
Takayuki SHIMIZUKAWA
http://about.me/shimizukawa

On Thu Jan 15 2015 at 17:55:10 Jens Jørgen Mortensen <[email protected]>
wrote:

> Hi!
>
> If I have the following document:
>
> ------------------
> .. program:: ase-db
>
> .. option:: -h
>
>      help
> ------------------
>
> then I can link to the -h option like this: :option:`ase-db -h`.  I
> would like to link to the program ase-db, but :program:`ase-db` doesn't
> seem to do that.  Is there a way to make that work?
>
> Jens Jørgen
>
> --
> You received this message because you are subscribed to the Google Groups
> "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to