在发布中包含内容
¥Including content in a release
GrowthThis feature is available with a Growth plan. EnterpriseThis feature is available with an Enterprise plan. TeamThis feature is available with a Strapi Cloud Team plan.使用 发布 功能,你可以将多个条目分组以将它们一起发布。向版本添加条目是通过内容管理器完成的。你还可以在更新条目时从版本中删除条目。
¥Using the Releases feature, you can group several entries to publish them altogether. Adding entries to a release is done from the Content Manager. You can also remove an entry from a release while updating the entry.
-
在将条目添加到版本之前,你必须从 发布 页面创建版本。
¥Before entries can be added to a release, you must create a release from the Releases page.
-
将内容添加到版本需要 Content-Releases 插件的适当权限(请参阅 配置管理员角色)。
¥Adding content to a release requires the appropriate permissions for the Content-Releases plugin (see configuring administrator roles).
向一个版本添加多个条目
¥Adding multiple entries to a release
可以从内容管理器的列表视图将多个条目添加到 release。
¥Multiple entries can be added to a release from the list view of the Content Manager.
要将条目添加到版本:
¥To add entries to a release:
-
从内容管理器的列表视图中,通过勾选条目记录左侧的框来选择要添加的条目。
¥From the list view of the Content Manager, select which entries you want to add by ticking the box on the left side of the entries' record.
-
单击表标题上方的“添加到版本”按钮。
¥Click on the Add to release button located above the header of the table.
-
在模式中,选择要将这些条目添加到哪个版本。
¥In the modal, select which release to add these entries to.
-
单击“发布”或“取消发布”按钮来决定在发布版本时是否发布或取消发布这些条目,然后单击“继续”。
¥Click on the Publish or Unpublish button to decide whether these entries will be published or unpublished when the release is published, then click Continue.
向发布添加条目
¥Adding an entry to a release
在从内容管理器的编辑视图中编辑条目时,可以将条目添加到 release。
¥An entry can be added to a release while editing it from the edit view of the Content Manager.
要将条目添加到版本:
¥To add an entry to a release:
-
单击界面右侧输入区域中的 。
¥Click on in the Entry area on the right side of the interface.
-
在列表中,单击 添加到发布按钮。
¥In the list, click on the Add to release button.
-
选择要将此条目添加到哪个版本。
¥Select which release to add this entry to.
-
单击“发布”或“取消发布”按钮,具体取决于你希望在发布版本本身时发布还是取消发布条目,然后单击“继续”。
¥Click on the Publish or Unpublish button depending on whether you want the entry to be published or unpublished when the release itself is published, then click Continue.
右侧的发布框应显示条目包含在哪个版本中。
¥The Releases box on the right should show which release(s) the entry is included in.
如果启用 发布安排 并将条目添加到计划发布中,则还将显示发布日期和时间。
¥If Releases scheduling is enabled and the entry is added to a scheduled release, the release date and time will also be displayed.
从版本中删除条目
¥Removing an entry from a release
在内容管理器的编辑视图中编辑条目时,可以从 release 中删除条目。
¥An entry can be removed from a release while editing it from the edit view of the Content Manager.
要从版本中删除条目:
¥To remove an entry from a release:
-
在右侧边栏的“发布”框中,单击发布名称下方的。
¥In the Releases box in the right sidebar, click on below the name of the release.
-
点击从发布中删除按钮。
¥Click the Remove from release button.