Skip to content

Commit ee60b44

Browse files
Merge pull request #54
The installation and configuration sections have been combined
2 parents c07951f + 1fdc79f commit ee60b44

File tree

4 files changed

+49
-244
lines changed

4 files changed

+49
-244
lines changed

docs/laravel-feeds.tree

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<toc-element topic="create-feeds.topic" />
1717
<toc-element topic="generation.topic">
1818
</toc-element>
19-
<toc-element topic="configuration.topic" />
2019
<toc-element topic="advanced-usage.topic" />
2120
</toc-element>
2221
<toc-element toc-title="Receipts">

docs/redirection-rules.xml

Lines changed: 0 additions & 181 deletions
This file was deleted.

docs/topics/configuration.topic

Lines changed: 0 additions & 61 deletions
This file was deleted.

docs/topics/installation.topic

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,55 @@
2323
composer require %package-name%
2424
</code-block>
2525

26-
<include from="configuration.topic" element-id="publish_config" />
26+
<chapter title="Configuration" id="configuration">
27+
<chapter title="Publish" id="publish">
28+
<snippet id="publish_config">
29+
<p>
30+
You can publish a <code>%config-filename%</code> configuration file using the console command:
31+
</p>
32+
33+
<code-block lang="bash">
34+
php artisan vendor:publish --tag="%package-tags%"
35+
</code-block>
36+
</snippet>
37+
38+
<p>
39+
This is the contents of the published <code>%config-filename%</code> file:
40+
</p>
41+
42+
<code-block
43+
lang="php"
44+
src="%config-url%"
45+
include-lines="5-"
46+
collapsed-title="Show configuration"
47+
collapsible="true"
48+
/>
49+
</chapter>
50+
51+
<chapter title="Channels" id="channels">
52+
<p>
53+
This setting contains information about the generated feeds.
54+
They can be both turned on and turned off depending on the environment or other conditions.
55+
</p>
56+
57+
<code-block lang="ini" src="config-channels.ini" />
58+
</chapter>
59+
60+
<chapter title="Pretty" id="pretty">
61+
<p>
62+
This setting indicates in what form the XML records should be exported - using or without formatting.
63+
</p>
64+
65+
<chapter title="When `pretty` is true" id="when_pretty_is_true">
66+
<code-block lang="xml" src="config-pretty-true.xml" />
67+
</chapter>
68+
69+
<chapter title="When `pretty` is false" id="when_pretty_is_false">
70+
<code-block lang="xml" src="config-pretty-false.xml" />
71+
</chapter>
72+
</chapter>
73+
</chapter>
74+
2775
<include from="create-feeds.topic" element-id="create_feeds" />
2876

2977
<chapter title="Generation" id="generation">

0 commit comments

Comments
 (0)