Browse Source

tech(docs): use relref for links

bergquist 9 năm trước cách đây
mục cha
commit
b2edcd8cfd
2 tập tin đã thay đổi với 16 bổ sung15 xóa
  1. 6 6
      docs/sources/datasources/index.md
  2. 10 9
      docs/sources/http_api/index.md

+ 6 - 6
docs/sources/datasources/index.md

@@ -18,12 +18,12 @@ The query language and capabilities of each Data Source are obviously very diffe
 ## Supported Data Sources
 The following datasources are officially supported:
 
-* [Graphite](/datasources/graphite/)
-* [Elasticsearch](/datasources/elasticsearch/)
-* [CloudWatch](/datasources/cloudwatch/)
-* [InfluxDB](/datasources/influxdb/)
-* [OpenTSDB](/datasources/opentsdb/)
-* [Prometheus](/datasources/prometheus)
+* [Graphite]({{< relref "graphite.md" >}})
+* [Elasticsearch]({{< relref "elasticsearch.md" >}})
+* [CloudWatch]({{< relref "cloudwatch.md" >}})
+* [InfluxDB]({{< relref "influxdb.md" >}})
+* [OpenTSDB]({{< relref "opentsdb.md" >}})
+* [Prometheus]({{< relref "prometheus.md" >}})
 
 ## Data source plugins
 

+ 10 - 9
docs/sources/http_api/index.md

@@ -17,12 +17,13 @@ dashboards, creating users and updating data sources.
 
 ## Supported HTTP APIs:
 
-* [Authentication API](/http_api/auth/)
-* [Dashboard API](/http_api/dashboard/)
-* [Data Source API](/http_api/data_source/)
-* [Organisation API](/http_api/org/)
-* [User API](/http_api/user/)
-* [Admin API](/http_api/admin/)
-* [Snapshot API](/http_api/snapshot/)
-* [Preferences API](/http_api/preferences/)
-* [Other API](/http_api/other/)
+
+* [Authentication API]({{< relref "auth.md" >}})
+* [Dashboard API]({{< relref "dashboard.md" >}})
+* [Data Source API]({{< relref "data_source.md" >}})
+* [Organisation API]({{< relref "org.md" >}})
+* [User API]({{< relref "user.md" >}})
+* [Admin API]({{< relref "admin.md" >}})
+* [Snapshot API]({{< relref "snapshot.md" >}})
+* [Preferences API]({{< relref "preferences.md" >}})
+* [Other API]({{< relref "other.md" >}})