You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -240,6 +240,13 @@ $ php artisan api:update
240
240
241
241
As an optional parameter, you can use `--location` to tell the update command where your documentation can be found.
242
242
243
+
## Automatically add markdown to the beginning or end of the documentation
244
+
If you wish to automatically add the same content to the docs every time you generate, you can add a `prepend.md` and/or `append.md` file to the source folder, and they will be included above and below the generated documentation.
245
+
246
+
**File locations:**
247
+
-`public/docs/source/prepend.md`
248
+
-`public/docs/source/append.md`
249
+
243
250
## Skip single routes
244
251
245
252
If you want to skip a single route from a list of routes that match a given prefix, you can use the `@hideFromAPIDocumentation` tag on the Controller method you do not want to document.
0 commit comments