You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by cw...@apache.org on 2019/09/26 00:49:50 UTC

[incubator-druid] branch 0.16.0-incubating updated: Website: stricter replace (#8593) (#8595)

This is an automated email from the ASF dual-hosted git repository.

cwylie pushed a commit to branch 0.16.0-incubating
in repository https://gitbox.apache.org/repos/asf/incubator-druid.git


The following commit(s) were added to refs/heads/0.16.0-incubating by this push:
     new ccf8e8f  Website: stricter replace (#8593) (#8595)
ccf8e8f is described below

commit ccf8e8f2abd9d4348528c37e2fc27382da9530ef
Author: Clint Wylie <cw...@apache.org>
AuthorDate: Wed Sep 25 17:49:41 2019 -0700

    Website: stricter replace (#8593) (#8595)
    
    * stricter replace
    
    * better fix
---
 website/script/fix-path.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/website/script/fix-path.js b/website/script/fix-path.js
index 07ddb6f..715594e 100644
--- a/website/script/fix-path.js
+++ b/website/script/fix-path.js
@@ -30,8 +30,8 @@ try {
   // Fix doc paths
   replace.sync({
     files: './build/ApacheDruid/docs/**/*.html',
-    from: /\/docs\//g,
-    to: '/docs/' + urlVersion + '/',
+    from: /"\/docs\//g,
+    to: '"/docs/' + urlVersion + '/',
   });
 
   // Interpolate {{DRUIDVERSION}}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org