File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
crates/lad_backends/mdbook_lad_preprocessor/src Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -297,11 +297,7 @@ impl<'a> Section<'a> {
297
297
let types = self . ladfile . types . keys ( ) . collect :: < Vec < _ > > ( ) ;
298
298
vec ! [ SectionItem :: TypesSummary {
299
299
types,
300
- types_directory: self
301
- . parent_path
302
- . join( linkify_filename( self . title( ) ) )
303
- . to_string_lossy( )
304
- . to_string( ) ,
300
+ types_directory: PathBuf :: from( "./types" ) . to_string_lossy( ) . to_string( ) ,
305
301
ladfile: self . ladfile,
306
302
} ]
307
303
}
@@ -540,7 +536,7 @@ impl IntoMarkdown for SectionItem<'_> {
540
536
link_builder. link (
541
537
Markdown :: new_paragraph ( printed_type_pretty) . code ( ) ,
542
538
format ! (
543
- "/{types_directory}/{}.md" ,
539
+ ". /{types_directory}/{}.md" ,
544
540
linkify_filename( printed_type_for_url)
545
541
) ,
546
542
) ;
You can’t perform that action at this time.
0 commit comments