jihoonson closed pull request #6697: [Backport] fix links to use relative 
references
URL: https://github.com/apache/incubator-druid/pull/6697
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docs/_includes/site_head.html b/docs/_includes/site_head.html
index 570df2a6c65..8e27bfe0846 100644
--- a/docs/_includes/site_head.html
+++ b/docs/_includes/site_head.html
@@ -22,15 +22,30 @@
 <meta name="description" content="">
 <meta name="author" content="druid">
 
-<title>Druid | {{page.title}}</title>  
+<title>Druid | {{page.title}}</title>
+<link rel="alternate" type="application/atom+xml" href="/feed">
+<link rel="shortcut icon" href="/img/favicon.png">
 
-<link rel="stylesheet" 
href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
+<link rel="stylesheet" 
href="//use.fontawesome.com/releases/v5.2.0/css/all.css" 
integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ"
 crossorigin="anonymous">
 
-<link 
href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700,300italic|Open+Sans:300italic,400italic,600italic,400,300,600'
 rel='stylesheet' type='text/css'>
-<link rel="alternate" type="application/atom+xml" href="http://druid.io/feed";>
+<link 
href='//fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700,300italic|Open+Sans:300italic,400italic,600italic,400,300,600,700'
 rel='stylesheet' type='text/css'>
 
-<link rel="stylesheet" href="//druid.io/css/main.css">
-<link rel="stylesheet" href="//druid.io/css/header.css">
-<link rel="stylesheet" href="//druid.io/css/footer.css">
-<link rel="stylesheet" href="//druid.io/css/syntax.css">
-<link rel="stylesheet" href="//druid.io/css/docs.css">
+<link rel="stylesheet" href="/css/bootstrap-pure.css?v=1.0">
+<link rel="stylesheet" href="/css/main.css?v=1.0">
+<link rel="stylesheet" href="/css/header.css?v=1.0">
+<link rel="stylesheet" href="/css/footer.css?v=1.0">
+<link rel="stylesheet" href="/css/syntax.css?v=1.0">
+<link rel="stylesheet" href="/css/docs.css?v=1.0">
+
+<script>
+  (function() {
+    var cx = '000162378814775985090:molvbm0vggm';
+    var gcse = document.createElement('script');
+    gcse.type = 'text/javascript';
+    gcse.async = true;
+    gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
+        '//cse.google.com/cse.js?cx=' + cx;
+    var s = document.getElementsByTagName('script')[0];
+    s.parentNode.insertBefore(gcse, s);
+  })();
+</script>
diff --git a/docs/content/development/extensions-contrib/graphite.md 
b/docs/content/development/extensions-contrib/graphite.md
index 102df990c61..a70910d0d67 100644
--- a/docs/content/development/extensions-contrib/graphite.md
+++ b/docs/content/development/extensions-contrib/graphite.md
@@ -51,7 +51,7 @@ All the configuration parameters for graphite emitter are 
under `druid.emitter.g
 
 ### Supported event types
 
-The graphite emitter only emits service metric events to graphite (See 
http://druid.io/docs/latest/operations/metrics.html for a list of metrics).
+The graphite emitter only emits service metric events to graphite (See [Druid 
Metrics](../../operations/metrics.html) for a list of metrics).
 
 Alerts and request logs are not sent to graphite. These event types are not 
well represented in Graphite, which is more suited for timeseries views on 
numeric metrics, vs. storing non-numeric log events.
 
diff --git a/docs/content/development/extensions-contrib/materialized-view.md 
b/docs/content/development/extensions-contrib/materialized-view.md
index 5c1f0eba99d..8c92480e408 100644
--- a/docs/content/development/extensions-contrib/materialized-view.md
+++ b/docs/content/development/extensions-contrib/materialized-view.md
@@ -68,11 +68,11 @@ A sample derivativeDataSource supervisor spec is shown 
below:
 
 |Field|Description|Required|
 |--------|-----------|---------|
-|Type  |The supervisor type. This should always be derivativeDataSource        
|yes|
-|baseDataSource        |The name of base dataSource. This dataSource data 
should be already stored inside Druid, and the dataSource will be used as input 
data. See [dataSource 
inputSpec](http://druid.io/docs/latest/ingestion/update-existing-data.html#datasource
 "dataSource inputSpec").         |yes|
-|dimensionsSpec        |Specifies the dimensions of the data. These dimensions 
must be the subset of baseDataSource's dimensions.      |yes|
-|metricsSpec   |A list of aggregators. These metrics must be the subset of 
baseDataSource's metrics. See 
[aggregations](http://druid.io/docs/latest/querying/aggregations.html 
"aggregations")         |yes|
-|tuningConfig  |TuningConfig must be HadoopTuningConfig. See [hadoop tuning 
config]( 
http://druid.io/docs/latest/ingestion/batch-ingestion.html#tuningconfig "hadoop 
tuning config")   |yes|
+|Type  |The supervisor type. This should always be `derivativeDataSource`.|yes|
+|baseDataSource        |The name of base dataSource. This dataSource data 
should be already stored inside Druid, and the dataSource will be used as input 
data.|yes|
+|dimensionsSpec        |Specifies the dimensions of the data. These dimensions 
must be the subset of baseDataSource's dimensions.|yes|
+|metricsSpec   |A list of aggregators. These metrics must be the subset of 
baseDataSource's metrics. See 
[aggregations](../../querying/aggregations.html).|yes|
+|tuningConfig  |TuningConfig must be HadoopTuningConfig. See [Hadoop tuning 
config](../../ingestion/hadoop.html#tuningconfig).|yes|
 |dataSource    |The name of this derived dataSource.   
|no(default=baseDataSource-hashCode of supervisor)|
 |hadoopDependencyCoordinates   |A JSON array of Hadoop dependency coordinates 
that Druid will use, this property will override the default Hadoop 
coordinates. Once specified, Druid will look for those Hadoop dependencies from 
the location specified by druid.extensions.hadoopDependenciesDir     |no|
 |classpathPrefix       |Classpath that will be pre-appended for the peon 
process.      |no|
@@ -128,6 +128,6 @@ There are 2 parts in a view query:
 |Field|Description|Required|
 |--------|-----------|---------|
 |queryType     |The query type. This should always be view     |yes|
-|query |The real query of this `view` query. The real query must be 
[groupby](http://druid.io/docs/latest/querying/groupbyquery.html 
"groupby")/[topn](http://druid.io/docs/latest/querying/topnquery.html 
"topn")/[timeseries](http://druid.io/docs/latest/querying/timeseriesquery.html 
"timeseries") type.  |yes|
+|query |The real query of this `view` query. The real query must be 
[groupBy](../../querying/groupbyquery.html), 
[topN](../../querying/topnquery.html), or 
[timeseries](../../querying/timeseriesquery.html) type.|yes|
 
 **Note that Materialized View is currently designated as experimental. Please 
make sure the time of all nodes are the same and increase monotonically. 
Otherwise, some unexpected errors may happen on query results.**
diff --git a/docs/content/development/extensions-contrib/opentsdb-emitter.md 
b/docs/content/development/extensions-contrib/opentsdb-emitter.md
index 351f2f2eccb..27e9069b08e 100644
--- a/docs/content/development/extensions-contrib/opentsdb-emitter.md
+++ b/docs/content/development/extensions-contrib/opentsdb-emitter.md
@@ -27,7 +27,7 @@ To use this extension, make sure to 
[include](../../operations/including-extensi
 
 ## Introduction
 
-This extension emits druid metrics to 
[OpenTSDB](https://github.com/OpenTSDB/opentsdb) over HTTP (Using `Jersey 
client`). And this emitter only emits service metric events to OpenTSDB (See 
http://druid.io/docs/latest/operations/metrics.html for a list of metrics).
+This extension emits druid metrics to 
[OpenTSDB](https://github.com/OpenTSDB/opentsdb) over HTTP (Using `Jersey 
client`). And this emitter only emits service metric events to OpenTSDB (See 
[Druid metrics](../../operations/metrics.html) for a list of metrics).
 
 ## Configuration
 
diff --git a/docs/content/development/extensions-core/mysql.md 
b/docs/content/development/extensions-core/mysql.md
index a547b84f091..a91b4e163b3 100644
--- a/docs/content/development/extensions-core/mysql.md
+++ b/docs/content/development/extensions-core/mysql.md
@@ -86,12 +86,6 @@ Copy or symlink this file to 
`extensions/mysql-metadata-storage` under the distr
   druid.metadata.storage.connector.password=diurd
   ```
 
