diff --git a/pdf_build_src/process_markdowns.py b/pdf_build_src/process_markdowns.py index 0a6497d101..705daa8b22 100644 --- a/pdf_build_src/process_markdowns.py +++ b/pdf_build_src/process_markdowns.py @@ -684,14 +684,14 @@ def process_macros(duplicated_src_dir_path): # make a copy of the src directory in the current directory copy_src() + # run mkdocs macros embedded in markdown files + process_macros(duplicated_src_dir_path) + # remove mkdocs admonition remove_admonitions( input_folder=duplicated_src_dir_path, output_folder=duplicated_src_dir_path ) - # run mkdocs macros embedded in markdown files - process_macros(duplicated_src_dir_path) - # copy BIDS_logo to images directory of the src_copy directory copy_bids_logo() diff --git a/src/modality-specific-files/genetic-descriptor.md b/src/modality-specific-files/genetic-descriptor.md index d178b2eca9..1c1db3732a 100644 --- a/src/modality-specific-files/genetic-descriptor.md +++ b/src/modality-specific-files/genetic-descriptor.md @@ -33,7 +33,7 @@ keys in the `Genetics` sub-[object][] of `dataset_description.json`: The definitions of these fields can be found in src/schema/objects/metadata.yaml and a guide for using macros can be found at -https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md + https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md --> {{ MACROS___make_subobject_table("metadata.Genetics") }}