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: docs/architecture-concepts/automatic-routing.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
##Automatic Routing
1
+
# Automatic Routing
2
2
3
3
>info This covers an intermediate topic which is not required for basic usage, but is useful if you want to use the framework to design custom Blade templates.
4
4
@@ -57,7 +57,7 @@ But where it really shines is when you supply a route. This will then resolve th
Copy file name to clipboardExpand all lines: docs/creating-content/documentation-pages.md
+12-10Lines changed: 12 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Hyde compiles your Markdown content into beautiful static HTML pages using a Tai
14
14
15
15
Additionally, if you have an `_docs/index.md` file, the sidebar header will link to it, and an automatically generated "Docs" link will be added to your site's main navigation menu, pointing to your documentation page.
16
16
17
-
If you have a Torchlight API token in your `.env` file, Hyde will even enable syntax highlighting automatically, saving you time and effort. For more information about this feature, see the [extensions page](extensions#torchlight).
17
+
If you have a Torchlight API token in your `.env` file, Hyde will even enable syntax highlighting automatically, saving you time and effort. For more information about this feature, see the [extensions page](third-party-integrations#torchlight).
18
18
19
19
### Best Practices and Hyde Expectations
20
20
@@ -241,17 +241,19 @@ To quickly arrange the order of items in the sidebar, you can reorder the page i
241
241
]
242
242
```
243
243
244
-
See [the chapter in the customization page](customization#navigation-menu--sidebar) for more details. <br>
244
+
See [the chapter in the customization page](customization#navigation-menu--sidebar) for more details.
245
245
246
246
### Setting Sidebar Group Labels
247
247
248
248
When using the automatic sidebar grouping feature the titles of the groups are generated from the subdirectory names. If these are not to your liking, for example if you need to use special characters, you can override them in the configuration file. The array key is the directory name, and the value is the label.
249
249
250
250
```php
251
-
// Filepath: config/docs.php
251
+
// filepath: config/docs.php
252
252
253
-
'sidebar_group_labels' => [
254
-
'questions-and-answers' => 'Questions & Answers',
253
+
'sidebar' => [
254
+
'labels' => [
255
+
'questions-and-answers' => 'Questions & Answers',
256
+
],
255
257
],
256
258
```
257
259
@@ -264,7 +266,7 @@ By default, each group will be assigned the lowest priority found inside the gro
264
266
Just use the sidebar group key as instead of the page identifier/route key:
265
267
266
268
```php
267
-
// Filepath: config/docs.php
269
+
// filepath: config/docs.php
268
270
'sidebar' => [
269
271
'order' => [
270
272
'readme',
@@ -345,7 +347,7 @@ If this setting is set to true, Hyde will output all documentation pages into th
345
347
If you set this to false, Hyde will match the directory structure of the source files (just like all other pages).
346
348
347
349
```php
348
-
// Filepath: config/docs.php
350
+
// filepath: config/docs.php
349
351
'flattened_output_paths' => true,
350
352
```
351
353
@@ -420,7 +422,7 @@ The feature is automatically enabled when you specify a base URL in the Docs con
420
422
Here's an example configuration from the official HydePHP.com documentation:
@@ -430,7 +432,7 @@ Here's an example configuration from the official HydePHP.com documentation:
430
432
Changing the label is easy, just change the following config setting:
431
433
432
434
```php
433
-
// Filepath: config/docs.php
435
+
// filepath: config/docs.php
434
436
'edit_source_link_text' => 'Edit Source on GitHub',
435
437
```
436
438
@@ -439,7 +441,7 @@ Changing the label is easy, just change the following config setting:
439
441
By default, the button will be shown in the documentation page footer. You can change this by setting the following config setting to `'header'`, `'footer'`, or `'both'`
Copy file name to clipboardExpand all lines: docs/creating-content/managing-assets.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ To get you started quickly, all the styles are already compiled and minified int
17
17
18
18
## Vite
19
19
20
-
Hyde uses [Vite](https://vitejs.dev/) to compile assets. Vite is a build tool that aims to provide a faster and more efficient development experience for modern web projects.
20
+
Hyde uses [Vite](https://vite.dev/) to compile assets. Vite is a build tool that aims to provide a faster and more efficient development experience for modern web projects.
21
21
22
22
### Why Vite?
23
23
@@ -66,6 +66,10 @@ You can check if the Vite HMR server is running with `Vite::running()`, and you
66
66
@endif
67
67
```
68
68
69
+
### Laravel Herd
70
+
71
+
If using Laravel Herd for HydePHP, you can still use Vite by running `npm run dev`. The Herd integration is in public beta, please report any issues to https://github.com/hydephp/realtime-compiler.
72
+
69
73
## Additional Information and Answers to Common Questions
0 commit comments