Skip to content

Commit fe62959

Browse files
Merge pull request #1957 from OceanParcels/dark-themes-docs-updates-v4
Dark themes docs updates v4
2 parents 35b59a4 + dca2c3b commit fe62959

File tree

9 files changed

+281
-5
lines changed

9 files changed

+281
-5
lines changed

docs/_static/homepage.gif

41.3 KB
Loading

docs/_static/logo-horo.svg

Lines changed: 185 additions & 0 deletions
Loading

docs/_static/logo-horo_dia.svg

Lines changed: 90 additions & 0 deletions
Loading
-99.3 KB
Binary file not shown.

docs/_static/parcelslogo.png

-104 KB
Binary file not shown.

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@
195195
html_static_path = ["_static"]
196196
html_theme_options = {
197197
"logo": {
198-
"image_light": "parcelslogo.png",
199-
"image_dark": "parcelslogo-inverted.png",
198+
"image_light": "logo-horo.svg",
199+
"image_dark": "logo-horo_dia.svg",
200200
},
201201
"use_edit_page_button": True,
202202
"github_url": "https://github.com/OceanParcels/parcels",

docs/examples/documentation_homepage_animation.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@
100100
" central_latitude=90, central_longitude=-30, satellite_height=15000000\n",
101101
" ),\n",
102102
")\n",
103-
"ax1.set_facecolor(\"#1EB7D0\")\n",
104103
"ax1.add_feature(cartopy.feature.LAND, zorder=1)\n",
104+
"ax1.add_feature(cartopy.feature.OCEAN, zorder=1)\n",
105105
"ax1.coastlines()\n",
106106
"scat1 = ax1.scatter(\n",
107107
" lon[b],\n",
@@ -121,8 +121,8 @@
121121
" central_latitude=-90, central_longitude=-30, satellite_height=15000000\n",
122122
" ),\n",
123123
")\n",
124-
"ax2.set_facecolor(\"#1EB7D0\")\n",
125124
"ax2.add_feature(cartopy.feature.LAND, zorder=1)\n",
125+
"ax2.add_feature(cartopy.feature.OCEAN, zorder=1)\n",
126126
"ax2.coastlines()\n",
127127
"scat2 = ax2.scatter(\n",
128128
" lon[b],\n",
@@ -152,7 +152,7 @@
152152
"fig.canvas.draw()\n",
153153
"plt.tight_layout()\n",
154154
"# writergif = PillowWriter(fps=6)\n",
155-
"# anim.save('homepageshort.gif',writer=writergif)"
155+
"# anim.save('homepageshort.gif', writer=writergif, savefig_kwargs={\"transparent\": True})"
156156
]
157157
},
158158
{

docs/examples/images/homepage.gif

41.3 KB
Loading

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Parcels documentation
55
Welcome to the documentation of Parcels. **Parcels** (Probably A Really Computationally Efficient Lagrangian Simulator) is a set of Python classes and methods to create customisable particle tracking simulations using output from Ocean Circulation models. Parcels can be used to track passive and active particulates such as water, plankton, `plastic <http://www.topios.org/>`_ and `fish <https://github.com/Jacketless/IKAMOANA>`_.
66

77
.. figure:: _static/homepage.gif
8+
:class: dark-light
89

910
*Animation of virtual particles carried by ocean surface flow in the global oceans. The particles are advected with Parcels in data from the* `NEMO Ocean Model <https://www.nemo-ocean.eu/>`_.
1011

0 commit comments

Comments
 (0)