mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-06 22:15:23 +02:00
not module
This commit is contained in:
parent
5177227d1c
commit
bcfef10df4
2 changed files with 2 additions and 2 deletions
|
@ -41,12 +41,12 @@ export default class Page {
|
|||
* @return {Promise<TableOfContent>}
|
||||
*/
|
||||
async createTableOfContent() {
|
||||
const { default: TableOfContent } = await import(/* webpackChunkName: "table-of-content" */ './table-of-content');
|
||||
const { default: TableOfContent } = await import(/* webpackChunkName: "table-of-content" */ '../classes/table-of-content');
|
||||
|
||||
return new TableOfContent({
|
||||
tagSelector:
|
||||
'h2.block-header--anchor,' +
|
||||
'h3.block-header--anchor,' +
|
||||
'h3.block-header--anchor,' +
|
||||
'h4.block-header--anchor',
|
||||
tocWrapperSelector: '#layout-sidebar-right',
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue