Skip to main content

Enable Embed Swagger Content

To be able to embed Swagger OpenAPI in your content, it must first be enabled in your layout.

  1. Select Layout in the top menu.

    Paligo editor. The Layout option in the header menu is highlighted.

    Paligo displays a list of Layouts. The list is empty if there are no custom Layouts in your Paligo instance.

  2. Select the Layout you want to update or Create a Layout.

    Tip

    You can copy the URL of the Layout Editor and paste it into a new tab in your browser. This can be useful if you frequently switch between your Paligo content and the Layout settings.

  3. Select Analytics and other integrations in the sidebar.

    Analytics_and_other_integrations_Layout_small.jpg
  4. Select Enable for Enable embedding Swagger content.

    Enable_embedding_swagger_content.png
  5. Select General in the sidebar.

    Layout_General_HTML5_small.png
  6. Enable or Disable Use a short and flat URL structure for output files depending on where the content will be positioned in the publication structure (table of contents):

    • Enable this option if the content will be at second level or lower.

    • Disable this option if the content will be at top level. Disabled by default.

    Use_a_short_and_flat_URL_structure_for_output_files.jpg

    Note

    Select Disable if the topic will be at top-level. Disabled by default.

  7. Select Save.