From 52c76aaf31a107f0f52b3a1b6837fc20c627514c Mon Sep 17 00:00:00 2001 From: Andreas Zeller Date: Sun, 12 Nov 2023 16:16:24 +0100 Subject: [PATCH] Added missing links for mastodon --- beta/html/mastodon-timeline.css | 1 + beta/html/mastodon-timeline.js | 1 + docs/beta/notebooks/bookutils/setup.py | 12 ++++++++++++ 3 files changed, 14 insertions(+) create mode 120000 beta/html/mastodon-timeline.css create mode 120000 beta/html/mastodon-timeline.js create mode 100755 docs/beta/notebooks/bookutils/setup.py diff --git a/beta/html/mastodon-timeline.css b/beta/html/mastodon-timeline.css new file mode 120000 index 000000000..b1b6b3fa9 --- /dev/null +++ b/beta/html/mastodon-timeline.css @@ -0,0 +1 @@ +../../html/mastodon-timeline.css \ No newline at end of file diff --git a/beta/html/mastodon-timeline.js b/beta/html/mastodon-timeline.js new file mode 120000 index 000000000..c8101e54e --- /dev/null +++ b/beta/html/mastodon-timeline.js @@ -0,0 +1 @@ +../../html/mastodon-timeline.js \ No newline at end of file diff --git a/docs/beta/notebooks/bookutils/setup.py b/docs/beta/notebooks/bookutils/setup.py new file mode 100755 index 000000000..376c8e62d --- /dev/null +++ b/docs/beta/notebooks/bookutils/setup.py @@ -0,0 +1,12 @@ +#!/usr/bin/env python + +# We set a fixed seed for all notebooks and examples, +# such that creation is more predictable. + +# Interacting with a notebook (in particular executing cells again and again) +# will still yield new results every time. + +FIXED_SEED = 2001 + +import random +random.seed(FIXED_SEED) \ No newline at end of file