Skip to content

Commit 259582d

Browse files
committed
fix: remove stale featured user sidebar links
1 parent 1f628ec commit 259582d

1 file changed

Lines changed: 2 additions & 21 deletions

File tree

‎sidebars.js‎

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -189,27 +189,9 @@ const ensureDocsInCategory = (items, categoryLabel, docsToEnsure, afterDocId) =>
189189
];
190190
};
191191

192-
const extendUserRelatedApisSidebarItems = (items, baseDocIdPrefix) => {
193-
const withUsersEndpoints = insertDocsIntoCategory(
192+
const extendUserRelatedApisSidebarItems = (items, baseDocIdPrefix) =>
193+
insertDocsIntoCategory(
194194
items,
195-
"Users",
196-
[
197-
makeApiDocSidebarItem(
198-
`${baseDocIdPrefix}/users-controller-get-featured-users`,
199-
"Get featured users for follow recommendation",
200-
"api-method get",
201-
),
202-
makeApiDocSidebarItem(
203-
`${baseDocIdPrefix}/users-controller-follow-featured-users`,
204-
"Follow all featured users",
205-
"api-method post",
206-
),
207-
],
208-
`${baseDocIdPrefix}/users-controller-search`,
209-
);
210-
211-
return insertDocsIntoCategory(
212-
withUsersEndpoints,
213195
"Posts",
214196
[
215197
makeApiDocSidebarItem(
@@ -220,7 +202,6 @@ const extendUserRelatedApisSidebarItems = (items, baseDocIdPrefix) => {
220202
],
221203
`${baseDocIdPrefix}/posts-controller-find-one`,
222204
);
223-
};
224205

225206
const extendContentApisSidebarItems = (items, baseDocIdPrefix) =>
226207
ensureDocsInCategory(

0 commit comments

Comments
 (0)