reactjs / reactjs/react.dev

[Suggestion]: Documentation should be printable

未關閉
#7,443 2 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

type: documentation
主要語言
JavaScript
星號
11.8k
分支
7.9k
平均合併
1 天 11 小時
30 天內合併 PR
11

描述

Summary

Currently, the React documentation cannot be printed. Please add features for the documentation to be printable.

Details

I prefer reading documentation offline.

I'd like to add annotations. I want to read documentation from a book, not online.

This way of learning supports nature sustainment, is less energy draining and allows for better concentration.

The React documentation has come to a state where it is stable for the most part.

In the past, I successfully printed loads of online documentation and had some of them even be bound:

my books

Current Situation

Currently, printing the React documentation is not possible:

cannot print React documentation


Desired Situation

  1. Add CSS rules providing for reasonably printing the React documentation

  2. Add a "Download PDF" button to the documentation's left menu for printing a whole chapter/topic spanning several web pages as a whole (e.g. "Describing the UI"), like Microsoft does with their online documentation:

    Image

貢獻指南

開啟貢獻指南

從這裡開始

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

研究方向

先檢視 React 文件網站的樣式和左側選單入口,重點了解目前的列印輸出和章節導覽如何運作。完成的標準是文件能夠合理地列印,而且左側選單中的 Download PDF 選項可以產生跨越多個頁面的完整章節或主題。

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

評估

技術堆疊
css, javascript, react
領域
documentation, frontend
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
35/100

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

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