mirror of
https://gitee.com/yansongda/pay.git
synced 2024-12-02 20:27:45 +08:00
16 lines
314 B
TypeScript
16 lines
314 B
TypeScript
// @ts-ignore
|
|
import path from 'path'
|
|
import versions from "./versions";
|
|
|
|
let sidebars = versions.reduce(
|
|
(sidebars, version) => ({
|
|
...sidebars,
|
|
[`/docs/${version}/`]: require(path.join(
|
|
__dirname, `../docs/${version}/sidebar`
|
|
))
|
|
}),
|
|
{}
|
|
);
|
|
|
|
export default sidebars;
|