Skip to content

Commit 57adb26

Browse files
committed
Use --meta-robots-content option
`--meta-robots-content=` generates HTML without <meta name="robots" content="...">
1 parent 4759af5 commit 57adb26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

system/bc-static-all

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def create_document(version)
2929
"--catalog=#{CATALOG}",
3030
"--fs-casesensitive",
3131
"--canonical-base-url=https://docs.ruby-lang.org/ja/latest/",
32+
"--meta-robots-content=",
3233
"--tracking-id=UA-620926-3",
3334
"--quiet")
3435
system("rsync", "-acvi", "--no-times", "--delete", "/var/rubydoc/tmp/#{version}", DOC_ROOT) or raise

0 commit comments

Comments
 (0)