From da447979d3e48b3d8ac4a8edd7d4f8a86f4ec9b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Corr=C3=AAa=20de=20Oliveira?= Date: Sun, 29 Oct 2023 01:44:03 +0100 Subject: [PATCH] Fix docs builder --- tools/make-docs.raku | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/make-docs.raku b/tools/make-docs.raku index 852c66de..968d93bc 100644 --- a/tools/make-docs.raku +++ b/tools/make-docs.raku @@ -9,7 +9,7 @@ sub MAIN (:$filename, :$output = 'API.md') { !! find dir => 'lib', - name => /'.pm6' $/; + name => /'.rakumod' $/; my ($docsDir, $apiDocsDir) = ($*CWD, ''); unless $docsDir.add('lib').e { @@ -27,7 +27,7 @@ sub MAIN (:$filename, :$output = 'API.md') { for $*SPEC.splitdir( .relative ).skip(1) { $newFile .= add($_); - $newFile.mkdir unless $newFile.Str.ends-with('.pm6'); + $newFile.mkdir unless $newFile.Str.ends-with('.rakumod'); } print "Processing { $newFile }...";