mirror of
https://github.com/ToshioCP/Gtk4-tutorial.git
synced 2024-11-16 19:50:35 +01:00
Bug fixed.
This commit is contained in:
parent
85f4248515
commit
afc7a8517d
4 changed files with 5 additions and 4 deletions
9
Rakefile
9
Rakefile
|
@ -51,10 +51,11 @@ abstract = "src/abstract.src.md"
|
|||
# They are absolute paths.
|
||||
imagefiles = srcfiles.map do |file|
|
||||
d = file.pathmap("%d")
|
||||
File.read(file)\
|
||||
.gsub(/^~~~.*?^~~~\n/m,'').gsub(/^ .*\n/,'')\
|
||||
.scan(/!\[.*?\]\((.*?)\)/).flatten.sort.uniq\
|
||||
.map{|img| File.absolute_path("#{d}/#{img}")}
|
||||
s = File.read(file)
|
||||
at_if_else(s, "html")\
|
||||
.gsub(/^~~~.*?^~~~\n/m,'').gsub(/^ .*\n/,'')\
|
||||
.scan(/!\[.*?\]\((.*?)\)/).flatten.sort.uniq\
|
||||
.map{|img| File.absolute_path("#{d}/#{img}")}
|
||||
end.flatten.sort.uniq
|
||||
imagefiles = FileList[*imagefiles]
|
||||
|
||||
|
|
BIN
docs/image/gtklistitem.png
Normal file
BIN
docs/image/gtklistitem.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
BIN
docs/image/list1.png
Normal file
BIN
docs/image/list1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.5 KiB |
BIN
docs/image/tree.png
Normal file
BIN
docs/image/tree.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
Loading…
Reference in a new issue