Skip to content

Commit 09f5184

Browse files
committed
fix(prettier): always using proseWrap
1 parent fffbaa8 commit 09f5184

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+8073
-5560
lines changed
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
22
name: ⛔ Support Question
3-
about: See https://api-platform.com/support/ for questions about using API Platform
3+
about:
4+
See https://api-platform.com/support/ for questions about using API Platform
45
---
56

67
# Support question
78

8-
We use GitHub issues only to discuss bugs and new features.
9-
For this kind of questions about using API Platform, please use
10-
any of the support alternatives shown in [API Platform support](https://api-platform.com/support/).
9+
We use GitHub issues only to discuss bugs and new features. For this kind of
10+
questions about using API Platform, please use any of the support alternatives
11+
shown in [API Platform support](https://api-platform.com/support/).
1112

1213
Thanks!

CONTRIBUTING.md

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,43 @@
22

33
First of all, thank you for contributing, you're awesome!
44

5-
To have your code integrated in the API Platform documentation project, there are some rules to follow, but don't panic, it's easy!
5+
To have your code integrated in the API Platform documentation project, there
6+
are some rules to follow, but don't panic, it's easy!
67

78
## Reporting Bugs in the documentation
89

910
Before submitting your issue:
1011

11-
- Check if the bug is not already reported!
12-
- A clear title to resume the issue
13-
- A description of the workflow needed to reproduce the bug
12+
- Check if the bug is not already reported!
13+
- A clear title to resume the issue
14+
- A description of the workflow needed to reproduce the bug
1415

15-
> [!NOTE]
16-
> Don't hesitate giving as much information as you can.
16+
> [!NOTE] Don't hesitate giving as much information as you can.
1717
1818
## Code of Conduct
1919

20-
By contributing to this project, you agree to abide by our [Code of Conduct](https://github.com/api-platform/docs#contributor-code-of-conduct). We expect all contributors to foster a welcoming and inclusive environment.
20+
By contributing to this project, you agree to abide by our
21+
[Code of Conduct](https://github.com/api-platform/docs#contributor-code-of-conduct).
22+
We expect all contributors to foster a welcoming and inclusive environment.
2123

2224
## How to Contribute
2325

24-
1. Fork this repository by clicking the "Fork" button at the top right of the `api-platform/docs` repository page.
26+
1. Fork this repository by clicking the "Fork" button at the top right of the
27+
`api-platform/docs` repository page.
2528

2629
2. Clone the forked repository to your local machine:
27-
```bash
28-
git clone https://github.com/your-username/repository-name.git
29-
```
30+
```bash
31+
git clone https://github.com/your-username/repository-name.git
32+
```
3033
3. Create a new branch for your contribution:
31-
```bash
32-
git switch -c docs-your-branch-name
33-
```
34+
```bash
35+
git switch -c docs-your-branch-name
36+
```
3437
4. Commit and push your changes
35-
5. Submit a Pull Request. You must decide on what branch your changes will be based depending of the nature of the change.
36-
See [the dedicated documentation entry](https://api-platform.com/docs/extra/releases/).
38+
5. Submit a Pull Request. You must decide on what branch your changes will be
39+
based depending of the nature of the change. See
40+
[the dedicated documentation entry](https://api-platform.com/docs/extra/releases/).
3741

38-
> [!TIP]
39-
> You can also contribute to improving the documentation directly by clicking on the
40-
> **"You can also help us improve the documentation of this page."** link, located at the end of each documentation page.
42+
> [!TIP] You can also contribute to improving the documentation directly by
43+
> clicking on the **"You can also help us improve the documentation of this
44+
> page."** link, located at the end of each documentation page.

admin/authentication-support.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# Authentication Support
22

3-
API Platform Admin delegates the authentication support to React Admin.
4-
Refer to [the chapter dedicated to authentication in the React Admin documentation](https://marmelab.com/react-admin/Authentication.html)
3+
API Platform Admin delegates the authentication support to React Admin. Refer to
4+
[the chapter dedicated to authentication in the React Admin documentation](https://marmelab.com/react-admin/Authentication.html)
55
for more information.
66

7-
In short, you have to tweak the data provider and the API documentation parser like this:
7+
In short, you have to tweak the data provider and the API documentation parser
8+
like this:
89

910
```typescript
1011
// components/admin/Admin.tsx
@@ -97,4 +98,6 @@ const Admin = () => {
9798
export default Admin;
9899
```
99100

100-
For the implementation of the auth provider, you can find a working example in the [API Platform's demo application](https://github.com/api-platform/demo/blob/main/pwa/utils/authProvider.tsx).
101+
For the implementation of the auth provider, you can find a working example in
102+
the
103+
[API Platform's demo application](https://github.com/api-platform/demo/blob/main/pwa/utils/authProvider.tsx).

0 commit comments

Comments
 (0)