Skip to content

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Mar 23, 2023
1 parent f1e1e35 commit 18a7316
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions v2/HOW_TO_NEW_DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
- If creating a new recipe, to add the recipe label in the nav bar and guides page:
- edit src/components/recipeBoxes/guides.json
- edit src/theme/NavbarItem/recipeSelector.js
- add to the switch-case of `label` function
- add to the html components
- If the new doc needs to be linked with older versions of the docs, then add it to the `LINK_TO_OLDER_VERSIONS` in `src/theme/NavbarItem/index.js`
- If creating a new backend SDK, then make sure to also change the website dashboard code snippets.

Expand Down
4 changes: 3 additions & 1 deletion v2/src/theme/NavbarItem/recipeSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ export default function RecipeSelector(props) {
return "Microservice Auth";
case "userdashboard":
return "User Management Dashboard";
case "multitenancy":
return "Multi Tenancy";
default:
return "Select Recipe";
}
Expand Down Expand Up @@ -154,7 +156,7 @@ export default function RecipeSelector(props) {
</li>
<li
className={clsx("recipe_selector__menu__add_ons_items", {
active: activeSelector("microservice_auth"),
active: activeSelector("multitenancy"),
})}
>
<a href="/docs/multitenancy/introduction">Multitenancy</a>
Expand Down

0 comments on commit 18a7316

Please sign in to comment.