Skip to content

Commit

Permalink
Add autogenerated warning to generated docs (maplibre#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfazekas authored and kristfal committed Oct 20, 2019
1 parent 94d831a commit 523ad3b
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/Annotation.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This file was autogenerated from Annotation.js do not modify -->
## <MapboxGL.Annotation />
###

Expand Down
1 change: 1 addition & 0 deletions docs/BackgroundLayer.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This file was autogenerated from BackgroundLayer.js do not modify -->
## <MapboxGL.BackgroundLayer />
###

Expand Down
1 change: 1 addition & 0 deletions docs/Callout.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This file was autogenerated from Callout.js do not modify -->
## <MapboxGL.Callout />
### Callout that displays information about a selected annotation near the annotation.

Expand Down
1 change: 1 addition & 0 deletions docs/Camera.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This file was autogenerated from Camera.js do not modify -->
## <MapboxGL.Camera />
###

Expand Down
1 change: 1 addition & 0 deletions docs/CircleLayer.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This file was autogenerated from CircleLayer.js do not modify -->
## <MapboxGL.CircleLayer />
### CircleLayer is a style layer that renders one or more filled circles on the map.

Expand Down
1 change: 1 addition & 0 deletions docs/FillExtrusionLayer.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This file was autogenerated from FillExtrusionLayer.js do not modify -->
## <MapboxGL.FillExtrusionLayer />
### FillExtrusionLayer is a style layer that renders one or more 3D extruded polygons on the map.

Expand Down
1 change: 1 addition & 0 deletions docs/FillLayer.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This file was autogenerated from FillLayer.js do not modify -->
## <MapboxGL.FillLayer />
### FillLayer is a style layer that renders one or more filled (and optionally stroked) polygons on the map.

Expand Down
1 change: 1 addition & 0 deletions docs/HeatmapLayer.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This file was autogenerated from HeatmapLayer.js do not modify -->
## <MapboxGL.HeatmapLayer />
### HeatmapLayer is a style layer that renders one or more filled circles on the map.

Expand Down
1 change: 1 addition & 0 deletions docs/ImageSource.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This file was autogenerated from ImageSource.js do not modify -->
## <MapboxGL.ImageSource />
### ImageSource is a content source that is used for a georeferenced raster image to be shown on the map.<br/>The georeferenced image scales and rotates as the user zooms and rotates the map

Expand Down
1 change: 1 addition & 0 deletions docs/Images.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This file was autogenerated from Images.js do not modify -->
## <MapboxGL.Images />
### Images defines the images used in Symbol etc layers

Expand Down
1 change: 1 addition & 0 deletions docs/Light.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This file was autogenerated from Light.js do not modify -->
## <MapboxGL.Light />
### Light represents the light source for extruded geometries

Expand Down
1 change: 1 addition & 0 deletions docs/LineLayer.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This file was autogenerated from LineLayer.js do not modify -->
## <MapboxGL.LineLayer />
### LineLayer is a style layer that renders one or more stroked polylines on the map.

Expand Down
1 change: 1 addition & 0 deletions docs/MapView.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This file was autogenerated from MapView.js do not modify -->
## <MapboxGL.MapView />
### MapView backed by Mapbox Native GL

Expand Down
1 change: 1 addition & 0 deletions docs/OfflineManager.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This file was autogenerated from offlineManager.js do not modify -->
## <MapboxGL.offlineManager />
### OfflineManager implements a singleton (shared object) that manages offline packs.<br/>All of this class’s instance methods are asynchronous, reflecting the fact that offline resources are stored in a database.<br/>The shared object maintains a canonical collection of offline packs.

Expand Down
1 change: 1 addition & 0 deletions docs/PointAnnotation.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This file was autogenerated from PointAnnotation.js do not modify -->
## <MapboxGL.PointAnnotation />
### PointAnnotation represents a one-dimensional shape located at a single geographical coordinate. PointAnnotation is legacy, soon to be deprecated, and should use ShapeSource and SymbolLayer instead.

Expand Down
1 change: 1 addition & 0 deletions docs/RasterLayer.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This file was autogenerated from RasterLayer.js do not modify -->
## <MapboxGL.RasterLayer />
###

Expand Down
1 change: 1 addition & 0 deletions docs/RasterSource.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This file was autogenerated from RasterSource.js do not modify -->
## <MapboxGL.RasterSource />
### RasterSource is a map content source that supplies raster image tiles to be shown on the map.<br/>The location of and metadata about the tiles are defined either by an option dictionary<br/>or by an external file that conforms to the TileJSON specification.

Expand Down
1 change: 1 addition & 0 deletions docs/ShapeSource.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This file was autogenerated from ShapeSource.js do not modify -->
## <MapboxGL.ShapeSource />
### ShapeSource is a map content source that supplies vector shapes to be shown on the map.<br/>The shape may be a url or a GeoJSON object

Expand Down
1 change: 1 addition & 0 deletions docs/SymbolLayer.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This file was autogenerated from SymbolLayer.js do not modify -->
## <MapboxGL.SymbolLayer />
### SymbolLayer is a style layer that renders icon and text labels at points or along lines on the map.

Expand Down
1 change: 1 addition & 0 deletions docs/UserLocation.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This file was autogenerated from UserLocation.js do not modify -->
## <MapboxGL.UserLocation />
###

Expand Down
1 change: 1 addition & 0 deletions docs/VectorSource.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This file was autogenerated from VectorSource.js do not modify -->
## <MapboxGL.VectorSource />
### VectorSource is a map content source that supplies tiled vector data in Mapbox Vector Tile format to be shown on the map.<br/>The location of and metadata about the tiles are defined either by an option dictionary or by an external file that conforms to the TileJSON specification.

Expand Down
1 change: 1 addition & 0 deletions docs/snapshotManager.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This file was autogenerated from snapshotManager.js do not modify -->
## <MapboxGL.snapshotManager />
### The snapshotManager generates static raster images of the map.<br/>Each snapshot image depicts a portion of a map defined by an SnapshotOptions object you provide.<br/>The snapshotter generates the snapshot asynchronous.

Expand Down
1 change: 1 addition & 0 deletions scripts/templates/component.md.ejs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<%
const component = locals.component;
-%>
<!-- This file was autogenerated from <%- component.name %>.js do not modify -->
## <MapboxGL.<%- component.name %> />
### <%- replaceNewLine(component.description) %>

Expand Down

0 comments on commit 523ad3b

Please sign in to comment.