diff options
-rw-r--r-- | lib/tasks/index.rake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/tasks/index.rake b/lib/tasks/index.rake index e669e033..3ee615a9 100644 --- a/lib/tasks/index.rake +++ b/lib/tasks/index.rake @@ -56,7 +56,8 @@ def index_l10n_doc(filter_tags, doc_list, get_content) ent.first =~ /^([-_\w]+)\/( ( - git.* + git.* | + scalar )\.txt)/x end @@ -198,6 +199,7 @@ def index_doc(filter_tags, doc_list, get_content) rev.* | pretty.* | pull.* | + scalar | technical\/.* )\.txt)/x end @@ -260,6 +262,8 @@ def index_doc(filter_tags, doc_list, get_content) path, sha = entry ids = Set.new([]) docname = File.basename(path, ".txt") + # TEMPORARY: skip the scalar technical doc until it has a non-overlapping name + next if path == "Documentation/technical/scalar.txt" next if doc_limit && path !~ /#{doc_limit}/ file = DocFile.where(name: docname).first_or_create |