Skip to content

Commit

Permalink
Merge branch 'master' of github.com:2gis/mapsapi
Browse files Browse the repository at this point in the history
  • Loading branch information
andymost committed Jun 17, 2016
2 parents 6ec4ea0 + b072fc1 commit 645dbf1
Show file tree
Hide file tree
Showing 91 changed files with 17,834 additions and 7,253 deletions.
4 changes: 2 additions & 2 deletions gulp/util/gendoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ function generateDocumentation(config, rootPath, destPath) { // (Object, String,
for (var i = 0, leng = mdData.length; i < leng; i++) {
(function (i) {
var mdFilePath = mdData[i].path,
htmlFileName = mdFilePath.match(/[^/]+(?=\.(md))/gi)[0] + '.html',
pluginDirName = mdFilePath.match(/^[\/]?([\w]+)/gi)[0],
htmlFileName = mdFilePath.match(/([\w_-]+)\.md$/i)[1] + '.html',
pluginDirName = mdFilePath.match(/\/?(.*)\/[.\w_-]+$/)[1],
renderer = new marked.Renderer(),
tocHtml = generateTableOfContents(marked.lexer(mdData[i].content.toString())),
headerRepeats = {},
Expand Down
2 changes: 1 addition & 1 deletion src/DGEntrance/doc/DGEntrance.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<td><code><b>interactive</b></code></td>
<td><code>Boolean</td>
<td><code>false</code></td>
<td>Если значение false, тогда обработчик действий мышки не вызывается.</td>
<td>Если значение false, тогда обработчик действий мыши не вызывается.</td>
</tr>
<tr>
<td><code><b>autoClose</b></code></td>
Expand Down
2 changes: 1 addition & 1 deletion src/copyright.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Maps api created at 2GIS. Build on Leaflet.
(c) 2013-2015, 2GIS
(c) 2013-2016, 2GIS
*/

6 changes: 6 additions & 0 deletions src/doc/en/examples/base.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Basic Usage Examples

{toc}

<!-- TODO: translation -->
<!-- translate whole file doc/ru/examples/base.md -->
6 changes: 6 additions & 0 deletions src/doc/en/examples/bounds.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Working with Bounds

{toc}

<!-- TODO: translation -->
<!-- translate whole file doc/ru/examples/bounds.md -->
6 changes: 6 additions & 0 deletions src/doc/en/examples/controls.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Working with Controls

{toc}

<!-- TODO: translation -->
<!-- translate whole file doc/ru/examples/controls.md -->
6 changes: 6 additions & 0 deletions src/doc/en/examples/events.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Working with Events

{toc}

<!-- TODO: translation -->
<!-- translate whole file doc/ru/examples/events.md -->
6 changes: 6 additions & 0 deletions src/doc/en/examples/external-modules.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## External Modules

{toc}

<!-- TODO: translation -->
<!-- translate whole file doc/ru/examples/external-modules.md -->
6 changes: 6 additions & 0 deletions src/doc/en/examples/geocoding.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Working with Geo Coding API

{toc}

<!-- TODO: translation -->
<!-- translate whole file doc/ru/examples/geocoding.md -->
6 changes: 6 additions & 0 deletions src/doc/en/examples/geojson.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Working with GeoJSON

{toc}

<!-- TODO: translation -->
<!-- translate whole file doc/ru/examples/geojson.md -->
6 changes: 6 additions & 0 deletions src/doc/en/examples/markers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Working with Markers

{toc}

<!-- TODO: translation -->
<!-- translate whole file doc/ru/examples/markers.md -->
6 changes: 6 additions & 0 deletions src/doc/en/examples/popups.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Working with Popups

{toc}

<!-- TODO: translation -->
<!-- translate whole file doc/ru/examples/popups.md -->
6 changes: 6 additions & 0 deletions src/doc/en/examples/vector-layers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Working with Vector Layers

{toc}

<!-- TODO: translation -->
<!-- translate whole file doc/ru/examples/vector-layers.md -->
6 changes: 6 additions & 0 deletions src/doc/en/examples/wkt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Working with WKT

{toc}

<!-- TODO: translation -->
<!-- translate whole file doc/ru/examples/wkt.md -->
Loading

0 comments on commit 645dbf1

Please sign in to comment.