docs: fix Skeb route examples and description (#17156)

This commit is contained in:
Tsuyumi 2024-10-16 21:30:23 +08:00 committed by GitHub
parent 9e7560405e
commit 7ba90ff183
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 7 additions and 7 deletions

View File

@ -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: [

View File

@ -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: [

View File

@ -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: [

View File

@ -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,

View File

@ -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,

View File

@ -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: [