google/comprehensive-rust

Rewrite speaker note system

Open

#1 232 ouverte le 22 sept. 2023

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)Rust (2 009 forks)batch import
good first issuehelp wanted

Métriques du dépôt

Stars
 (32 954 stars)
Métriques de merge PR
 (Merge moyen 9j 23h) (36 PRs mergées en 30 j)

Description

The speaker-notes.js file is a little home-grown system for injecting speaker notes to the pages.

I would like to rewrite this to use a more modern development style:

  • we should minimize the code when publishing the course
  • we should make the label ("Speaker Notes") translatable!
  • we could perhaps use a library for some of the state logic?
  • we could take advantage of https://github.com/google/mdbook-i18n-helpers/issues/70 when it's ready to do less on the fly DOM manipulation

Guide contributeur