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> {
297297 let types = self . ladfile . types . keys ( ) . collect :: < Vec < _ > > ( ) ;
298298 vec ! [ SectionItem :: TypesSummary {
299299 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( ) ,
305301 ladfile: self . ladfile,
306302 } ]
307303 }
@@ -540,7 +536,7 @@ impl IntoMarkdown for SectionItem<'_> {
540536 link_builder. link (
541537 Markdown :: new_paragraph ( printed_type_pretty) . code ( ) ,
542538 format ! (
543- "/{types_directory}/{}.md" ,
539+ ". /{types_directory}/{}.md" ,
544540 linkify_filename( printed_type_for_url)
545541 ) ,
546542 ) ;
You can’t perform that action at this time.
0 commit comments