Skip to content

Commit e4956ef

Browse files
Merge pull request #60 from TheDragonCode/1.x
Restructure "Schedule" section in docs for clarity and added manual/automatic feed scheduling subsections
2 parents c86e3e8 + 7f1f11c commit e4956ef

File tree

1 file changed

+20
-16
lines changed

1 file changed

+20
-16
lines changed

docs/topics/generation.topic

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -57,25 +57,29 @@
5757
</chapter>
5858

5959
<chapter title="Schedule" id="schedule">
60-
<p>
61-
To automate feed generation, use a
62-
<a href="https://laravel.com/docs/scheduling#running-the-scheduler">schedule</a>.
63-
To do this, specify the helper call in the
64-
<code>routes/console.php</code> file (the default path, unless you have changed it):
65-
</p>
60+
<chapter title="Automatic" id="automatic">
61+
<p>
62+
To automate feed generation, use a
63+
<a href="https://laravel.com/docs/scheduling#running-the-scheduler">schedule</a>.
64+
To do this, specify the helper call in the
65+
<code>routes/console.php</code> file (the default path, unless you have changed it):
66+
</p>
6667

67-
<code-block lang="php" src="schedule-setup.php" include-lines="5-" />
68+
<code-block lang="php" src="schedule-setup.php" include-lines="5-" />
6869

69-
<p>
70-
This will enable you to register calls to all active feeds according to the launch schedule you specified in the
71-
<code>expression</code> column of the database.
72-
</p>
70+
<p>
71+
This will enable you to register calls to all active feeds according to the launch schedule you specified in the
72+
<code>expression</code> column of the database.
73+
</p>
74+
</chapter>
7375

74-
<p>
75-
You can also specify the schedule directly according to your own rules.
76-
In this case, only the feeds you specify will be executed.
77-
</p>
76+
<chapter title="Manual" id="manual">
77+
<p>
78+
You can also specify the schedule directly according to your own rules.
79+
In this case, only the feeds you specify will be executed.
80+
</p>
7881

79-
<code-block lang="php" src="schedule-setup-manual.php" include-lines="5-" />
82+
<code-block lang="php" src="schedule-setup-manual.php" include-lines="5-" />
83+
</chapter>
8084
</chapter>
8185
</topic>

0 commit comments

Comments
 (0)