Full Width Swagger UI When using Material for MkDocs you can hide the sidebar to get full width Swagger UI in page. Markdown --- hide: - navigation - toc --- <swagger-ui src="https://petstore.swagger.io/v2/swagger.json"/> Swagger UI