-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontributing.html
1017 lines (733 loc) · 54.3 KB
/
contributing.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en" data-content_root="./" data-theme="light">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Contributing — Examples 0.1.0 documentation</title>
<script data-cfasync="false">
document.documentElement.dataset.mode = localStorage.getItem("mode") || "light";
document.documentElement.dataset.theme = localStorage.getItem("theme") || "light";
</script>
<!-- Loaded before other Sphinx assets -->
<link href="_static/styles/theme.css?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" />
<link href="_static/styles/bootstrap.css?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" />
<link href="_static/styles/pydata-sphinx-theme.css?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" />
<link href="_static/vendor/fontawesome/6.5.2/css/all.min.css?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.5.2/webfonts/fa-solid-900.woff2" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.5.2/webfonts/fa-brands-400.woff2" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.5.2/webfonts/fa-regular-400.woff2" />
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css" />
<link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />
<link rel="stylesheet" type="text/css" href="_static/nbsite.css?v=d9d93254" />
<link rel="stylesheet" type="text/css" href="_static/notebook.css?v=19946987" />
<link rel="stylesheet" type="text/css" href="_static/gallery.css?v=0a3248cd" />
<link rel="stylesheet" type="text/css" href="_static/alert.css?v=c26666be" />
<link rel="stylesheet" type="text/css" href="_static/dataframe.css?v=a0f274c1" />
<link rel="stylesheet" type="text/css" href="_static/scroller.css?v=2dcde208" />
<link rel="stylesheet" type="text/css" href="_static/hv-sidebar-dropdown.css?v=3e2b0152" />
<link rel="stylesheet" type="text/css" href="_static/css/custom.css?v=a55e9723" />
<link rel="stylesheet" type="text/css" href="_static/css/header.css?v=17f387d9" />
<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b" />
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
<script src="_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
<script src="_static/documentation_options.js?v=2caa9db7"></script>
<script src="_static/doctools.js?v=9bcbadda"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/clipboard.min.js?v=a7894cd8"></script>
<script src="_static/copybutton.js?v=f281be69"></script>
<script src="_static/design-tabs.js?v=f930bc37"></script>
<script>
window.goatcounter = {
path: function(p) { return location.host + p }
}
</script>
<script async="async" data-goatcounter="https://holoviz.goatcounter.com/count" src="_static/js/goatcounter.js?v=f53f84b8"></script>
<script>
window.goatcounter = {
path: function(p) { return location.host + p }
}
</script>
<script>DOCUMENTATION_OPTIONS.pagename = 'contributing';</script>
<link rel="icon" href="_static/favicon.ico"/>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="prev" title="Getting started" href="getting_started.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="2025-01-20"/>
</head>
<body data-bs-spy="scroll" data-bs-target=".bd-toc-nav" data-offset="180" data-bs-root-margin="0px 0px -60%" data-default-mode="light">
<div id="pst-skip-link" class="skip-link d-print-none"><a href="#main-content">Skip to main content</a></div>
<div id="pst-scroll-pixel-helper"></div>
<button type="button" class="btn rounded-pill" id="pst-back-to-top">
<i class="fa-solid fa-arrow-up"></i>Back to top</button>
<input type="checkbox"
class="sidebar-toggle"
id="pst-primary-sidebar-checkbox"/>
<label class="overlay overlay-primary" for="pst-primary-sidebar-checkbox"></label>
<input type="checkbox"
class="sidebar-toggle"
id="pst-secondary-sidebar-checkbox"/>
<label class="overlay overlay-secondary" for="pst-secondary-sidebar-checkbox"></label>
<div class="search-button__wrapper">
<div class="search-button__overlay"></div>
<div class="search-button__search-container">
<form class="bd-search d-flex align-items-center"
action="search.html"
method="get">
<i class="fa-solid fa-magnifying-glass"></i>
<input type="search"
class="form-control"
name="q"
id="search-input"
placeholder="Search the docs ..."
aria-label="Search the docs ..."
autocomplete="off"
autocorrect="off"
autocapitalize="off"
spellcheck="false"/>
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span>
</form></div>
</div>
<div class="pst-async-banner-revealer d-none">
<aside id="bd-header-version-warning" class="d-none d-print-none" aria-label="Version warning"></aside>
</div>
<header class="bd-header navbar navbar-expand-lg bd-navbar d-print-none">
<div class="bd-header__inner bd-page-width">
<button class="pst-navbar-icon sidebar-toggle primary-toggle" aria-label="Site navigation">
<span class="fa-solid fa-bars"></span>
</button>
<div class="col-lg-3 navbar-header-items__start">
<div class="navbar-item">
<a class="navbar-brand logo" href="index.html">
<img src="_static/holoviz-logo-unstacked.svg" class="logo__image only-light" alt="Examples 0.1.0 documentation - Home"/>
<script>document.write(`<img src="_static/holoviz-logo-unstacked.svg" class="logo__image only-dark" alt="Examples 0.1.0 documentation - Home"/>`);</script>
</a></div>
</div>
<div class="col-lg-9 navbar-header-items">
<div class="me-auto navbar-header-items__center">
<div class="navbar-item">
<nav>
<ul class="bd-navbar-elements navbar-nav">
<li class="nav-item ">
<a class="nav-link nav-internal" href="gallery/index.html">
Gallery
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-internal" href="getting_started.html">
Getting started
</a>
</li>
<li class="nav-item current active">
<a class="nav-link nav-internal" href="#">
Contributing
</a>
</li>
</ul>
</nav></div>
</div>
<div class="navbar-header-items__end">
<div class="navbar-item navbar-persistent--container">
<script>
document.write(`
<button class="btn search-button-field search-button__button" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
<i class="fa-solid fa-magnifying-glass"></i>
<span class="search-button__default-text">Search</span>
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span>
</button>
`);
</script>
</div>
<div class="navbar-item"><ul class="navbar-icon-links"
aria-label="Icon Links">
<li class="nav-item">
<a href="https://github.com/holoviz-topics/examples" title="GitHub" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-square-github fa-lg" aria-hidden="true"></i>
<span class="sr-only">GitHub</span></a>
</li>
<li class="nav-item">
<a href="https://twitter.com/holoviz_org" title="Twitter" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fab fa-twitter-square fa-lg" aria-hidden="true"></i>
<span class="sr-only">Twitter</span></a>
</li>
<li class="nav-item">
<a href="https://discourse.holoviz.org/" title="Forum" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fab fa-discourse fa-lg" aria-hidden="true"></i>
<span class="sr-only">Forum</span></a>
</li>
<li class="nav-item">
<a href="https://discord.gg/UXdtYyGVQX" title="Discord" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-discord fa-lg" aria-hidden="true"></i>
<span class="sr-only">Discord</span></a>
</li>
</ul></div>
</div>
</div>
<div class="navbar-persistent--mobile">
<script>
document.write(`
<button class="btn search-button-field search-button__button" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
<i class="fa-solid fa-magnifying-glass"></i>
<span class="search-button__default-text">Search</span>
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span>
</button>
`);
</script>
</div>
<button class="pst-navbar-icon sidebar-toggle secondary-toggle" aria-label="On this page">
<span class="fa-solid fa-outdent"></span>
</button>
</div>
</header>
<div class="bd-container">
<div class="bd-container__inner bd-page-width">
<div class="bd-sidebar-primary bd-sidebar">
<div class="sidebar-header-items sidebar-primary__section">
<div class="sidebar-header-items__center">
<div class="navbar-item">
<nav>
<ul class="bd-navbar-elements navbar-nav">
<li class="nav-item ">
<a class="nav-link nav-internal" href="gallery/index.html">
Gallery
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-internal" href="getting_started.html">
Getting started
</a>
</li>
<li class="nav-item current active">
<a class="nav-link nav-internal" href="#">
Contributing
</a>
</li>
</ul>
</nav></div>
</div>
<div class="sidebar-header-items__end">
<div class="navbar-item"><ul class="navbar-icon-links"
aria-label="Icon Links">
<li class="nav-item">
<a href="https://github.com/holoviz-topics/examples" title="GitHub" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-square-github fa-lg" aria-hidden="true"></i>
<span class="sr-only">GitHub</span></a>
</li>
<li class="nav-item">
<a href="https://twitter.com/holoviz_org" title="Twitter" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fab fa-twitter-square fa-lg" aria-hidden="true"></i>
<span class="sr-only">Twitter</span></a>
</li>
<li class="nav-item">
<a href="https://discourse.holoviz.org/" title="Forum" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fab fa-discourse fa-lg" aria-hidden="true"></i>
<span class="sr-only">Forum</span></a>
</li>
<li class="nav-item">
<a href="https://discord.gg/UXdtYyGVQX" title="Discord" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-discord fa-lg" aria-hidden="true"></i>
<span class="sr-only">Discord</span></a>
</li>
</ul></div>
</div>
</div>
<div class="sidebar-primary-items__start sidebar-primary__section">
<div class="sidebar-primary-item"><!-- Adapted from sidebar-nav-bs.html (1.15.2) with the following changes
- Commented out the tag that adds the "Section Navigation" title
- Call generate_toctree_html with startdepth=0
Please update this file when required when bumping the max pin of pydata-sphinx-theme.
-->
<nav class="bd-docs-nav bd-links"
aria-label="Section Navigation">
<!-- <p class="bd-links__title" role="heading" aria-level="1">Section Navigation</p> -->
<div class="bd-toc-item navbar-nav"><ul class="current nav bd-sidenav">
<li class="toctree-l1 has-children"><a class="reference internal" href="gallery/index.html">Gallery</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
<li class="toctree-l2 has-children"><a class="reference internal" href="gallery/featured.html">⭐ Featured</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
<li class="toctree-l3 has-children"><a class="reference internal" href="gallery/attractors/index.html">Attractors</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
<li class="toctree-l4"><a class="reference internal" href="gallery/attractors/attractors.html">Visualizing Attractors</a></li>
<li class="toctree-l4"><a class="reference internal" href="gallery/attractors/attractors_panel.html">Strange Attractors App</a></li>
<li class="toctree-l4"><a class="reference internal" href="gallery/attractors/clifford_panel.html">Clifford attractors</a></li>
</ul>
</details></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/gapminders/gapminders.html">Gapminders</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/glaciers/glaciers.html">Glaciers</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/heat_and_trees/heat_and_trees.html">Heat And Trees</a></li>
<li class="toctree-l3 has-children"><a class="reference internal" href="gallery/multichannel_timeseries/index.html">Multichannel Timeseries</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
<li class="toctree-l4"><a class="reference internal" href="gallery/multichannel_timeseries/0_multichan.html">Multichannel Timeseries</a></li>
<li class="toctree-l4"><a class="reference internal" href="gallery/multichannel_timeseries/1_large_multichan.html">Large Multichannel Timeseries</a></li>
</ul>
</details></li>
<li class="toctree-l3 has-children"><a class="reference internal" href="gallery/nyc_taxi/index.html">NYC Taxi</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
<li class="toctree-l4"><a class="reference internal" href="gallery/nyc_taxi/dashboard.html">Panel dashboard</a></li>
<li class="toctree-l4"><a class="reference internal" href="gallery/nyc_taxi/nyc_taxi-nongeo.html">Non-geographical Analysis</a></li>
<li class="toctree-l4"><a class="reference internal" href="gallery/nyc_taxi/nyc_taxi.html">Geographical Analysis</a></li>
</ul>
</details></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/portfolio_optimizer/portfolio_optimizer.html">Portfolio Optimization</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/ship_traffic/ship_traffic.html">Exploring AIS vessel-traffic data</a></li>
</ul>
</details></li>
<li class="toctree-l2 has-children"><a class="reference internal" href="gallery/geospatial.html">Geospatial</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
<li class="toctree-l3"><a class="reference internal" href="gallery/bay_trimesh/bay_trimesh.html">Bay Trimesh</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/census/census.html">Census 2010</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/datashader_dashboard/datashader_dashboard.html">Datashader Dashboard</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/exoplanets/exoplanets.html">Exoplanets</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/gerrymandering/gerrymandering.html">Gerrymandering</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/glaciers/glaciers.html">Glaciers</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/gull_tracking/gull_tracking.html">Gull Tracking</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/heat_and_trees/heat_and_trees.html">Heat And Trees</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/landsat/landsat.html">Landsat</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/landsat_clustering/landsat_clustering.html">Landsat Clustering</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/landuse_classification/landuse_classification.html">Land use Classification</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/ml_annotators/ml_annotators.html">ML Annotators</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/nyc_buildings/nyc_buildings.html">NYC buildings</a></li>
<li class="toctree-l3 has-children"><a class="reference internal" href="gallery/nyc_taxi/index.html">NYC Taxi</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
<li class="toctree-l4"><a class="reference internal" href="gallery/nyc_taxi/dashboard.html">Panel dashboard</a></li>
<li class="toctree-l4"><a class="reference internal" href="gallery/nyc_taxi/nyc_taxi-nongeo.html">Non-geographical Analysis</a></li>
<li class="toctree-l4"><a class="reference internal" href="gallery/nyc_taxi/nyc_taxi.html">Geographical Analysis</a></li>
</ul>
</details></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/opensky/opensky.html">Opensky</a></li>
<li class="toctree-l3 has-children"><a class="reference internal" href="gallery/osm/index.html">Osm</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
<li class="toctree-l4"><a class="reference internal" href="gallery/osm/osm-1billion.html">Datashading a 1-billion-point Open Street Map database</a></li>
<li class="toctree-l4"><a class="reference internal" href="gallery/osm/osm-3billion.html">Datashading a 2.7-billion-point Open Street Map database</a></li>
</ul>
</details></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/seattle_lidar/seattle_lidar.html">Seattle Lidar</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/ship_traffic/ship_traffic.html">Exploring AIS vessel-traffic data</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/walker_lake/walker_lake.html">Walker Lake</a></li>
</ul>
</details></li>
<li class="toctree-l2 has-children"><a class="reference internal" href="gallery/finance_and_economics.html">Finance and Economics</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
<li class="toctree-l3"><a class="reference internal" href="gallery/gapminders/gapminders.html">Gapminders</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/hipster_dynamics/hipster_dynamics.html">Hipster Dynamics</a></li>
<li class="toctree-l3 has-children"><a class="reference internal" href="gallery/iex_trading/index.html">IEX trading</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
<li class="toctree-l4"><a class="reference internal" href="gallery/iex_trading/IEX_stocks.html">IEX Trading</a></li>
<li class="toctree-l4"><a class="reference internal" href="gallery/iex_trading/IEX_trading.html">IEX Trading</a></li>
</ul>
</details></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/portfolio_optimizer/portfolio_optimizer.html">Portfolio Optimization</a></li>
</ul>
</details></li>
<li class="toctree-l2 has-children"><a class="reference internal" href="gallery/mathematics.html">Mathematics</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
<li class="toctree-l3 has-children"><a class="reference internal" href="gallery/attractors/index.html">Attractors</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
<li class="toctree-l4"><a class="reference internal" href="gallery/attractors/attractors.html">Visualizing Attractors</a></li>
<li class="toctree-l4"><a class="reference internal" href="gallery/attractors/attractors_panel.html">Strange Attractors App</a></li>
<li class="toctree-l4"><a class="reference internal" href="gallery/attractors/clifford_panel.html">Clifford attractors</a></li>
</ul>
</details></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/boids/boids.html">Boids</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/euler/euler.html">Euler</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/genetic_algorithm/genetic_algorithm.html">Genetic Algorithm</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/goldbach_comet/goldbach_comet.html">Goldbach's comet</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/hipster_dynamics/hipster_dynamics.html">Hipster Dynamics</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/lsystems/lsystems.html">L-systems</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/particle_swarms/particle_swarms.html">Particle Swarms</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/square_limit/square_limit.html">Square Limit</a></li>
</ul>
</details></li>
<li class="toctree-l2 has-children"><a class="reference internal" href="gallery/neuroscience.html">Neuroscience</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
<li class="toctree-l3 has-children"><a class="reference internal" href="gallery/multichannel_timeseries/index.html">Multichannel Timeseries</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
<li class="toctree-l4"><a class="reference internal" href="gallery/multichannel_timeseries/0_multichan.html">Multichannel Timeseries</a></li>
<li class="toctree-l4"><a class="reference internal" href="gallery/multichannel_timeseries/1_large_multichan.html">Large Multichannel Timeseries</a></li>
</ul>
</details></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/streaming_timeseries/streaming_timeseries.html">Streaming Timeseries</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/timelapse_microscopy/timelapse_microscopy.html">Time-lapse Microscopy</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/volumetric_imaging/volumetric_imaging.html">Volumetric Imaging</a></li>
</ul>
</details></li>
<li class="toctree-l2 has-children"><a class="reference internal" href="gallery/cybersecurity_and_networks.html">Cybersecurity and Networks</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
<li class="toctree-l3"><a class="reference internal" href="gallery/network_packets/network_packets.html">Network Packets</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/uk_researchers/uk_researchers.html">Uk Researchers</a></li>
</ul>
</details></li>
<li class="toctree-l2 has-children"><a class="reference internal" href="gallery/other_sciences.html">Other Sciences</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
<li class="toctree-l3"><a class="reference internal" href="gallery/boids/boids.html">Boids</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/carbon_flux/carbon_flux.html">Carbon Flux</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/genetic_algorithm/genetic_algorithm.html">Genetic Algorithm</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/gull_tracking/gull_tracking.html">Gull Tracking</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/penguin_crossfilter/penguin_crossfilter.html">Penguin Crossfilter</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/sri_model/sri_model.html">SRI Model</a></li>
<li class="toctree-l3"><a class="reference internal" href="gallery/template/template.html">Template</a></li>
</ul>
</details></li>
<li class="toctree-l2 has-children"><a class="reference internal" href="gallery/sports.html">Sports</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
<li class="toctree-l3"><a class="reference internal" href="gallery/world_cup/world_cup.html">FIFA World Cup 2018</a></li>
</ul>
</details></li>
</ul>
</details></li>
<li class="toctree-l1"><a class="reference internal" href="getting_started.html">Getting started</a></li>
<li class="toctree-l1 current active"><a class="current reference internal" href="#">Contributing</a></li>
</ul>
</div>
</nav></div>
<div class="sidebar-primary-item">
<div class="hv-sb-dd">
<div class="btn-group">
<a href="https://holoviz.org" class="btn hv-sb-dd-value" target="_blank">HoloViz.org<i class="fa fa-external-link hv-icon" aria-hidden="true"></i></a>
<button type="button" class="btn dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
<span class="visually-hidden"></span>
</button>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="https://param.holoviz.org" target="_blank" title="Assembling objects from many different libraries into a layout or app, whether in a Jupyter notebook or in a standalone servable dashboard">Panel<i class="fa fa-external-link hv-icon" aria-hidden="true"></i></a></li>
<li><a class="dropdown-item" href="https://hvplot.holoviz.org" target="_blank" title="Quickly return interactive HoloViews, GeoViews, or Panel objects from Pandas, Xarray, or other data structures">hvPlot<i class="fa fa-external-link hv-icon" aria-hidden="true"></i></a></li>
<li><a class="dropdown-item" href="https://holoviews.org" target="_blank" title="Declarative objects for instantly visualizable data, building Bokeh plots from convenient high-level specifications">HoloViews<i class="fa fa-external-link hv-icon" aria-hidden="true"></i></a></li>
<li><a class="dropdown-item" href="https://geoviews.org" target="_blank" title="Visualizable geographic data that that can be mixed and matched with HoloViews objects">GeoViews<i class="fa fa-external-link hv-icon" aria-hidden="true"></i></a></li>
<li><a class="dropdown-item" href="https://datashader.org" target="_blank" title="Rasterizing huge datasets quickly as fixed-size images">Datashader<i class="fa fa-external-link hv-icon" aria-hidden="true"></i></a></li>
<li><a class="dropdown-item" href="https://param.holoviz.org" target="_blank" title="Make your Python code clearer and more reliable by declaring Parameters">Param<i class="fa fa-external-link hv-icon" aria-hidden="true"></i></a></li>
<li><a class="dropdown-item" href="https://lumen.holoviz.org" target="_blank" title="Framework for visual analytics that allows users to build data-driven dashboards from a simple YAML specification">Lumen<i class="fa fa-external-link hv-icon" aria-hidden="true"></i></a></li>
<li><a class="dropdown-item" href="https://colorcet.holoviz.org" target="_blank" title="A wide range of perceptually uniform continuous colormaps and perceptually based categorical color sets for use with the other libraries">Colorcet<i class="fa fa-external-link hv-icon" aria-hidden="true"></i></a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="https://blog.holoviz.org" target="_blank" title="HoloViz blog">Blog<i class="fa fa-external-link hv-icon" aria-hidden="true"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="sidebar-primary-items__end sidebar-primary__section">
</div>
<div id="rtd-footer-container"></div>
</div>
<main id="main-content" class="bd-main" role="main">
<div class="bd-content">
<div class="bd-article-container">
<div class="bd-header-article d-print-none">
<div class="header-article-items header-article__inner">
<div class="header-article-items__start">
<div class="header-article-item">
<nav aria-label="Breadcrumb" class="d-print-none">
<ul class="bd-breadcrumbs">
<li class="breadcrumb-item breadcrumb-home">
<a href="index.html" class="nav-link" aria-label="Home">
<i class="fa-solid fa-home"></i>
</a>
</li>
<li class="breadcrumb-item active" aria-current="page">Contributing</li>
</ul>
</nav>
</div>
</div>
</div>
</div>
<div id="searchbox"></div>
<article class="bd-article">
<section class="tex2jax_ignore mathjax_ignore" id="contributing">
<h1>Contributing<a class="headerlink" href="#contributing" title="Link to this heading">#</a></h1>
<p>You can contribute to this website either by submitting a new project
or by updating an existing one.</p>
<p>The steps to contribute are described on this page further down. For an easy introduction to how to contribute, you can watch this 16-minute video:</p>
<div align="right" style="margin-right:10% margin-left:10%;">
<iframe width="100%" height="400" src="https://www.youtube.com/embed/r-9MF0sx_nA" title="Holoviz examples: Contribute to the examples website" frameborder="0" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<p>Before you submit any contribution however, you should create an <code class="docutils literal notranslate"><span class="pre">Issue</span></code> in the <a class="reference external" href="https://github.com/holoviz-topics/examples">project repository</a>
detailing the changes you want to make to an existing example,
or the details of the new example you want to create.</p>
<section id="setup">
<h2>Setup<a class="headerlink" href="#setup" title="Link to this heading">#</a></h2>
<p>We <strong>strongly recommend</strong> you to set up the managing environment to be able
to validate and test a project locally, before submitting it to
this repository:</p>
<section id="fork-and-clone-the-repository">
<h3>Fork and Clone the repository<a class="headerlink" href="#fork-and-clone-the-repository" title="Link to this heading">#</a></h3>
<p>Create a fork of the repository and then clone your own fork via:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="w"> </span>git<span class="w"> </span>clone<span class="w"> </span>[email protected]:<YourUsername>/holoviz-topics-examples.git
</pre></div>
</div>
</section>
<section id="create-the-development-environment">
<h3>Create the development environment<a class="headerlink" href="#create-the-development-environment" title="Link to this heading">#</a></h3>
<p>From the top level of your cloned directory, run:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>conda<span class="w"> </span>env<span class="w"> </span>create<span class="w"> </span>--file<span class="w"> </span>envs/environment.yml
conda<span class="w"> </span>activate<span class="w"> </span>examples-gallery-manage
</pre></div>
</div>
<p>Then add the repository as your <code class="docutils literal notranslate"><span class="pre">origin</span></code> with the following commands:</p>
<p><strong>SSH</strong></p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>git<span class="w"> </span>remote<span class="w"> </span>add<span class="w"> </span>origin<span class="w"> </span>[email protected]:holoviz-topics/examples.git
</pre></div>
</div>
<p><strong>HTTPS</strong></p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>git<span class="w"> </span>remote<span class="w"> </span>add<span class="w"> </span>origin<span class="w"> </span>https://github.com/holoviz-topics/examples.git
</pre></div>
</div>
</section>
</section>
<section id="add-a-project">
<span id="id1"></span><h2>Add a project<a class="headerlink" href="#add-a-project" title="Link to this heading">#</a></h2>
<p>Once you have an example (one or more notebook(s)) that you think is ready to be
shared on this website follow these steps to set it up correctly.</p>
<section id="create-the-project-directory">
<h3>1. Create the project directory<a class="headerlink" href="#create-the-project-directory" title="Link to this heading">#</a></h3>
<p>Its name must be all lower-case, only including underscore as
special characters. This name is important as you will have to
re-use it as-is in multiple places.</p>
</section>
<section id="use-the-template">
<h3>2. Use the template<a class="headerlink" href="#use-the-template" title="Link to this heading">#</a></h3>
<p>Copy the template project from <code class="docutils literal notranslate"><span class="pre">template/anaconda-project.yml</span></code> to your project.
You will use this file as a basis to build your own project.
You can further explore the <code class="docutils literal notranslate"><span class="pre">template</span></code> example folder, which houses a fully executable and deployable project.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>Do not forget to clean up the notes left in the template project file
once you are done updating it for your own project.</p>
</div>
</section>
<section id="move-your-notebook-s-to-your-project-directory">
<h3>3. Move your notebook(s) to your project directory<a class="headerlink" href="#move-your-notebook-s-to-your-project-directory" title="Link to this heading">#</a></h3>
<p>If your project has a single notebook it must share the same name
as your project directory. If your project has more than one notebooks,
it must have an <code class="docutils literal notranslate"><span class="pre">index.ipynb</span></code> notebook that will link to your other notebooks.</p>
<p>Your project may have notebooks that are not meant to be displayed on the website,
such as pre-processing notebooks. See the <code class="docutils literal notranslate"><span class="pre">skip</span></code> option to declare them:</p>
<div class="highlight-yaml notranslate"><div class="highlight"><pre><span></span><span class="nt">skip</span><span class="p">:</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">data_prep.ipynb</span>
</pre></div>
</div>
<p>Your notebooks should be committed <strong>without output</strong>. The system will be in charge
of executing your notebooks based on your project characteristics, to
build the documentation.</p>
<p>In some cases it is impossible for the system to execute your notebooks. This
happens for instance if your notebooks are too long to run, require too much
data, require special hardware, etc. In those cases, you should instead commit
your notebooks <em>with output</em> and set <code class="docutils literal notranslate"><span class="pre">skip_notebooks_evaluation</span></code> to <code class="docutils literal notranslate"><span class="pre">true</span></code>.</p>
</section>
<section id="list-the-dependencies">
<h3>4. List the dependencies<a class="headerlink" href="#list-the-dependencies" title="Link to this heading">#</a></h3>
<p>Add to your <code class="docutils literal notranslate"><span class="pre">anaconda-project.yml</span></code> file the dependencies required to run
your notebook(s) and application(s). The recommended practice is to pin
all your dependencies using either <code class="docutils literal notranslate"><span class="pre">>=</span></code> (for easier updates) or <code class="docutils literal notranslate"><span class="pre">==</span></code>.</p>
</section>
<section id="manage-the-data">
<h3>5. Manage the data<a class="headerlink" href="#manage-the-data" title="Link to this heading">#</a></h3>
<p>There are multiple ways to manage the data required to run a project:</p>
<ul class="simple">
<li><p>the project does not ingest any data, as it either generates it on the fly
or as it just provides written indications on how to get it: set <code class="docutils literal notranslate"><span class="pre">no_data_ingestion</span></code>
to <code class="docutils literal notranslate"><span class="pre">true</span></code> in the <code class="docutils literal notranslate"><span class="pre">anaconda-project.yml</span></code></p></li>
<li><p>the project needs to download some data, you have two options:</p>
<ul>
<li><p>fill in the <code class="docutils literal notranslate"><span class="pre">downloads</span></code> section of the <code class="docutils literal notranslate"><span class="pre">anaconda-project.yml</span></code> file.</p></li>
<li><p>or, create an Intake catalog and load it in your notebooks, the catalog must be named
<code class="docutils literal notranslate"><span class="pre">catalog.yml</span></code> and be at the root of your project</p></li>
</ul>
</li>
<li><p>the project relies on some very light data, then it can be committed to the repository
as is. It must be stored in a <code class="docutils literal notranslate"><span class="pre">data/</span></code> subfolder of your project</p></li>
</ul>
<p>When using an Intake catalog, point the cache to the data dir in the
project by defining the <code class="docutils literal notranslate"><span class="pre">INTAKE_CACHE_DIR</span></code> variable in the
<code class="docutils literal notranslate"><span class="pre">anaconda-project.yml</span></code> file:</p>
<div class="highlight-yaml notranslate"><div class="highlight"><pre><span></span><span class="nt">variables</span><span class="p">:</span>
<span class="w"> </span><span class="nt">INTAKE_CACHE_DIR</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">data</span>
</pre></div>
</div>
<p>This way when the user runs the notebook, they will still be able to see
the data from within the project directory</p>
</section>
<section id="testing">
<h3>6. Testing<a class="headerlink" href="#testing" title="Link to this heading">#</a></h3>
<p>Your project will be automatically tested by the system:</p>
<ul class="simple">
<li><p>the notebooks will be linted with <code class="docutils literal notranslate"><span class="pre">flake8</span></code>. If you deem that the linter is too strict, you
can add some more rules to ignore to the <code class="docutils literal notranslate"><span class="pre">pyproject.toml</span></code> configuration file</p></li>
<li><p>the notebooks will be remotely executed with <code class="docutils literal notranslate"><span class="pre">nbval</span></code>, the tests failing if an error occurs during their execution</p></li>
</ul>
<p>If you project has some special testing needs, you can implement your own testing command by
adding a <code class="docutils literal notranslate"><span class="pre">test</span></code> command to the <code class="docutils literal notranslate"><span class="pre">anaconda-project.yml</span></code> file. You will presumably also need to
declare testing dependencies, you can do so by extending the default dependencies.</p>
<p>Projects that download data must provide a test dataset that is a reduced version of their full
dataset, which should be small enough to be committed to the repository. These datasets must be
saved in the <code class="docutils literal notranslate"><span class="pre">test_data</span></code> folder in a folder named as the project. When the system will test your project,
it will move your test data to the right place, i.e. your datasets to the <code class="docutils literal notranslate"><span class="pre">data/</span></code> subfolder and
will replace your Intake catalog. This step allows automated tests to be run in a practical way,
exercising all of the example’s functionality but on a feasible subset of the data involved.</p>
</section>
<section id="complete-the-anaconda-project-file">
<h3>7. Complete the anaconda-project file<a class="headerlink" href="#complete-the-anaconda-project-file" title="Link to this heading">#</a></h3>
<p>Follow the instructions provided in the <code class="docutils literal notranslate"><span class="pre">template/anaconda-project.yml</span></code> file.</p>
</section>
<section id="add-a-thumbnail">
<h3>8. Add a thumbnail<a class="headerlink" href="#add-a-thumbnail" title="Link to this heading">#</a></h3>
<p>Create a nice but lightweight PNG thumbnail (maximum size of 1MB) with an aspect ratio between 0.9 and 1.5.
Name it as your project if you have only one notebook or as <code class="docutils literal notranslate"><span class="pre">index.png</span></code> if you have multiple notebooks,
and save it in the <code class="docutils literal notranslate"><span class="pre">thumbnails</span></code> subfolder of your project.</p>
</section>
<section id="locking">
<h3>9. Locking<a class="headerlink" href="#locking" title="Link to this heading">#</a></h3>
<p>You must lock your project to capture the full set of dependencies that are required to execute it.</p>
<p>From your root directory, Run:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>doit<span class="w"> </span>lock:<projectname>
</pre></div>
</div>
<p>replacing <code class="docutils literal notranslate"><span class="pre"><projectname></span></code> with your project name.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>All <code class="docutils literal notranslate"><span class="pre">doit</span></code> commands must be run from the root directory.</p>
</div>
</section>
<section id="make-sure-it-works">
<h3>10. Make sure it works<a class="headerlink" href="#make-sure-it-works" title="Link to this heading">#</a></h3>
<p>If you have declared commands run them to check that they work as expected,
as this is what the users of your project will ultimately use. Run:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>anaconda-project<span class="w"> </span>run<span class="w"> </span><commandname>
</pre></div>
</div>
</section>
<section id="build-the-site-locally">
<span id="id2"></span><h3>11. Build the site locally<a class="headerlink" href="#build-the-site-locally" title="Link to this heading">#</a></h3>
<p>Build the site locally to make sure it looks the way you expect when it is eventually deployed.</p>
<p>To do this:</p>
<ol class="arabic">
<li><p>Run the project notebook(s), don’t clear their output.</p></li>
<li><p>Run:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>doit<span class="w"> </span>doc_one<span class="w"> </span>--name<span class="w"> </span><projectname>
</pre></div>
</div>
</li>
</ol>
<p>This command copies the notebooks in <code class="docutils literal notranslate"><span class="pre">./doc/gallery/<projectname></span></code> along with other files needed to build the docs (thumbnails, archive, assets, etc.), and builds the docs with Sphinx.</p>
<ol class="arabic simple" start="3">
<li><p>Open the built site on your web browser via: <code class="docutils literal notranslate"><span class="pre">./builtdocs/index.html</span></code></p></li>
<li><p>Clean up this process by running <code class="docutils literal notranslate"><span class="pre">doit</span> <span class="pre">clean</span> <span class="pre">doc_one</span></code> and then commit the notebook(s) <strong>without output.</strong></p></li>
</ol>
</section>
<section id="validate-test-and-build">
<h3>12. Validate, test, and build<a class="headerlink" href="#validate-test-and-build" title="Link to this heading">#</a></h3>
<p>After viewing the built site, you should run locally the steps that are going to be run on the CI.</p>
<p>Start by validating that your project is well specified by running</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>doit<span class="w"> </span>validate:<projectname>
</pre></div>
</div>
<p>Update your project until you have no validation <em>warning</em> left.</p>
<p>Run <code class="docutils literal notranslate"><span class="pre">doit</span> <span class="pre">clean</span> <span class="pre">--clean-dep</span> <span class="pre">validate:<projectname></span></code> to clean up that step.</p>
<p>Now you will test your project by running:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>doit<span class="w"> </span>test:<projectname>
</pre></div>
</div>
<p>Update your project until the tests pass.</p>
<p>Run <code class="docutils literal notranslate"><span class="pre">doit</span> <span class="pre">clean</span> <span class="pre">--clean-dep</span> <span class="pre">test:<projectname></span></code> to clean up that step.</p>
<p>If you built the site locally without any errors, you can skip this final build step. However, the command to run it for debugging purposes is:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>doit<span class="w"> </span>build:<projectname>
</pre></div>
</div>
<p>After validating and testing the project, this step should succeeed.</p>
<p>Run <code class="docutils literal notranslate"><span class="pre">doit</span> <span class="pre">clean</span> <span class="pre">--clean-dep</span> <span class="pre">build:<projectname></span></code> to clean up that step.</p>
</section>
<section id="open-a-pull-request">
<h3>13. Open a Pull Request<a class="headerlink" href="#open-a-pull-request" title="Link to this heading">#</a></h3>
<p>Open a Pull Request that adds your project to the repository. The CI
will take care of validating, testing and building it. If these steps
succeed the developer website will be built and you will be able to check
a rendered version of your project at https://holoviz-dev.github.io/examples/.</p>
<p>When the review of your Pull Request is completed and it is merged, the CI
will then take care of updating the main site. If you declared deployments,
the CI will also take care of automatically starting them.</p>
</section>
</section>
<section id="update-a-project">
<h2>Update a project<a class="headerlink" href="#update-a-project" title="Link to this heading">#</a></h2>
<p>To update an existing project, follow these simple steps.</p>
<section id="choose-the-project">
<h3>1. Choose the project<a class="headerlink" href="#choose-the-project" title="Link to this heading">#</a></h3>
<p>Navigate to the selected project directory and execute the following command:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>anaconda-project<span class="w"> </span>run<span class="w"> </span>notebook
</pre></div>
</div>
<p>This command opens the project notebook in your web browser. If there are multiple notebooks in the project, run:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>anaconda-project<span class="w"> </span>run<span class="w"> </span><notebook<span class="w"> </span>name>
</pre></div>
</div>
<p>Replace <code class="docutils literal notranslate"><span class="pre"><notebook</span> <span class="pre">name></span></code> with the desired notebook’s name.</p>
<p>Remember to commit the updated notebooks <strong>without output.</strong></p>
</section>
<section id="finalize-the-update">
<h3>2. Finalize the update<a class="headerlink" href="#finalize-the-update" title="Link to this heading">#</a></h3>
<p>To complete the process, follow the steps outlined in <a class="reference internal" href="#build-the-site-locally">Step 12</a> in the <a class="reference internal" href="#add-a-project">Add a project</a> section and continue until Step 13 which completes the process.</p>
</section>
</section>
</section>
</article>
<footer class="prev-next-footer d-print-none">
<div class="prev-next-area">
<a class="left-prev"
href="getting_started.html"
title="previous page">
<i class="fa-solid fa-angle-left"></i>
<div class="prev-next-info">
<p class="prev-next-subtitle">previous</p>
<p class="prev-next-title">Getting started</p>
</div>
</a>
</div>
</footer>
</div>
<div class="bd-sidebar-secondary bd-toc"><div class="sidebar-secondary-items sidebar-secondary__inner">
<div class="sidebar-secondary-item">
<div
id="pst-page-navigation-heading-2"
class="page-toc tocsection onthispage">
<i class="fa-solid fa-list"></i> On this page
</div>
<nav class="bd-toc-nav page-toc" aria-labelledby="pst-page-navigation-heading-2">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#setup">Setup</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#fork-and-clone-the-repository">Fork and Clone the repository</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#create-the-development-environment">Create the development environment</a></li>
</ul>
</li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#add-a-project">Add a project</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#create-the-project-directory">1. Create the project directory</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#use-the-template">2. Use the template</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#move-your-notebook-s-to-your-project-directory">3. Move your notebook(s) to your project directory</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#list-the-dependencies">4. List the dependencies</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#manage-the-data">5. Manage the data</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#testing">6. Testing</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#complete-the-anaconda-project-file">7. Complete the anaconda-project file</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#add-a-thumbnail">8. Add a thumbnail</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#locking">9. Locking</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#make-sure-it-works">10. Make sure it works</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#build-the-site-locally">11. Build the site locally</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#validate-test-and-build">12. Validate, test, and build</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#open-a-pull-request">13. Open a Pull Request</a></li>
</ul>
</li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#update-a-project">Update a project</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#choose-the-project">1. Choose the project</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#finalize-the-update">2. Finalize the update</a></li>
</ul>
</li>
</ul>
</nav></div>
</div></div>
</div>
<footer class="bd-footer-content">
</footer>
</main>
</div>
</div>
<!-- Scripts loaded after <body> so the DOM is not blocked -->
<script src="_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b"></script>
<script src="_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b"></script>
<footer class="bd-footer">
<div class="bd-footer__inner bd-page-width">
<div class="footer-items__start">
<div class="footer-item">
<p class="copyright">
© Copyright 2023 HoloViz Developers.
<br/>
</p>
</div>
<div class="footer-item"><p class="last-updated">
Last updated on 2025-01-20.
<br/>
</p></div>
</div>