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
Cody Stallings
c31bff7e57
docs: fixes misc grammar and spelling errors ( #10996 )
...
Fixed various spelling/grammatical errors found when reading the docs.
2025-02-11 18:37:23 +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
863abc0e6b
feat(next): root admin ( #7276 )
2024-07-23 13:44:44 -04: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
Jarrod Flesch
8d827933f3
docs: updates docs to reflect new API
2022-11-16 13:35:00 -05:00
Jarrod Flesch
2bf0fffa0d
feat: adds docs example
2022-11-15 12:37:47 -05:00
Dan Ribbens
834f4ebd38
feat/add support for setting collapsable fields (array, block, collapsable… ( #1057 )
...
Co-authored-by: liorix <liorix@gmail.com >
Co-authored-by: Elliot DeNolf <denolfe@gmail.com >
2022-09-12 10:39:49 -07: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