Skip to content

Commit

Permalink
Update grid page
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Duberstein committed Mar 31, 2020
1 parent 2b3032a commit 6c751b0
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 8 deletions.
5 changes: 1 addition & 4 deletions bindings/pydeck/docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,4 @@ html-thumbnails:
@echo "Producing HTML thumbnail assets"
python scripts/snap_thumbnails.py

html-skip-embeds:
@$(SPHINXBUILD) "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

html: html-embeds
# html: html-embeds
35 changes: 35 additions & 0 deletions bindings/pydeck/docs/gallery/html/grid.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<style>
.wrapper {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 1px;
}
.gv {
height: 60px;
width: 80px;
}
</style>

<div class='wrapper'>
<div class='gv' style='background-image: url("/_static/arc_layer.png")'>ArcLayer</div>
<div class='gv' style='background-image: url("/_static/bitmap_layer.png")'>BitmapLayer</div>
<div class='gv' style='background-image: url("/_static/column_layer.png")'>ColumnLayer</div>
<div class='gv' style='background-image: url("/_static/contour_layer.png")'>ContourLayer</div>
<div class='gv' style='background-image: url("/_static/geojson_layer.png")'>GeoJsonLayer</div>
<div class='gv' style='background-image: url("/_static/great_circle_layer.png")'>GreatCircleLayer</div>
<div class='gv' style='background-image: url("/_static/grid_layer.png")'>GridLayer</div>
<div class='gv' style='background-image: url("/_static/h3_cluster_layer.png")'>H3ClusterLayer</div>
<div class='gv' style='background-image: url("/_static/h3_hexagon_layer.png")'>H3HexagonLayer</div>
<div class='gv' style='background-image: url("/_static/heatmap_layer.png")'>HeatmapLayer</div>
<div class='gv' style='background-image: url("/_static/hexagon_layer.png")'>HexagonLayer</div>
<div class='gv' style='background-image: url("/_static/icon_layer.png")'>IconLayer</div>
<div class='gv' style='background-image: url("/_static/line_layer.png")'>LineLayer</div>
<div class='gv' style='background-image: url("/_static/path_later.png")'>PathLayer</div>
<div class='gv' style='background-image: url("/_static/point_cloud_layer.png")'>PointCloudLayer</div>
<div class='gv' style='background-image: url("/_static/polygon_layer.png")'>PolygonLayer</div>
<div class='gv' style='background-image: url("/_static/s2_layer.png")'>S2Layer</div>
<div class='gv' style='background-image: url("/_static/scatterplot_layer.png")'>ScatterplotLayer</div>
<div class='gv' style='background-image: url("/_static/screengrid_layer.png")'>ScreengridLayer</div>
<div class='gv' style='background-image: url("/_static/text_layer.png")'>TextLayer</div>
<div class='gv' style='background-image: url("/_static/trips_layer.png")'>TripsLayer</div>
</div>
10 changes: 6 additions & 4 deletions bindings/pydeck/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ pydeck Documentation
view
light_settings
binary_transfer
gallery

.. raw:: html
<big>text</big>


.. figure:: https://camo.githubusercontent.com/020e7749ebfb7a8f50403fcbc8650833608c006d/68747470733a2f2f6d7962696e6465722e6f72672f7374617469632f6c6f676f2e7376673f763d6639663064393237623637636339646339396437383863383232636132316330
:target: https://mybinder.org/v2/gh/uber/deck.gl/binder
Expand All @@ -30,6 +27,11 @@ pydeck Documentation

`Conway's Game of Life <https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life>`_ in pydeck


.. raw:: html
:file: gallery/html/grid.html


`Layers <layer.html>`__
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down

0 comments on commit 6c751b0

Please sign in to comment.