docs: fix Skeb route examples and description (#17156)
This commit is contained in:
parent
9e7560405e
commit
7ba90ff183
|
|
@ -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: [
|
||||
|
|
|
|||
|
|
@ -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: [
|
||||
|
|
|
|||
|
|
@ -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: [
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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: [
|
||||
|
|
|
|||
Loading…
Reference in New Issue