Sean Zubrickas
cdd90f91c8
docs: updates image paths to new screenshots ( #13461 )
...
Updates images paths for the following screenshots:
- auth-overview.jpg
- autosave-drafts.jpg
- autosave-v3.jpg
- uploads-overview.jpg
- versions-v3.jpg
2025-08-14 13:15:35 -04:00
Germán Jabloñski
629e74d693
docs: enhance drafts documentation with examples for REST, Local, and GraphQL APIs ( #12575 )
...
An attempt to prevent the #11723 confusion from happening again.
2025-06-05 11:55:12 -03:00
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
Steve Kuznetsov
a8d6f3f543
docs: update draft doc for formatting ( #10393 )
...
I think some automatic formatter added the `{' '}` styling, it doesn't
render correctly. Update the formatting for this banner to remove it and
correctly refer to the `_status` field.
---------
Signed-off-by: Steve Kuznetsov <stekuznetsov@microsoft.com >
2025-01-10 08:14:29 +00:00
James Mikrut
fe010b9373
Update drafts.mdx
2024-12-30 11:26:21 -05:00
James Mikrut
37d1f2d04b
feat: scheduled publish / unpublish ( #10203 )
...
Adds a feature to allow editors to schedule publish / unpublish events
in the future. Must be enabled by setting
`versions.drafts.schedulePublish: true` in your Collection / Global
configs.
https://github.com/user-attachments/assets/ca1d7a8b-946a-4eac-b911-c2177dbe3b1c
Todo:
- [x] Translate new i18n keys
- [x] Wire up locale-specific scheduled publish / unpublish actions
2024-12-27 16:52:18 -05:00
Alessio Gravili
bb0c8a8c62
docs: fix incorrect mdx ( #10201 )
2024-12-27 20:18:31 +00:00
Jacob Fletcher
0e673c6335
docs: improves access control docs ( #7154 )
2024-07-15 15:29:11 -04:00
James Mikrut
effba3e45b
Chore/overview docs ( #6906 )
...
## Description
More progress to docs.
2024-06-24 13:17:50 -04:00
Jacob Fletcher
a20cf70105
docs: removes express
2024-05-13 10:29:59 -04:00
Jarrod Flesch
52c81ad525
feat: adds draft validation option ( #6677 )
...
## Description
Allows draft validation to be enabled at the config level.
You can enable this by:
```ts
// ...collectionConfig
versions: {
drafts: {
validate: true // defaults to false
}
}
```
2024-06-07 15:22:03 -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
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
Elliot DeNolf
1ed867ce0c
docs: update examples with ts types
2022-08-23 11:43:24 -04:00
James
8422d0dfda
Merge branch 'feat/graphql-versions' of github.com:payloadcms/payload into feat/graphql-versions
2022-02-11 14:50:48 -05:00
James
cc4dc59aa9
docs: completes version docs
2022-02-11 11:25:18 -05:00
Dan Ribbens
b159e148db
chore: rename publishVersion to restoreVersion ( #438 )
2022-02-10 16:35:03 -05:00
James
eaa4858580
docs: progress to versions
2022-02-09 13:26:44 -05:00
James
a59b14bd8c
feat: implements versions in globals, adds tests
2022-02-07 17:46:51 -05:00
James
86890a2de4
tests: fixes outdated test
2022-02-07 16:44:56 -05:00
James
c5854afb37
docs: stubs version docs
2022-02-07 16:16:38 -05:00