Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/laravel-feeds.tree
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
<toc-element topic="create-feeds.topic" />
<toc-element topic="generation.topic">
</toc-element>
<toc-element topic="configuration.topic" />
<toc-element topic="advanced-usage.topic" />
</toc-element>
<toc-element toc-title="Receipts">
Expand Down
181 changes: 0 additions & 181 deletions docs/redirection-rules.xml

This file was deleted.

61 changes: 0 additions & 61 deletions docs/topics/configuration.topic

This file was deleted.

50 changes: 49 additions & 1 deletion docs/topics/installation.topic
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,55 @@
composer require %package-name%
</code-block>

<include from="configuration.topic" element-id="publish_config" />
<chapter title="Configuration" id="configuration">
<chapter title="Publish" id="publish">
<snippet id="publish_config">
<p>
You can publish a <code>%config-filename%</code> configuration file using the console command:
</p>

<code-block lang="bash">
php artisan vendor:publish --tag="%package-tags%"
</code-block>
</snippet>

<p>
This is the contents of the published <code>%config-filename%</code> file:
</p>

<code-block
lang="php"
src="%config-url%"
include-lines="5-"
collapsed-title="Show configuration"
collapsible="true"
/>
</chapter>

<chapter title="Channels" id="channels">
<p>
This setting contains information about the generated feeds.
They can be both turned on and turned off depending on the environment or other conditions.
</p>

<code-block lang="ini" src="config-channels.ini" />
</chapter>

<chapter title="Pretty" id="pretty">
<p>
This setting indicates in what form the XML records should be exported - using or without formatting.
</p>

<chapter title="When `pretty` is true" id="when_pretty_is_true">
<code-block lang="xml" src="config-pretty-true.xml" />
</chapter>

<chapter title="When `pretty` is false" id="when_pretty_is_false">
<code-block lang="xml" src="config-pretty-false.xml" />
</chapter>
</chapter>
</chapter>

<include from="create-feeds.topic" element-id="create_feeds" />

<chapter title="Generation" id="generation">
Expand Down