Skip to content

Commit

Permalink
Fixes lazy loading in docs (#4278)
Browse files Browse the repository at this point in the history
  • Loading branch information
HarelM committed Jun 16, 2024
1 parent 4d162fe commit 917fbb8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
/docs/API
/docs/examples
/docs/example
.cache/
*.es.js
*.js.map
node_modules
Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ markdown_extensions:
- pymdownx.escapeall:
hardbreak: True
nbsp: True
- attr_list

extra:
social:
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export type * from '@maplibre/maplibre-gl-style-spec';
* Necessary for supporting the Arabic and Hebrew languages, which are written right-to-left.
*
* @param pluginURL - URL pointing to the Mapbox RTL text plugin source.
* @param lazy - If set to `true`, mapboxgl will defer loading the plugin until rtl text is encountered,
* @param lazy - If set to `true`, maplibre will defer loading the plugin until rtl text is encountered,
* rtl text will then be rendered only after the plugin finishes loading.
* @example
* ```ts
Expand Down

0 comments on commit 917fbb8

Please sign in to comment.