From 58a587a1a934d7967a61f842c8dd575af0273cbe Mon Sep 17 00:00:00 2001
From: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
Date: Fri, 10 Mar 2023 00:53:26 +0530
Subject: [PATCH] =?UTF-8?q?fix:=20broken=20links=20for=20netlify=20?=
 =?UTF-8?q?=F0=9F=A4=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
---
 docs/.vitepress/config.ts                               | 2 +-
 docs/api/Layers/canvaslayer.md                          | 2 +-
 docs/api/Layers/geojsonlayer.md                         | 2 +-
 docs/api/Layers/imagelayer.md                           | 2 +-
 docs/api/Layers/{README.md => index.md}                 | 0
 docs/api/Layers/rasterlayer.md                          | 2 +-
 docs/api/Layers/vectorlayer.md                          | 2 +-
 docs/api/Layers/videolayer.md                           | 2 +-
 docs/guide/layers-and-sources.md                        | 2 +-
 docs/plugin-components/plugin-components-development.md | 2 +-
 netlify.toml                                            | 2 +-
 11 files changed, 10 insertions(+), 10 deletions(-)
 rename docs/api/Layers/{README.md => index.md} (100%)

diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts
index 6d2be950..3225fe02 100644
--- a/docs/.vitepress/config.ts
+++ b/docs/.vitepress/config.ts
@@ -38,7 +38,7 @@ const sidebar: DefaultTheme.Config['sidebar'] = {
         { text: 'Controls', link: '/api/controls.md' },
         { text: 'Markers', link: '/api/marker.md' },
         { text: 'Popups', link: '/api/popup.md' },
-        { text: 'Layers', link: '/api/Layers/README.md' },
+        { text: 'Layers', link: '/api/Layers/index.md' },
         { text: 'GeoJSON Layer', link: '/api/Layers/geojsonlayer.md' },
         { text: 'Vector Layer', link: '/api/Layers/vectorlayer.md' },
         { text: 'Raster Layer', link: '/api/Layers/rasterlayer.md' },
diff --git a/docs/api/Layers/canvaslayer.md b/docs/api/Layers/canvaslayer.md
index ddea7680..67bb6723 100644
--- a/docs/api/Layers/canvaslayer.md
+++ b/docs/api/Layers/canvaslayer.md
@@ -7,7 +7,7 @@ Mapbox GL JS docs:
 
 ## Props
 
-All common [layers props](/api/Layers/README.md#props)
+All common [layers props](/api/Layers/index.md#props)
 
 ## Events
 
diff --git a/docs/api/Layers/geojsonlayer.md b/docs/api/Layers/geojsonlayer.md
index 1848ac61..95f06408 100644
--- a/docs/api/Layers/geojsonlayer.md
+++ b/docs/api/Layers/geojsonlayer.md
@@ -2,7 +2,7 @@
 
 ## Props
 
-All common [layers props](/api/Layers/README.md#props)
+All common [layers props](/api/Layers/index.md#props)
 
 ### `source`
 
diff --git a/docs/api/Layers/imagelayer.md b/docs/api/Layers/imagelayer.md
index bdd3fcb3..561a26e2 100644
--- a/docs/api/Layers/imagelayer.md
+++ b/docs/api/Layers/imagelayer.md
@@ -2,7 +2,7 @@
 
 ## Props
 
-All common [layers props](/api/Layers/README.md#props)
+All common [layers props](/api/Layers/index.md#props)
 
 ### `source`
 
diff --git a/docs/api/Layers/README.md b/docs/api/Layers/index.md
similarity index 100%
rename from docs/api/Layers/README.md
rename to docs/api/Layers/index.md
diff --git a/docs/api/Layers/rasterlayer.md b/docs/api/Layers/rasterlayer.md
index 770d454f..413c9695 100644
--- a/docs/api/Layers/rasterlayer.md
+++ b/docs/api/Layers/rasterlayer.md
@@ -2,7 +2,7 @@
 
 ## Props
 
-All common [layers props](/api/Layers/README.md#props)
+All common [layers props](/api/Layers/index.md#props)
 
 ### `source`
 
diff --git a/docs/api/Layers/vectorlayer.md b/docs/api/Layers/vectorlayer.md
index d5e6013f..83511d0d 100644
--- a/docs/api/Layers/vectorlayer.md
+++ b/docs/api/Layers/vectorlayer.md
@@ -2,7 +2,7 @@
 
 ## Props
 
-All common [layers props](/api/Layers/README.md#props)
+All common [layers props](/api/Layers/index.md#props)
 
 ### `source`
 
diff --git a/docs/api/Layers/videolayer.md b/docs/api/Layers/videolayer.md
index 9e6763dd..ced3aeb6 100644
--- a/docs/api/Layers/videolayer.md
+++ b/docs/api/Layers/videolayer.md
@@ -2,7 +2,7 @@
 
 ## Props
 
-All common [layers props](/api/Layers/README.md#props)
+All common [layers props](/api/Layers/index.md#props)
 
 ### `source`
 
diff --git a/docs/guide/layers-and-sources.md b/docs/guide/layers-and-sources.md
index 76339623..3c60a32c 100644
--- a/docs/guide/layers-and-sources.md
+++ b/docs/guide/layers-and-sources.md
@@ -71,7 +71,7 @@ First moves a layer to a different z-position. Second destroys component and rem
 
 ## Layer events
 
-Layers emits events when loading data or on user interaction like `click`. See full list of events in [API section](/api/Layers/README.md#events)
+Layers emits events when loading data or on user interaction like `click`. See full list of events in [API section](/api/Layers/index.md#events)
 
 ## Migration from 0.1
 
diff --git a/docs/plugin-components/plugin-components-development.md b/docs/plugin-components/plugin-components-development.md
index 891fbed8..800535cc 100644
--- a/docs/plugin-components/plugin-components-development.md
+++ b/docs/plugin-components/plugin-components-development.md
@@ -113,7 +113,7 @@ Provides backbone for Map controls (like )
 
 [Source](https://github.com/vinayakkulkarni/v-mapbox/blob/master/src/components/layer/layerMixin.js).  
 Provides backbone for Map layer.  
-See also [layers API doc](/api/layers)
+See also [layers API doc](/api/Layers/index.md)
 
 ## Creating component for Mapbox GL JS plugin
 
diff --git a/netlify.toml b/netlify.toml
index 31992890..6ef020bc 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -3,4 +3,4 @@
 
 [build]
   command = "npm run docs:build"
-  publish = "docs/.vuepress/dist"
+  publish = "docs/.vitepress/dist"