Skip to content

Commit 550717f

Browse files
authored
Merge pull request #4 from wwerner/feat/layout-updates
feat: Add HTTP verb to navigation
2 parents d98d739 + 6dfc2be commit 550717f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

javascripts/discourse/api-initializers/discourse-rapidoc-theme-component.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,9 @@ async function applyRapidoc(element) {
4545
allow-api-list-style-selection="false"
4646
allow-spec-file-download="true"
4747
allow-authentication="true"
48-
show-method-in-nav-bar="true"
48+
show-method-in-nav-bar="as-colored-text"
4949
theme="${theme === "dark" ? "dark" : "light"}"
5050
nav-bg-color="${theme === "dark" ? "#323334" : "#ebeced"}"
51-
show-method-in-nav-bar="as-colored-text"
5251
>
5352
</rapi-doc>
5453
<br/>

0 commit comments

Comments
 (0)