google/comprehensive-rust

Rewrite speaker note system

开放

#1,232 创建于 2023年9月22日

 (1 条评论) (0 个反应) (0 位负责人)Rust (2,009 个派生)batch import
good first issuehelp wanted

仓库指标

星标
 (32,954 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南