Skip to content

Commit 0dcc443

Browse files
authored
Merge pull request #7906 from neznaika0/docs-publisher-path-1
docs: Improve publisher.rst
2 parents be40bfb + 090d32b commit 0dcc443

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

user_guide_src/source/libraries/publisher.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ to keep up with. You can create a publication definition in your project to sync
120120

121121
.. literalinclude:: publisher/009.php
122122

123+
.. note:: Directory ``$destination`` must be created before executing the command.
124+
123125
Now add the dependency via Composer and call ``spark publish`` to run the publication:
124126

125127
.. code-block:: console

user_guide_src/source/libraries/publisher/009.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class BootstrapPublisher extends Publisher
1313
*
1414
* @var string
1515
*/
16-
protected $source = 'vendor/twbs/bootstrap/';
16+
protected $source = VENDORPATH . 'twbs/bootstrap/';
1717

1818
/**
1919
* FCPATH is always the default destination,

0 commit comments

Comments
 (0)