5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
11 lines
379 B
Diff
11 lines
379 B
Diff
--- a/src/create_gtk_docset.cr 2023-07-17 14:28:04.882620660 +0300
|
|
+++ b/src/create_gtk_docset.cr 2023-07-17 14:27:09.660643747 +0300
|
|
@@ -136,7 +136,7 @@
|
|
end
|
|
|
|
def find_modules : Array(Path)
|
|
- basedir = Path.new("/usr/share/doc")
|
|
+ basedir = Path.new(ARGV[0]? || "gtk-docs")
|
|
MODULES.compact_map do |mod|
|
|
print "#{mod.ljust(20, '.')}"
|
|
mod_dir = basedir.join(mod)
|