Skip to content

Commit

Permalink
docs: fix Skeb route examples and description (#17156)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsuyumi25 authored Oct 16, 2024
1 parent 9e75604 commit 7ba90ff
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/routes/skeb/following-creators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { getFollowingsItems } from './utils';
export const route: Route = {
path: '/following_creators/:username',
categories: ['picture'],
example: '/following_creators/@brm2_1925',
example: '/skeb/following_creators/@brm2_1925',
parameters: { username: 'Skeb Username with @' },
features: {
requireConfig: [
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/skeb/following-works.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { getFollowingsItems } from './utils';
export const route: Route = {
path: '/following_works/:username',
categories: ['picture'],
example: '/following_works/@brm2_1925',
example: '/skeb/following_works/@brm2_1925',
parameters: { username: 'Skeb Username with @' },
features: {
requireConfig: [
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/skeb/friend-works.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { getFollowingsItems } from './utils';
export const route: Route = {
path: '/friend_works/:username',
categories: ['picture'],
example: '/friend_works/@brm2_1925',
example: '/skeb/friend_works/@brm2_1925',
parameters: { username: 'Skeb Username with @' },
features: {
requireConfig: [
Expand Down
4 changes: 2 additions & 2 deletions lib/routes/skeb/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ const workCategories = new Set(['new_art_works', 'new_voice_works', 'new_novel_w
export const route: Route = {
path: '/:category',
categories: ['picture'],
example: '/new_art_works',
parameters: { category: 'Category, the div id of the section title on the homepage. Default is new_art_works' },
example: '/skeb/new_art_works',
parameters: { category: 'Category, the div id of the section title on the homepage.' },
features: {
requireConfig: false,
requirePuppeteer: false,
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/skeb/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import InvalidParameterError from '@/errors/types/invalid-parameter';
export const route: Route = {
path: '/search/:keyword',
categories: ['picture'],
example: '/search/初音ミク',
example: '/skeb/search/初音ミク',
parameters: { keyword: 'Search keyword' },
features: {
requireConfig: false,
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/skeb/works.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import ofetch from '@/utils/ofetch';
export const route: Route = {
path: '/works/:username',
categories: ['picture'],
example: '/works/@brm2_1925',
example: '/skeb/works/@brm2_1925',
parameters: { username: 'Skeb Username with @' },
features: {
requireConfig: [
Expand Down

0 comments on commit 7ba90ff

Please sign in to comment.