9b8e3a4bcd84ad0ee122031ec21680730c02df2f
mspeir
  Thu Jul 23 15:34:52 2026 -0700
Move vendored reveal.js library out of docs/slideDecks into the source tree

Per code review feedback on #37904, the reveal.js 5.1.0 files used by the
training slide decks now live in their conventional homes rather than bundled
under docs/slideDecks/reveal.js:

- JS  -> src/hg/js/external/ (reveal-5.1.0.js, reveal-notes-5.1.0.js),
added to that makefile; MIT LICENSE kept alongside.
- CSS -> src/hg/htdocs/style/ (reveal-5.1.0.css, reveal-white-5.1.0.css),
added to that makefile.
- Source Sans Pro fonts -> src/hg/htdocs/fonts/source-sans-pro/, matching
the existing font-awesome pattern (auto-rsynced, no makefile edit).

The white theme's @import and the five deck index.html files were updated to
reference the assets by absolute /js, /style, and /fonts paths.

refs #37904

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

diff --git docs/slideDecks/tutorial1-basics/presentation/index.html docs/slideDecks/tutorial1-basics/presentation/index.html
index 569bfc36ff5..1556572e343 100644
--- docs/slideDecks/tutorial1-basics/presentation/index.html
+++ docs/slideDecks/tutorial1-basics/presentation/index.html
@@ -1,24 +1,24 @@
 <!DOCTYPE html>
 <html lang="en">
 <head>
 <meta charset="utf-8">
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <title>UCSC Genome Browser · Tutorial 1: Basics</title>
 
-<link rel="stylesheet" href="../../reveal.js/dist/reveal.css">
-<link rel="stylesheet" href="../../reveal.js/dist/theme/white.css" id="theme">
+<link rel="stylesheet" href="/style/reveal-5.1.0.css">
+<link rel="stylesheet" href="/style/reveal-white-5.1.0.css" id="theme">
 
 <style>
   :root{
     --ucsc-blue:#1f3a5f;
     --ucsc-accent:#0b5394;
     --ucsc-gold:#e6a817;
   }
   .reveal { font-size: 32px; }
   .reveal h1,.reveal h2,.reveal h3 { color: var(--ucsc-blue); text-transform:none; letter-spacing:normal; }
   .reveal h1 { font-size: 1.9em; }
   .reveal h2 { font-size: 1.32em; }
   .reveal section img { border:none; box-shadow:none; }
   .reveal a { color: var(--ucsc-accent); }
   .reveal ul { width: 100%; box-sizing: border-box; }
   .reveal li { margin: 0.16em 0; }
@@ -818,30 +818,30 @@
   </div>
   <aside class="notes">
     Quick, warm intro to the team and project: based at UC Santa Cruz, California; the Browser has been online since 2000, so it turned 25 in 2025; a small team (fewer than 10) maintaining a free, public resource used worldwide. Acknowledge NIH funding. Keep it brief.
   </aside>
 </section>
 
 <section class="divider" data-background-color="#1f3a5f">
   <h1 style="color:#fff;margin-bottom:0.12em;">Thank you!</h1>
   <p style="color:#fff;font-size:0.72em;margin:0.05em 0;">Questions? · genome@soe.ucsc.edu</p>
   <p style="color:#cdd9e8;font-size:0.55em;margin:0.05em 0 0.45em;">UCSC Genome Browser · genome.ucsc.edu</p>
 </section>
 
 </div>
 </div>
 
-<script src="../../reveal.js/dist/reveal.js"></script>
-<script src="../../reveal.js/plugin/notes/notes.js"></script>
+<script src="/js/reveal-5.1.0.js"></script>
+<script src="/js/reveal-notes-5.1.0.js"></script>
 <script>
   Reveal.initialize({
     hash: true,
     slideNumber: 'c/t',
     transition: 'fade',
     width: 1280,
     height: 800,
     margin: 0.06,
     plugins: [ RevealNotes ]
   });
 </script>
 </body>
 </html>