fix(dox): config
This commit is contained in:
parent
8ecc254579
commit
5eeca95698
|
@ -7,7 +7,7 @@ const makeFilenameRewriter = (filenameRewriters) => (filename, line, column) =>
|
|||
);
|
||||
|
||||
export const generateHookPage = (hooks, flecks) => {
|
||||
const {filenameRewriters} = flecks.get('@flecks/dox');
|
||||
const {filenameRewriters} = flecks.get('@flecks/dox/server');
|
||||
const rewriteFilename = makeFilenameRewriter(filenameRewriters);
|
||||
const source = [];
|
||||
source.push('# Hooks');
|
||||
|
@ -79,7 +79,7 @@ export const generateHookPage = (hooks, flecks) => {
|
|||
};
|
||||
|
||||
export const generateTodoPage = (todos, flecks) => {
|
||||
const {filenameRewriters} = flecks.get('@flecks/dox');
|
||||
const {filenameRewriters} = flecks.get('@flecks/dox/server');
|
||||
const rewriteFilename = makeFilenameRewriter(filenameRewriters);
|
||||
const source = [];
|
||||
source.push('# TODO');
|
||||
|
|
|
@ -6,7 +6,7 @@ export default {
|
|||
[Hooks]: {
|
||||
'@flecks/core/commands': commands,
|
||||
'@flecks/core/config': () => ({
|
||||
filenameRewriters: [],
|
||||
filenameRewriters: {},
|
||||
}),
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user