You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TODO: Some files are in wrong directories, e.g. `/academy/actor-marketing-playbook.html` and `/academy/get_most_of_actors/actor-marketing-playbook.md`
27
+
28
+
/**
29
+
* Recursively copies Markdown (.md) files from the source directory to the destination directory,
30
+
* transforming filenames as needed:
31
+
* - If a custom `slug` is present in the file's frontmatter, the output filename is based on the slug.
32
+
* - Otherwise, underscores in the filename are replaced with dashes.
33
+
*
34
+
* This makes Markdown files accessible from the website in the same location as their corresponding HTML files.
35
+
*
36
+
* @param {string} srcDir - The source directory to copy from.
37
+
* @param {string} destDir - The destination directory to copy to.
0 commit comments