Skip to content

Commit 1a6e058

Browse files
authored
Merge pull request #1558 from hydephp/normalize-documentation-formatting
Normalize documentation heading level formatting
2 parents 234464d + 41e8e5c commit 1a6e058

24 files changed

+75
-49
lines changed

docs/advanced-features/build-tasks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ In a way, build tasks are like micro-commands, as they can interact directly wit
3232
In addition, there are some extra helpers available in the base BuildTask class that allow you to fluently format output to the console, which you will see in the examples below.
3333

3434

35-
## Creating build tasks
35+
## Creating Build Tasks
3636

3737
### Minimal example
3838

@@ -103,7 +103,7 @@ Running this task will produce the following output:
103103
As you can see, there is no execution time tracking here, since we overrode the `printFinishMessage()` method that normally prints this. You can of course call the `withExecutionTime()` method to add this back in. See more in the API reference below.
104104

105105

106-
## Registering the tasks
106+
## Registering the Tasks
107107

108108
There are a few ways to register these tasks so Hyde can find them.
109109

docs/advanced-features/in-memory-pages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ make sure you register it before the full application is booted so that routes c
2424
_To see how to register the page, see the examples below. But first we must look at how to actually create the page._
2525

2626

27-
## Creating the page
27+
## Creating the Page
2828

2929
To create an InMemoryPage, you need to instantiate it with the required parameters.
3030

docs/architecture-concepts/architecture-concepts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ then by all means, please read on! This is also a great place to start if you wa
2020
>info For a high-level overview of these concepts, see the [Basic Architecture Concepts](core-concepts) page.
2121
2222

23-
## Behind the magic
23+
## Behind the Magic
2424

2525
Want to learn more about a particular feature? Click on the links below to visit the article.
2626

docs/architecture-concepts/autodiscovery.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Before reading this article, you should be familiar with the following concepts:
1919
- [The HydeKernel](the-hydekernel)
2020

2121

22-
## Booting pipeline
22+
## Booting Pipeline
2323

2424
The autodiscovery is run when the HydeKernel boots. It does so in three distinct steps, which run in sequence as each
2525
step depends on the previous one. Each discovery step runs in a `FoundationCollection` which both runs the actual

docs/architecture-concepts/extensions-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ can be added the same way as you would in Laravel, and are thus not part of our
3737
See the [Laravel package development guide](https://laravel.com/docs/10.x/packages) for more.
3838

3939

40-
## Creating your Extension class
40+
## Creating Your Extension Class
4141

4242
The entry-point for your extension is your Extensions class. Within this, you can register the custom page classes.
4343
If needed, you can also register discovery handlers which can run custom logic at various parts of the boot process.
@@ -114,7 +114,7 @@ Since the discovery steps are handled sequentially, the added pages will automat
114114
us having to implement that handler method. As we inject the page objects directly, we bypass the need for the `FileCollection`.
115115

116116

117-
## Registering your extension
117+
## Registering Your Extension
118118

119119
Now that we have our extension class, we need to register it with HydePHP.
120120

docs/architecture-concepts/page-models.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ for your pages, also house instructions to Hyde on how to parse, process, and re
1313
In this article, you'll get a high-level overview of the page models, and some code examples to give you a look inside.
1414

1515

16-
## The short version
16+
## The Short Version
1717

1818
#### Page models are classes that have two primary concerns:
1919

docs/architecture-concepts/the-hydekernel.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The kernel is created very early on in the application lifecycle, in the `bootst
1919
as a singleton into the application service container.
2020

2121

22-
## Accessing the kernel
22+
## Accessing the Kernel
2323

2424
The HydeKernel is stored as a singleton in a static property in its own class and can be accessed in a few ways.
2525

@@ -44,7 +44,7 @@ hyde()->version();
4444
The Kernel instance is constructed in `bootstrap.php`, and is available globally as `$hyde`.
4545

4646

47-
## The kernel lifecycle
47+
## The Kernel Lifecycle
4848

4949
Whenever we talk about the kernel being "booted" we are talking about the kernel's role in the autodiscovery process.
5050

docs/creating-content/blog-posts.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ author: Mr. Hyde
6666
date: 2022-05-09 18:38
6767
---
6868

69-
## Write your Markdown here
69+
## Write Your Markdown Here
7070

7171
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
7272
Autem aliquid alias explicabo consequatur similique,
7373
animi distinctio earum ducimus minus, magnam.
7474
```
7575

7676

77-
## Supported Front Matter properties
77+
## Supported Front Matter Properties
7878

7979
### Post Front Matter Schema
8080

@@ -202,7 +202,7 @@ image:
202202
{ .info }
203203

204204

205-
## Using images in posts
205+
## Using Images in Posts
206206

207207
To use images stored in the `_media/` directory, you can use the following syntax:
208208

docs/creating-content/compile-and-deploy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ navigation:
66

77
# Compile and Deploy your site
88

9-
## Running the build command
9+
## Running the Build Command
1010

1111
Now that you have some amazing content, you'll want to compile your site into static HTML.
1212

@@ -41,7 +41,7 @@ php hyde serve
4141
---
4242

4343

44-
## Deploying your site
44+
## Deploying Your Site
4545

4646
One of the things that make static sites so enjoyable to work with is how easy it is to deploy them to the web.
4747
This list is not exhaustive, but gives you a general idea of the most common ways to deploy your site.

docs/creating-content/documentation-pages.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ navigation:
7676
```
7777

7878

79-
## Dynamic content generation
79+
## Dynamic Content Generation
8080

8181
Hyde makes documentation pages easy to create by automatically generating dynamic content such as the sidebar and page title.
8282
If you are not happy with the results you can customize them in the config or with front matter.
@@ -278,7 +278,7 @@ If you set this to false, Hyde will match the directory structure of the source
278278
```
279279

280280

281-
## Search feature
281+
## Search Feature
282282

283283
### Introduction
284284

0 commit comments

Comments
 (0)