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

Aperta Adatta ai principianti
#945 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
90/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
jupyter
Ambito
documentation

Direzione di ricerca

Apri docs/notebooks/index.ipynb e trova la cella “Working with files” in fondo. Aggiungi il paragrafo Updates fornito alla fine del suo blocco di citazione, poi controlla che il notebook visualizzi il testo come previsto. Il lavoro è completato quando la sezione spiega che i notebook già aperti non ricevono gli aggiornamenti successivi del sito e indica ai lettori come ottenere la versione più recente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C++
Stelle
3.6k
Fork
652
Merge medio
1g 23h
PR unite (30g)
90

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di petercorke/robotics-toolbox-python

Tutte le issue di petercorke/robotics-toolbox-python

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.