Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 6e7d9cc

Browse files
committed
make ref names use dashes consistently
1 parent f39c076 commit 6e7d9cc

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

bundles/block/types.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Publish Workflow Interfaces
2020
~~~~~~~~~~~~~~~~~~~~~~~~~~~
2121

2222
The ``AbstractBlock`` implements the write interfaces for publishable and publish time
23-
period, see the :ref:`publish workflow documentation <bundle-core-publish_workflow>`
23+
period, see the :ref:`publish workflow documentation <bundle-core-publish-workflow>`
2424
for more information.
2525

2626
StringBlock

bundles/core/dependency_injection_tags.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ just use the synchronized service feature.
4141
cmf_published_voter
4242
~~~~~~~~~~~~~~~~~~~
4343

44-
Used to activate :ref:`custom voters <bundle-core-workflow_custom_voters>` for the
45-
:ref:`publish workflow <bundle-core-publish_workflow>`. Tagging a service with
44+
Used to activate :ref:`custom voters <bundle-core-workflow-custom-voters>` for the
45+
:ref:`publish workflow <bundle-core-publish-workflow>`. Tagging a service with
4646
``cmf_published_voter`` integrates it into the access decision of the publish
4747
workflow.
4848

bundles/core/publish_workflow.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. index::
22
single: Core; Bundles; publish workflow
33

4-
.. _bundle-core-publish_workflow:
4+
.. _bundle-core-publish-workflow:
55

66
Publish Workflow
77
----------------
@@ -102,7 +102,7 @@ the path in question - he will have the permission to view unpublished content a
102102
// ...
103103
}
104104

105-
.. _bundle-core-publish_workflow-twig_function:
105+
.. _bundle-core-publish-workflow-twig_function:
106106

107107
To check publication in a template, use the twig function ``cmf_is_published``:
108108

@@ -182,7 +182,7 @@ As voting is unanimous, each voter returns ``ACCESS_GRANTED`` if its criteria
182182
is met, but if a single voter returns ``ACCESS_DENIED``, the content is
183183
considered not published.
184184

185-
You can also implement your :ref:`own voters <bundle-core-workflow_custom_voters>`
185+
You can also implement your :ref:`own voters <bundle-core-workflow-custom-voters>`
186186
for additional publication behaviour.
187187

188188
PublishableVoter
@@ -205,7 +205,7 @@ and end date. A date may be null to indicate "always started" resp.
205205
* **getPublishEndDate**: If non-null, the date from which the document
206206
should stop being published.
207207

208-
.. _bundle-core-workflow_custom_voters:
208+
.. _bundle-core-workflow-custom-voters:
209209

210210
Custom Voters
211211
.............

bundles/core/templating.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ Twig
1111

1212
The CoreBundle contains a Twig extension that provides a set of useful
1313
functions for your templates. The functions respect the
14-
:ref:`publish workflow <bundle-core-publish_workflow>` if it is enabled.
14+
:ref:`publish workflow <bundle-core-publish-workflow>` if it is enabled.
1515

1616
* **cmf_find**: returns the document for the provided path
1717
* **cmf_find_many**: returns an array of documents for the provided paths
1818
* **cmf_is_published**: checks if the provided document is published, see
19-
:ref:`cmf_is_published <bundle-core-publish_workflow-twig_function>`.
19+
:ref:`cmf_is_published <bundle-core-publish-workflow-twig_function>`.
2020
* **cmf_prev**: returns the previous document by examining the child nodes of
2121
the provided parent
2222
* **cmf_prev_linkable**: returns the previous linkable document by examining

bundles/menu.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ Publish Workflow Interface
389389
--------------------------
390390

391391
Menu nodes implement the write interfaces for publishable and publish time
392-
period, see the :ref:`publish workflow documentation <bundle-core-publish_workflow>`
392+
period, see the :ref:`publish workflow documentation <bundle-core-publish-workflow>`
393393
for more information.
394394

395395
.. _`KnpMenu`: https://github.com/knplabs/KnpMenu

0 commit comments

Comments
 (0)