diff --git a/editor/keyboard-shortcuts.mdx b/editor/keyboard-shortcuts.mdx index 4d05cb5ff..1fc067d50 100644 --- a/editor/keyboard-shortcuts.mdx +++ b/editor/keyboard-shortcuts.mdx @@ -15,7 +15,7 @@ These shortcuts work regardless of which mode you're in. | **Search files and content** | Cmd + K | Ctrl + K | | **Toggle AI assistant** (when not editing text) | Cmd + I | Ctrl + I | | **Switch between visual and source mode** | Cmd + Shift + S | Ctrl + Shift + S | -| **Show all files** (including dotfiles and non-content files) | Cmd + Shift + . | Ctrl + Shift + . | +| **Show all files** (including images, spec files, code, and dotfiles) | Cmd + Shift + . | Ctrl + Shift + . | ## Visual mode diff --git a/editor/pages.mdx b/editor/pages.mdx index 0f74d15b6..5d718abb6 100644 --- a/editor/pages.mdx +++ b/editor/pages.mdx @@ -14,7 +14,7 @@ The editor workspace is split into two tabs: **Home** and **Publishing**. **Publishing** is your published site. It shows the navigation your visitors see, along with your site settings. {/* vale Mintlify.OxfordComma = NO */} -Home hides some files by default, including `docs.json`, files and folders whose names start with a dot, files with no extension, all-caps Markdown files like `README.md`, and `.css`, `.js`, `.jsx`, `.mjs`, `.cjs`, and `.pdf` files. To see all files, turn on [Show all files](/editor/settings) or press Cmd + Shift + . (macOS) or Ctrl + Shift + . (Windows). +Home lists only Markdown pages (`.md` and `.mdx` files) in the sidebar by default. Everything else is hidden, including images, videos, PDFs, code, spec and data files like `openapi.yaml`, `docs.json`, dotfiles, and all-caps Markdown files like `README.md`. To see all files, turn on [Show all files](/editor/settings) or press Cmd + Shift + . (macOS) or Ctrl + Shift + . (Windows). {/* vale Mintlify.OxfordComma = YES */} ## Create a page @@ -23,7 +23,7 @@ To add a page to your navigation, click the plus button on ## Add media -Type /image or /video to upload a file or pick one already in your repository. You can also drag files from your computer onto the page. To reuse media, drag an image or video from the navigation tree onto a page. +Type /image or /video to upload a file or pick one already in your repository. You can also drag files from your computer onto the page. To reuse media, pick an existing file from the /image or /video picker, or turn on [Show all files](/editor/settings) and drag an image or video from the sidebar onto a page. - Uploads save to your `images/` and `videos/` folders and commit with your next publish. - Supported formats are PNG, JPG, JPEG, GIF, WebP, SVG, MP4, and WebM. diff --git a/editor/settings.mdx b/editor/settings.mdx index 9fb40a9dd..2228436aa 100644 --- a/editor/settings.mdx +++ b/editor/settings.mdx @@ -19,7 +19,7 @@ Appearance settings are personal preferences. They change the editor only for yo - **Fit editor to full width**: Stretch the editing canvas edge-to-edge instead of the default 768px column. - **Show breadcrumbs**: Show the page's location in the site navigation above the editing canvas. - **Open live preview in new tab**: Open the rendered page in a new browser tab when you preview, instead of the split-pane preview. -- **Show all files**: Show every file in the sidebar, including dotfiles, code, PDFs, and other files hidden by default. You can also press Cmd + Shift + . (macOS) or Ctrl + Shift + . (Windows) to toggle. +- **Show all files**: The sidebar lists Markdown pages by default. Turn this on to also show images, videos, spec and data files, code, PDFs, and dotfiles. You can also press Cmd + Shift + . (macOS) or Ctrl + Shift + . (Windows) to toggle. ## PR instructions diff --git a/es/editor/keyboard-shortcuts.mdx b/es/editor/keyboard-shortcuts.mdx index 21b1e6586..78e7f67ed 100644 --- a/es/editor/keyboard-shortcuts.mdx +++ b/es/editor/keyboard-shortcuts.mdx @@ -19,7 +19,7 @@ Estos atajos funcionan sea cual sea el modo en el que esté. | **Buscar archivos y contenido** | Cmd + K | Ctrl + K | | **Mostrar u ocultar el asistente de IA** (cuando no está editando texto) | Cmd + I | Ctrl + I | | **Cambiar entre el modo visual y el modo source** | Cmd + Shift + S | Ctrl + Shift + S | -| **Mostrar todos los archivos** (incluidos los dotfiles y los archivos que no son de contenido) | Cmd + Shift + . | Ctrl + Shift + . | +| **Mostrar todos los archivos** (incluidas las imágenes, los archivos de especificación, el código y los dotfiles) | Cmd + Shift + . | Ctrl + Shift + . |
diff --git a/es/editor/pages.mdx b/es/editor/pages.mdx index a202244d2..37e2a6d7d 100644 --- a/es/editor/pages.mdx +++ b/es/editor/pages.mdx @@ -17,7 +17,7 @@ El espacio de trabajo del editor se divide en dos pestañas: **Home** y **Publis **Publishing** es su sitio publicado. Muestra la navegación que ven sus visitantes, junto con la configuración de su sitio. -Home oculta algunos archivos de forma predeterminada, entre ellos `docs.json`, los archivos y carpetas cuyo nombre empieza por un punto, los archivos sin extensión, los archivos Markdown en mayúsculas como `README.md` y los archivos `.css`, `.js`, `.jsx`, `.mjs`, `.cjs` y `.pdf`. Para ver todos los archivos, active [Show all files](/es/editor/settings#appearance) o presione Cmd + Shift + . (macOS) o Ctrl + Shift + . (Windows). +Home muestra de forma predeterminada solo las páginas Markdown (archivos `.md` y `.mdx`) en la barra lateral. Todo lo demás está oculto, incluidas las imágenes, los vídeos, los PDF, el código, los archivos de especificación y de datos como `openapi.yaml`, `docs.json`, los dotfiles y los archivos Markdown en mayúsculas como `README.md`. Para ver todos los archivos, active [Show all files](/es/editor/settings#appearance) o presione Cmd + Shift + . (macOS) o Ctrl + Shift + . (Windows).
@@ -33,7 +33,7 @@ Para añadir una página a su navegación, haga clic en el botón diff --git a/fr/editor/keyboard-shortcuts.mdx b/fr/editor/keyboard-shortcuts.mdx index d2d411214..b8a833bfd 100644 --- a/fr/editor/keyboard-shortcuts.mdx +++ b/fr/editor/keyboard-shortcuts.mdx @@ -19,7 +19,7 @@ Ces raccourcis fonctionnent quel que soit le mode dans lequel vous vous trouvez. | **Rechercher des fichiers et du contenu** | Cmd + K | Ctrl + K | | **Afficher ou masquer l'assistant d'IA** (hors saisie de texte) | Cmd + I | Ctrl + I | | **Basculer entre le mode visuel et le mode source** | Cmd + Shift + S | Ctrl + Shift + S | -| **Afficher tous les fichiers** (y compris les dotfiles et les fichiers hors contenu) | Cmd + Shift + . | Ctrl + Shift + . | +| **Afficher tous les fichiers** (y compris les images, les fichiers de spécification, le code et les dotfiles) | Cmd + Shift + . | Ctrl + Shift + . |
diff --git a/fr/editor/pages.mdx b/fr/editor/pages.mdx index 688089b75..fd488032b 100644 --- a/fr/editor/pages.mdx +++ b/fr/editor/pages.mdx @@ -17,7 +17,7 @@ L'espace de travail de l'éditeur est divisé en deux onglets : **Home** et **Pu **Publishing** est votre site publié. Il affiche la navigation que voient vos visiteurs, ainsi que les paramètres de votre site. -Home masque certains fichiers par défaut, notamment `docs.json`, les fichiers et dossiers dont le nom commence par un point, les fichiers sans extension, les fichiers Markdown en majuscules comme `README.md`, ainsi que les fichiers `.css`, `.js`, `.jsx`, `.mjs`, `.cjs` et `.pdf`. Pour afficher tous les fichiers, activez [Show all files](/fr/editor/settings#appearance) ou appuyez sur Cmd + Shift + . (macOS) ou Ctrl + Shift + . (Windows). +Home affiche par défaut uniquement les pages Markdown (fichiers `.md` et `.mdx`) dans la barre latérale. Tout le reste est masqué, y compris les images, les vidéos, les PDF, le code, les fichiers de spécification et de données comme `openapi.yaml`, `docs.json`, les dotfiles et les fichiers Markdown en majuscules comme `README.md`. Pour afficher tous les fichiers, activez [Show all files](/fr/editor/settings#appearance) ou appuyez sur Cmd + Shift + . (macOS) ou Ctrl + Shift + . (Windows).
@@ -33,7 +33,7 @@ Pour ajouter une page à votre navigation, cliquez sur le bouton diff --git a/zh/editor/keyboard-shortcuts.mdx b/zh/editor/keyboard-shortcuts.mdx index ca6037d12..869d485f2 100644 --- a/zh/editor/keyboard-shortcuts.mdx +++ b/zh/editor/keyboard-shortcuts.mdx @@ -19,7 +19,7 @@ keywords: ["editor", "keys", "keyboard", "shortcuts"] | **搜索文件和内容** | Cmd + K | Ctrl + K | | **显示或隐藏 AI 助手**(未在编辑文本时) | Cmd + I | Ctrl + I | | **在可视化模式与 source 模式之间切换** | Cmd + Shift + S | Ctrl + Shift + S | -| **显示全部文件**(包括 dotfile 和非内容文件) | Cmd + Shift + . | Ctrl + Shift + . | +| **显示全部文件**(包括图片、规范文件、代码和 dotfile) | Cmd + Shift + . | Ctrl + Shift + . |
diff --git a/zh/editor/pages.mdx b/zh/editor/pages.mdx index 4eeaa3664..0cce5da66 100644 --- a/zh/editor/pages.mdx +++ b/zh/editor/pages.mdx @@ -17,7 +17,7 @@ keywords: ["editor", "content", "pages", "navigation", "version history", "media **Publishing** 是你已发布的站点,显示访问者看到的导航以及站点设置。 -Home 默认会隐藏部分文件,包括 `docs.json`、名称以点开头的文件和文件夹、没有扩展名的文件、像 `README.md` 这样的全大写 Markdown 文件,以及 `.css`、`.js`、`.jsx`、`.mjs`、`.cjs` 和 `.pdf` 文件。若要查看全部文件,请启用 [Show all files](/zh/editor/settings#appearance),或按 Cmd + Shift + .(macOS)或 Ctrl + Shift + .(Windows)。 +Home 默认只在侧边栏中列出 Markdown 页面(`.md` 和 `.mdx` 文件)。其他文件均被隐藏,包括图片、视频、PDF、代码、`openapi.yaml` 等规范和数据文件、`docs.json`、dotfile,以及像 `README.md` 这样的全大写 Markdown 文件。若要查看全部文件,请启用 [Show all files](/zh/editor/settings#appearance),或按 Cmd + Shift + .(macOS)或 Ctrl + Shift + .(Windows)。
@@ -33,7 +33,7 @@ Home 默认会隐藏部分文件,包括 `docs.json`、名称以点开头的文
-输入 /image/video 上传文件,或选择仓库中已有的文件。你也可以把文件从电脑拖放到页面上。若要复用媒体,请把图片或视频从导航树拖到页面上。 +输入 /image/video 上传文件,或选择仓库中已有的文件。你也可以把文件从电脑拖放到页面上。若要复用媒体,请在 /image/video 选择器中选取已有文件,或启用 [Show all files](/zh/editor/settings#appearance),然后把图片或视频从侧边栏拖到页面上。 - 上传的文件会保存到 `images/` 和 `videos/` 文件夹,并随下次发布一起提交。 - 支持的格式为 PNG、JPG、JPEG、GIF、WebP、SVG、MP4 和 WebM。 diff --git a/zh/editor/settings.mdx b/zh/editor/settings.mdx index 2d8e34564..334d11461 100644 --- a/zh/editor/settings.mdx +++ b/zh/editor/settings.mdx @@ -23,7 +23,7 @@ keywords: ["editor", "settings", "ai", "instructions", "publishing", "pull reque - **Fit editor to full width**:让编辑区域横向铺满,而不使用默认的 768px 栏宽。 - **Show breadcrumbs**:在编辑区域上方显示该页面在站点导航中的位置。 - **Open live preview in new tab**:预览时在新的浏览器标签页中打开渲染后的页面,而不使用分栏预览。 -- **Show all files**:在侧边栏中显示全部文件,包括 dotfile、代码、PDF,以及其他默认隐藏的文件。你也可以按 Cmd + Shift + .(macOS)或 Ctrl + Shift + .(Windows)进行切换。 +- **Show all files**:侧边栏默认只列出 Markdown 页面。启用此选项可同时显示图片、视频、规范和数据文件、代码、PDF 以及 dotfile。你也可以按 Cmd + Shift + .(macOS)或 Ctrl + Shift + .(Windows)进行切换。