Notebooks index: say that an opened notebook does not pick up later updates (follow bdsim#272)

Offen Anfängerfreundlich
#945 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
1/5
Geschätzter Aufwand
Unter einer Stunde
Anfängerfreundlichkeit
90/100
Issue-Typ
Dokumentation
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
jupyter
Bereich
documentation

Rechercherichtung

Öffne docs/notebooks/index.ipynb und suche unten die Zelle „Working with files“. Füge den bereitgestellten Absatz zu Updates am Ende des Zitatblocks ein und prüfe anschließend, ob das Notebook den Text wie vorgesehen anzeigt. Fertig ist die Änderung, wenn der Abschnitt erklärt, dass geöffnete Notebooks keine späteren Aktualisierungen der Website erhalten, und den Lesenden mitteilt, wie sie die neueste Version erhalten.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

JupyterLite keeps every notebook a visitor opens in that browser's IndexedDB, and the browser's copy wins over the file on the site. A later deploy of the notebooks, including a fix, never reaches anyone who opened the notebook before. Clearing the HTTP cache does not help. This was found in bdsim (petercorke/bdsim#271) when a fixed bootstrap cell did not show up in a normal Safari window, only in a private one.

The "Working with files" section at the bottom of this repo's docs/notebooks/index.ipynb explains that the sidebar's files live in the browser, but not this. bdsim has copied the section and added a sentence (petercorke/bdsim#272):

Updates. A notebook that you have already opened stays as it was when you last opened it, and does not pick up later updates to this site. To get the latest version, delete the notebook in the sidebar and reload the page.

To do: add the same paragraph to the end of the quote block in the "Working with files" cell. If the build later avoids the problem (for example by naming the contents storage per deploy, the options in bdsim#271), the sentence can go.

Vorherrschende Sprache
C++
Sterne
3.6k
Forks
652
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
90

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus petercorke/robotics-toolbox-python

Alle Issues in petercorke/robotics-toolbox-python

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.