mirror of
https://github.com/tauri-apps/rustdocusaurus.git
synced 2026-02-04 02:31:18 +01:00
20 lines
297 B
JavaScript
20 lines
297 B
JavaScript
// Will also define the order in the sidebar
|
|
const itemsReference = {
|
|
module: {},
|
|
enum: [],
|
|
fn: [],
|
|
struct: [],
|
|
trait: [],
|
|
type: [],
|
|
macro: [],
|
|
constant: [],
|
|
attr: []
|
|
};
|
|
|
|
const clone = (item) => JSON.parse(JSON.stringify(item));
|
|
|
|
module.exports = {
|
|
itemsReference,
|
|
clone,
|
|
};
|