diff --git a/editor.mdx b/editor.mdx index bae5ff72d..217a14f1e 100644 --- a/editor.mdx +++ b/editor.mdx @@ -186,6 +186,17 @@ To delete a page, click the kebab menu icon for the file you want to delete. Sel /> +### Duplicate files and folders + +To duplicate a file or folder, click the kebab menu icon for the item you want to duplicate. Select **Duplicate** from the dropdown menu. + +When you duplicate a file or folder: + +- **Files** are duplicated with a `-copied-N` suffix appended to the filename, where `N` is an incrementing number to ensure uniqueness (for example, `quickstart-copied-1.mdx`, `quickstart-copied-2.mdx`). +- **Folders** preserve their structure when all files share a common folder path. If files don't share a common folder, they are created as new individual files with the `-copied-N` suffix. + +The duplicated content includes all the original file's content and is automatically added to your navigation structure. + ### Organize your navigation Edit your `docs.json` file to add new pages and remove deleted pages from your site navigation. See [Navigation](/organize/navigation) for more information on how to organize pages.