Mercurial > hgrepos > Python > libs > ConfigMix
comparison docs/introduction.rst @ 340:176e22110fc5
docs, tests: notes and additional tests when quoting the "ref" namespace name
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 08 May 2021 19:19:35 +0200 |
| parents | ebd662a8376e |
| children | ae4b76d0da45 |
comparison
equal
deleted
inserted
replaced
| 339:ebd662a8376e | 340:176e22110fc5 |
|---|---|
| 450 ----------------------------- | 450 ----------------------------- |
| 451 | 451 |
| 452 With ``{{ref:my.other.key}}`` | 452 With ``{{ref:my.other.key}}`` |
| 453 | 453 |
| 454 - special namespace ``ref`` | 454 - special namespace ``ref`` |
| 455 - can not be quoted currently in variable interpolation syntax | |
| 455 - No special handling when merging is done | 456 - No special handling when merging is done |
| 456 - Keys within :meth:`.Configuration.getvar_s()` and | 457 - Keys within :meth:`.Configuration.getvar_s()` and |
| 457 :py:meth:`.Configuration.getvar()` are handled | 458 :py:meth:`.Configuration.getvar()` are handled |
| 458 - in :py:meth:`.Configuration.getvar()` only, when it is the directly | 459 - in :py:meth:`.Configuration.getvar()` only, when it is the directly |
| 459 referenced value | 460 referenced value |
| 488 can be encoded as ``%x2e`` or ``%u002e`` or ``%U0000002e``. | 489 can be encoded as ``%x2e`` or ``%u002e`` or ``%U0000002e``. |
| 489 | 490 |
| 490 .. note:: Filters neeed no quoting -- and quoting within filters is *not* | 491 .. note:: Filters neeed no quoting -- and quoting within filters is *not* |
| 491 supported. | 492 supported. |
| 492 | 493 |
| 494 .. note:: Quoting the ``ref`` namespace name does not work currently when | |
| 495 used in variable interpolation syntax. | |
| 496 | |
| 493 | 497 |
| 494 Custom filename extensions and custom loaders | 498 Custom filename extensions and custom loaders |
| 495 --------------------------------------------- | 499 --------------------------------------------- |
| 496 | 500 |
| 497 If you want to have custom configuration file extensions and/or custom loaders | 501 If you want to have custom configuration file extensions and/or custom loaders |
