Skip to content

Commit 0501f97

Browse files
znzclaude
andcommitted
Build databases from doctree manual/ (Markdown) tree
doctree の Markdown 移行 (rurema/bitclust#189, rurema/doctree#3035) に伴い、 DB 構築のソースを refm/ から manual/ へ切り替える (doctree の Rakefile の 切り替えと同じコマンド形)。refm/ は移行ウィンドウ中の凍結ソース。 rurema/bitclust#189rurema/doctree#3035 の両方が master に入るまで マージしないこと (generate.sh は両リポジトリの master を clone するため)。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 046e9a4 commit 0501f97

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tool/bc-setup-all.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ def setup_db(version)
88
db = "#{DB_BASE}/db-#{version}"
99
FileUtils.rm_rf db
1010
system(*%W"bundle exec bitclust -d #{db} init version=#{version} encoding=utf-8")
11-
system(*%W"bundle exec bitclust -d #{db} update --stdlibtree=#{REF_BASE}/api/src")
12-
system(*%W"bundle exec bitclust -d #{db} --capi update" + Dir.glob("#{REF_BASE}/capi/src/*"))
11+
system(*%W"bundle exec bitclust -d #{db} update --markdowntree=#{MANUAL_BASE}/api")
12+
system(*%W"bundle exec bitclust -d #{db} --capi update --markdowntree=#{MANUAL_BASE}/capi")
1313
puts "#{version} is done."
1414
end
1515
end

tool/vars.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
DB_BASE = File.expand_path("../db", __dir__)
1212

1313
DOC_BASE = File.expand_path("../doctree", __dir__)
14-
REF_BASE = "refm" # was "#{DOC_BASE}/refm"
14+
MANUAL_BASE = "manual" # was REF_BASE = "refm"
1515

1616
TMP_HTML_BASE = File.expand_path("../tmp/html", __dir__)
1717

0 commit comments

Comments
 (0)