mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-07-03 14:10:32 +00:00
openapi: replace implementation with swagger-ui #523
This commit is contained in:
parent
aca602724d
commit
06d35bbbdb
44 changed files with 4071 additions and 4199 deletions
static/js
|
@ -76,7 +76,7 @@ var variants = {
|
|||
if( this.isVariantLoaded() ){
|
||||
clearInterval( interval_id );
|
||||
initMermaid( true );
|
||||
initSwagger( true );
|
||||
initOpenapi( true );
|
||||
}
|
||||
}.bind( this ), 25 );
|
||||
// remove selection, because if some uses an arrow navigation"
|
||||
|
@ -577,7 +577,8 @@ var variants = {
|
|||
|
||||
{ name: 'BROWSER-theme', group: '3rd party', default: 'light', tooltip: 'name of the theme for browser scrollbars of the main section', },
|
||||
{ name: 'MERMAID-theme', group: '3rd party', default: 'default', tooltip: 'name of the default Mermaid theme for this variant, can be overridden in config.toml', },
|
||||
{ name: 'SWAGGER-theme', group: '3rd party', default: 'light', tooltip: 'name of the default Swagger theme for this variant, can be overridden in config.toml', },
|
||||
{ name: 'OPENAPI-theme', group: '3rd party', default: 'light', tooltip: 'name of the default OpenAPI theme for this variant, can be overridden in config.toml', },
|
||||
{ name: 'OPENAPI-CODE-theme', group: '3rd party', default: 'obsidian', tooltip: 'name of the default OpenAPI coee theme for this variant, can be overridden in config.toml', },
|
||||
|
||||
{ name: 'MENU-HEADER-BG-color', group: 'header', fallback: 'PRIMARY-color', tooltip: 'background color of menu header', },
|
||||
{ name: 'MENU-HEADER-BORDER-color', group: 'header', fallback: 'MENU-HEADER-BG-color', tooltip: 'separator color of menu header', },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue