Skip to content

Commit 3315ebc

Browse files
authored
fix: Link rendering error (#10077)
Signed-off-by: ajiho <lujiahao@88.com>
1 parent 00efc21 commit 3315ebc

File tree

11 files changed

+36
-0
lines changed

11 files changed

+36
-0
lines changed

billing.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,11 @@ Finally, you should configure your Stripe key in your `services.php` configurati
117117
For many operations, the Stripe and Braintree implementations of Cashier function the same. Both services provide subscription billing with credit cards but Braintree also supports payments via PayPal. However, Braintree also lacks some features that are supported by Stripe. You should keep the following in mind when deciding to use Stripe or Braintree:
118118

119119
<div class="content-list" markdown="1">
120+
120121
- Braintree supports PayPal while Stripe does not.
121122
- Braintree does not support the `increment` and `decrement` methods on subscriptions. This is a Braintree limitation, not a Cashier limitation.
122123
- Braintree does not support percentage based discounts. This is a Braintree limitation, not a Cashier limitation.
124+
123125
</div>
124126

125127
#### Composer

contributions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Remember, bug reports are created in the hope that others with the same problem
2121
The Laravel source code is managed on GitHub, and there are repositories for each of the Laravel projects:
2222

2323
<div class="content-list" markdown="1">
24+
2425
- [Laravel Application](https://github.com/laravel/laravel)
2526
- [Laravel Art](https://github.com/laravel/art)
2627
- [Laravel Documentation](https://github.com/laravel/docs)
@@ -36,6 +37,7 @@ The Laravel source code is managed on GitHub, and there are repositories for eac
3637
- [Laravel Socialite](https://github.com/laravel/socialite)
3738
- [Laravel Telescope](https://github.com/laravel/telescope)
3839
- [Laravel Website](https://github.com/laravel/laravel.com)
40+
3941
</div>
4042

4143
<a name="core-development-discussion"></a>

database.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@
1414
Laravel makes interacting with databases extremely simple across a variety of database backends using either raw SQL, the [fluent query builder](/docs/{{version}}/queries), and the [Eloquent ORM](/docs/{{version}}/eloquent). Currently, Laravel supports four databases:
1515

1616
<div class="content-list" markdown="1">
17+
1718
- MySQL
1819
- PostgreSQL
1920
- SQLite
2021
- SQL Server
22+
2123
</div>
2224

2325
<a name="configuration"></a>

eloquent-relationships.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,15 @@
3333
Database tables are often related to one another. For example, a blog post may have many comments, or an order could be related to the user who placed it. Eloquent makes managing and working with these relationships easy, and supports several different types of relationships:
3434

3535
<div class="content-list" markdown="1">
36+
3637
- [One To One](#one-to-one)
3738
- [One To Many](#one-to-many)
3839
- [Many To Many](#many-to-many)
3940
- [Has Many Through](#has-many-through)
4041
- [One To One (Polymorphic)](#one-to-one-polymorphic-relations)
4142
- [One To Many (Polymorphic)](#one-to-many-polymorphic-relations)
4243
- [Many To Many (Polymorphic)](#many-to-many-polymorphic-relations)
44+
4345
</div>
4446

4547
<a name="defining-relationships"></a>

envoy.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ Envoy also supports sending notifications to [Slack](https://slack.com) after ea
173173
You may provide one of the following as the channel argument:
174174

175175
<div class="content-list" markdown="1">
176+
176177
- To send the notification to a channel: `#channel`
177178
- To send the notification to a user: `@user`
179+
178180
</div>

homestead.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Homestead runs on any Windows, Mac, or Linux system, and includes the Nginx web
4747
### Included Software
4848

4949
<div class="content-list" markdown="1">
50+
5051
- Ubuntu 18.04
5152
- Git
5253
- PHP 7.3
@@ -72,6 +73,7 @@ Homestead runs on any Windows, Mac, or Linux system, and includes the Nginx web
7273
- Zend Z-Ray
7374
- Go
7475
- Minio
76+
7577
</div>
7678

7779
<a name="installation-and-setup"></a>
@@ -449,6 +451,7 @@ Supported `policy` values include: `none`, `download`, `upload`, and `public`.
449451
By default, the following ports are forwarded to your Homestead environment:
450452

451453
<div class="content-list" markdown="1">
454+
452455
- **SSH:** 2222 &rarr; Forwards To 22
453456
- **ngrok UI:** 4040 &rarr; Forwards To 4040
454457
- **HTTP:** 8000 &rarr; Forwards To 80
@@ -458,6 +461,7 @@ By default, the following ports are forwarded to your Homestead environment:
458461
- **MongoDB:** 27017 &rarr; Forwards To 27017
459462
- **Mailhog:** 8025 &rarr; Forwards To 8025
460463
- **Minio:** 9600 &rarr; Forwards To 9600
464+
461465
</div>
462466

463467
#### Forwarding Additional Ports

installation.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ First, download the Laravel installer using Composer:
4747
Make sure to place composer's system-wide vendor bin directory in your `$PATH` so the laravel executable can be located by your system. This directory exists in different locations based on your operating system; however, some common locations include:
4848

4949
<div class="content-list" markdown="1">
50+
5051
- macOS: `$HOME/.composer/vendor/bin`
5152
- GNU / Linux Distributions: `$HOME/.config/composer/vendor/bin`
53+
5254
</div>
5355

5456
Once installed, the `laravel new` command will create a fresh Laravel installation in the directory you specify. For instance, `laravel new blog` will create a directory named `blog` containing a fresh Laravel installation with all of Laravel's dependencies already installed:
@@ -97,9 +99,11 @@ Laravel needs almost no other configuration out of the box. You are free to get
9799
You may also want to configure a few additional components of Laravel, such as:
98100

99101
<div class="content-list" markdown="1">
102+
100103
- [Cache](/docs/{{version}}/cache#configuration)
101104
- [Database](/docs/{{version}}/database#configuration)
102105
- [Session](/docs/{{version}}/session#configuration)
106+
103107
</div>
104108

105109
<a name="web-server-configuration"></a>

mix.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,12 @@ Mix provides several features to help you work with your JavaScript files, such
201201
With this single line of code, you may now take advantage of:
202202

203203
<div class="content-list" markdown="1">
204+
204205
- ES2015 syntax.
205206
- Modules
206207
- Compilation of `.vue` files.
207208
- Minification for production environments.
209+
208210
</div>
209211

210212
<a name="vendor-extraction"></a>
@@ -220,9 +222,11 @@ If you intend to make frequent updates to your application's JavaScript, you sho
220222
The `extract` method accepts an array of all libraries or modules that you wish to extract into a `vendor.js` file. Using the above snippet as an example, Mix will generate the following files:
221223

222224
<div class="content-list" markdown="1">
225+
223226
- `public/js/manifest.js`: *The Webpack manifest runtime*
224227
- `public/js/vendor.js`: *Your vendor libraries*
225228
- `public/js/app.js`: *Your application code*
229+
226230
</div>
227231

228232
To avoid JavaScript errors, be sure to load these files in the proper order:

queues.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,11 @@ Adjusting this value based on your queue load can be more efficient than continu
100100
The following dependencies are needed for the listed queue drivers:
101101

102102
<div class="content-list" markdown="1">
103+
103104
- Amazon SQS: `aws/aws-sdk-php ~3.0`
104105
- Beanstalkd: `pda/pheanstalk ~3.0`
105106
- Redis: `predis/predis ~1.0`
107+
106108
</div>
107109

108110
<a name="creating-jobs"></a>

session.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@ The session configuration file is stored at `config/session.php`. Be sure to rev
2626
The session `driver` configuration option defines where session data will be stored for each request. Laravel ships with several great drivers out of the box:
2727

2828
<div class="content-list" markdown="1">
29+
2930
- `file` - sessions are stored in `storage/framework/sessions`.
3031
- `cookie` - sessions are stored in secure, encrypted cookies.
3132
- `database` - sessions are stored in a relational database.
3233
- `memcached` / `redis` - sessions are stored in one of these fast, cache based stores.
3334
- `array` - sessions are stored in a PHP array and will not be persisted.
35+
3436
</div>
3537

3638
> {tip} The array driver is used during [testing](/docs/{{version}}/testing) and prevents the data stored in the session from being persisted.
@@ -223,12 +225,14 @@ Your custom session driver should implement the `SessionHandlerInterface`. This
223225
Since the purpose of these methods is not readily understandable, let's quickly cover what each of the methods do:
224226

225227
<div class="content-list" markdown="1">
228+
226229
- The `open` method would typically be used in file based session store systems. Since Laravel ships with a `file` session driver, you will almost never need to put anything in this method. You can leave it as an empty stub. It is a fact of poor interface design (which we'll discuss later) that PHP requires us to implement this method.
227230
- The `close` method, like the `open` method, can also usually be disregarded. For most drivers, it is not needed.
228231
- The `read` method should return the string version of the session data associated with the given `$sessionId`. There is no need to do any serialization or other encoding when retrieving or storing session data in your driver, as Laravel will perform the serialization for you.
229232
- The `write` method should write the given `$data` string associated with the `$sessionId` to some persistent storage system, such as MongoDB, Dynamo, etc. Again, you should not perform any serialization - Laravel will have already handled that for you.
230233
- The `destroy` method should remove the data associated with the `$sessionId` from persistent storage.
231234
- The `gc` method should destroy all session data that is older than the given `$lifetime`, which is a UNIX timestamp. For self-expiring systems like Memcached and Redis, this method may be left empty.
235+
232236
</div>
233237

234238
<a name="registering-the-driver"></a>

valet.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ In other words, a blazing fast Laravel development environment that uses roughly
2525
Out of the box, Valet support includes, but is not limited to:
2626

2727
<div class="content-list" markdown="1">
28+
2829
- [Laravel](https://laravel.com)
2930
- [Lumen](https://lumen.laravel.com)
3031
- [Bedrock](https://roots.io/bedrock/)
@@ -46,6 +47,7 @@ Out of the box, Valet support includes, but is not limited to:
4647
- [Symfony](https://symfony.com)
4748
- [WordPress](https://wordpress.org)
4849
- [Zend](https://framework.zend.com)
50+
4951
</div>
5052

5153
However, you may extend Valet with your own [custom drivers](#custom-valet-drivers).
@@ -65,11 +67,13 @@ Both Valet and Homestead are great choices for configuring your Laravel developm
6567
**Valet requires macOS and [Homebrew](https://brew.sh/). Before installation, you should make sure that no other programs such as Apache or Nginx are binding to your local machine's port 80.**
6668

6769
<div class="content-list" markdown="1">
70+
6871
- Install or update [Homebrew](https://brew.sh/) to the latest version using `brew update`.
6972
- Install PHP 7.3 using Homebrew via `brew install php`.
7073
- Install [Composer](https://getcomposer.org).
7174
- Install Valet with Composer via `composer global require laravel/valet`. Make sure the `~/.composer/vendor/bin` directory is in your system's "PATH".
7275
- Run the `valet install` command. This will configure and install Valet and DnsMasq, and register Valet's daemon to launch when your system starts.
76+
7377
</div>
7478

7579
Once Valet is installed, try pinging any `*.test` domain on your terminal using a command such as `ping foobar.test`. If Valet is installed correctly you should see this domain responding on `127.0.0.1`.
@@ -126,9 +130,11 @@ Once Valet is installed, you're ready to start serving sites. Valet provides two
126130
### The `park` Command
127131

128132
<div class="content-list" markdown="1">
133+
129134
- Create a new directory on your Mac by running something like `mkdir ~/Sites`. Next, `cd ~/Sites` and run `valet park`. This command will register your current working directory as a path that Valet should search for sites.
130135
- Next, create a new Laravel site within this directory: `laravel new blog`.
131136
- Open `http://blog.test` in your browser.
137+
132138
</div>
133139

134140
**That's all there is to it.** Now, any Laravel project you create within your "parked" directory will automatically be served using the `http://folder-name.test` convention.
@@ -139,8 +145,10 @@ Once Valet is installed, you're ready to start serving sites. Valet provides two
139145
The `link` command may also be used to serve your Laravel sites. This command is useful if you want to serve a single site in a directory and not the entire directory.
140146

141147
<div class="content-list" markdown="1">
148+
142149
- To use the command, navigate to one of your projects and run `valet link app-name` in your terminal. Valet will create a symbolic link in `~/.config/valet/Sites` which points to your current working directory.
143150
- After running the `link` command, you can access the site in your browser at `http://app-name.test`.
151+
144152
</div>
145153

146154
To see a listing of all of your linked directories, run the `valet links` command. You may use `valet unlink app-name` to destroy the symbolic link.

0 commit comments

Comments
 (0)