Alessio Gravili
9f9db3ff81
chore: bump prettier, re-enable prettier for docs ( #11695 )
...
## Introducing Prettier for docs
Prettier [was originally disabled for our docs as it didn't support MDX
2.0](1fa636417f ),
outputting invalid MDX syntax.
This has since been fixed - prettier now supports MDX 2.0.
## Reducing print width
This also reduces the print width for the docs folder from 100 to 70.
Our docs code field are very narrow - this should help make code more
readable.
**Before**

**After**

**Before**

**After**

2025-03-14 17:13:08 +00:00
Jacob Fletcher
0ca37364ea
docs: moves customizing fields doc to fields overview ( #10742 )
...
Continuation of #10741 . Field-level admin options, including the
conditional logic and custom field components, are currently documented
within the "admin > customizing views" page. This makes them hard to
find because users, myself included, intuitively navigate to the fields
overview doc first to locate this information. Now, they are rendered
within "fields > overview" as expected. This should help keep the user
from jumping around from doc to doc and getting lost.
2025-01-22 23:58:05 -05:00
Alessio Gravili
5b4730d13c
docs: fix incorrect escaping of * ( #10274 )
2024-12-30 17:02:13 -07:00
Sasha
197e3bc010
docs: corrects old imports ( #8769 )
...
1
`import type { Field } from 'payload/types'`
to
`import type { Field } from 'payload'`
2
`import { buildConfig } from 'payload/config'`
to
`import { buildConfig } from 'payload'`
3
```
import { SelectInput, useField } from 'payload/components/forms';
import { useAuth } from 'payload/components/utilities';
```
to
`import { SelectInput, useAuth, useField } from '@payloadcms/ui'`
4
uses `import type` for `import type { CollectionConfig } from 'payload'`
2024-10-18 10:47:47 +03:00
Jacob Fletcher
b6d4bc4d37
docs: cleanup to individual field docs ( #7202 )
2024-07-22 23:46:06 -04:00
Jacob Fletcher
e9adeecc7a
docs: more misc improvements ( #7115 )
2024-07-11 14:55:13 -04:00
Jacob Fletcher
a1bb661a1a
docs: misc improvements ( #7107 )
2024-07-11 09:54:21 -04:00
Jacob Fletcher
5a76d6db8b
docs: improves configuration docs ( #7090 )
2024-07-09 18:10:04 -04:00
Jacob Fletcher
a20cf70105
docs: removes express
2024-05-13 10:29:59 -04:00
Alessio Gravili
19f8cbcf76
docs: new and improve lexical docs, hoist up all headings ( #6639 )
2024-06-05 17:08:15 -04:00
Alessio Gravili
ae7d6f97d2
chore: formatting and linting ( #3261 )
...
* chore: lint packages/payload
* chore: lint packages/db-postgres
* chore: lint packages/db-mongodb
* chore: update eslintrc exclusion rules
* chore: update eslintrc exclusion rules
* chore: lint misc files
* chore: run prettier through packages
* chore: run eslint on payload again
* chore: prettier misc files
* chore: prettier docs
2023-09-01 17:39:44 +02:00
Jessica Chowdhury
8ae98503f5
docs: adds images to each field page ( #3137 )
2023-08-08 10:00:21 -04:00
Harrison-Blair
13179a9498
chore: misc documentation updates ( #2589 )
...
* chore: ensures example configs are being exported when necessary
* chore: adds note regarding updating of hidden fields
---------
Co-authored-by: Jessica Boezwinkle <jessica@trbl.design >
2023-05-01 16:28:13 -04:00
Teun Mooij
023719d775
feat: configuration extension points
...
* added custom config extension points
* Added custom field to documentation
* fix deeprequired issue
2023-04-18 15:28:42 -04:00
Elliot DeNolf
1ed867ce0c
docs: update examples with ts types
2022-08-23 11:43:24 -04:00
James
beec04a1bc
docs: collapsible
2022-07-13 15:40:59 -07:00
Dan Ribbens
29a1108518
feat: add descriptions to every allowed field type, globals and collections
2021-07-27 12:53:43 -04:00
Jessica Boezwinkle
1ed189cfb9
fix: reverts ESLint syntax changes to mdx files
2021-02-04 11:36:09 -05:00
Jessica Boezwinkle
da61feb73b
feat: adds meta descriptions to docs
2021-02-04 11:04:18 -05:00
Elliot DeNolf
0575ab8125
docs: add desc and keywords
2021-01-09 10:32:22 -05:00
James
04c24c5dc1
docs: fixes broken links
2021-01-07 20:05:32 -05:00
James
2b37bfd93e
docs: lowercases dir names
2021-01-06 08:37:29 -05:00