Custom Layouts
This article introduces you how to customize the layout settings of online API documentation.
Page layout settings allow users to customize the Docs Sites
, including adding navigation functions, a document bottom banner, login and registration buttons, and other convenient entry points.
1. Top Navigation
Provides custom navigation menu editing and supports three types of navigation:
Specified API Group: Supports selecting all APIs
A Specific API Group Custom Link: Supports a custom text
Links Multi-level Menu: Supports defining a two-level menu
Button Component
The top navigation right-side function currently supports adding button
,icon
,link
components.
2. Left Side Catalog Style Module
To use the Left Side Catalog Style Module
, the Top Navigation Module
must be turned off.
Fully expanded effects:
Collapsed primary directory effect:
3. Top Bulletin
You can add text to enhance user experience and provide useful information like updates,tips,status etc by adding item to the Top Bulletin
.
4. Content Footer
Currently,only Footer Image
component is supported, which is used for providing visual information at the bottom of the document to help with business promotion,contextual information etc.