Skip to content

Commit

Permalink
Fix incorrect/missing anchors for the user reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
epsy committed Mar 17, 2015
1 parent 761beb4 commit cb8b7fc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/compositing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ You can then use the decorator like before:
:lines: 3,23-47


.. _arg deco:
.. _ex arg deco:

Using a composed function to process arguments to a parameter
-------------------------------------------------------------
Expand Down
19 changes: 13 additions & 6 deletions docs/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ found in `sys.argv` into a value suitable for the annotated function.
Besides callables decorated with `parser.value converter`, the built-in functions `int`, `float` and `bool` are also recognized as value converters.


.. _default value:

.. index:: default value

.. _default value:

Specifying a default value
..........................

Expand Down Expand Up @@ -191,6 +191,8 @@ Plain arguments on the command line (those that don't start with a ``-``) are pr
It also shares the features detailed in :ref:`param with value`.


.. _extra posargs:

Parameter that collects remaining positional arguments
------------------------------------------------------

Expand Down Expand Up @@ -381,6 +383,7 @@ Additionally, you can chain their short form on the command line with other shor
opt arg
.. _mapped param:

Mapped parameters
-----------------
Expand All @@ -407,8 +410,10 @@ Mapped parameters
.. autofunction:: clize.parameters.one_of


Multi parameters
----------------
.. _multi param:

Repeatable parameters
---------------------

.. autofunction:: clize.parameters.multi

Expand All @@ -428,6 +433,7 @@ Multi parameters
Usage: python -m examples.multi [OPTIONS]
.. _arg deco:

Decorated arguments
-------------------
Expand Down Expand Up @@ -463,10 +469,11 @@ Annotations that work on any parameter
The following objects can be used as annotation on any parameter:


.. _parameter converters:

.. index:: parameter converter

.. _parameter converter:
.. _parameter converters:

Parameter converters
....................

Expand Down

0 comments on commit cb8b7fc

Please sign in to comment.