javascript-tutorial / javascript-tutorial/en.javascript.info

ePub files are unusable on eReader (Kobo Sage)

未關閉
#3,707 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
HTML
星號
25.5k
分支
4k
PR 合併指標
30 天內沒有已合併 PR

描述

Hi,

The ePub versions of the books are unusable on my eReader (Kobo Sage): the eReader freezes for a very long time (minutes) when turning pages, or freezes permanently until the device is restarted.

The issue seems to be related to code samples: the freeze happen when turning to a page with a code sample on it.

This is a fairly recent eReader and I have other large technical books that work well on it. For example Fluent Python is over 1000 pages and full of large code samples (even syntax highlighting) and it works great, pages turn immediately. Eloquent JavaScript is another that works great.

So I suspect the problem might be something to do with the JavaScript.info ePubs.

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

首先,在 Kobo Sage 上使用 JavaScript.info ePub 重現凍結問題,尤其是在翻到包含程式碼範例的頁面時。該 issue 沒有指出原始檔案或測試,因此首先確認 ePub 的產生方式,並隔離有問題的範例或格式;當翻到包含程式碼範例的頁面時不會凍結,也不需要重新啟動裝置,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
documentation
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。