-  Note: the metadata storage extension is not packaged within the main Druid 
tarball; it is
-  packaged in a separate tarball that can be downloaded from 
[here](http://druid.io/downloads.html).
-  You can also get it using [pull-deps](../../operations/pull-deps.html), or 
you can build
-  it from source code; see [Build from Source](../build.html).
-
-
 ## Encrypting MySQL connections
   This extension provides support for encrypting MySQL connections. To get 
more information about encrypting MySQL connections using TLS/SSL in general, 
please refer to this 
[guide](https://dev.mysql.com/doc/refman/5.7/en/using-encrypted-connections.html).
 
diff --git a/docs/content/operations/insert-segment-to-db.md 
b/docs/content/operations/insert-segment-to-db.md
index 8ad73416c89..3c4306e5044 100644
--- a/docs/content/operations/insert-segment-to-db.md
+++ b/docs/content/operations/insert-segment-to-db.md
@@ -127,7 +127,7 @@ of them in a runtime.properites file and include it in the 
Druid classpath. Note
 and `druid-hdfs-storage` in the extension list.
 
 After running this command, the segments table in `mysql` should store the new 
location for each segment we just inserted.
-Note that for segments stored in HDFS, druid config must contain core-site.xml 
as described in [Druid 
Docs](http://druid.io/docs/latest/tutorials/cluster.html), as this new location 
is stored with relative path.
+Note that for segments stored in HDFS, druid config must contain core-site.xml 
as described in [Druid Docs](../tutorials/cluster.html), as this new location 
is stored with relative path.
 
 It is also possible to use `s3` as deep storage. In order to work with it, 
specify `s3` as deep storage type and load 
 [`druid-s3-extensions`](../development/extensions-core/s3.html) as an 
extension.
diff --git a/docs/content/tutorials/cluster.md 
b/docs/content/tutorials/cluster.md
index a8fd6b5e207..65d7f177f6a 100644
--- a/docs/content/tutorials/cluster.md
+++ b/docs/content/tutorials/cluster.md
@@ -223,7 +223,7 @@ In `conf/druid/_common/common.runtime.properties`, replace
 <div class="note caution">
 In production, we recommend running 2 servers, each running a Druid Coordinator
 and a Druid Overlord. We also recommend running a ZooKeeper cluster on its own 
dedicated hardware,
-as well as replicated <a href = 
"http://druid.io/docs/latest/dependencies/metadata-storage.html";>metadata 
storage</a>
+as well as replicated <a href = 
"../dependencies/metadata-storage.html">metadata storage</a>
 such as MySQL or PostgreSQL, on its own dedicated hardware.
 </div>
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to