File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ const image_regex = /!\[[^\]]*]\(([^)]*)\)/;
4343const reference_definition_regex = / \s * \[ ( [ ^ \] ] * ) ] : ( .+ ) / ;
4444const reference_link_regex = / \[ ( [ ^ \] ] * ) ] \[ ( [ ^ \] ] * ) ] / g;
4545
46- export const wiki_path = "wiki" ;
47- export const wiki_articles_path = "wiki/articles" ;
46+ export const wiki_path = "wiki/wiki " ;
47+ export const wiki_articles_path = "wiki/bot- articles" ;
4848
4949type substitution_fun = ( str : string ) => string ;
5050
@@ -408,7 +408,7 @@ export default class Wiki extends BotComponent {
408408 this . article_aliases . set ( alias , file_path . name ) ;
409409 }
410410 }
411- for await ( const file_path of globIterate ( `${ wiki_path } /src/ **/*.md` , { withFileTypes : true } ) ) {
411+ for await ( const file_path of globIterate ( `${ wiki_path } /**/*.md` , { withFileTypes : true } ) ) {
412412 const file_content = await fs . promises . readFile ( file_path . fullpath ( ) , { encoding : "utf-8" } ) ;
413413 const { data } = matter ( file_content ) ;
414414 if ( data . preview ) {
You can’t perform that action at this time.
0 commit comments