Giter VIP home page Giter VIP logo

Comments (7)

pocke avatar pocke commented on August 29, 2024

https://twitter.com/r7kamura/status/1232001797713059841

+ / <=> == ===
absolute? ascend atime
basename binread binwrite birthtime blockdev?
chardev? children chmod chown cleanpath ctime
...

みたいに先頭1文字でグルーピングして並べるのはありかもしれない。ただ、クラスによっては不自然にガタガタしたリストができるかなあ…。

from bitclust.

scivola avatar scivola commented on August 29, 2024

この手のリストは多段組が見やすいと思うので,サンプルを作ってみました。

method-TOC

当然ながら面積を喰います。
また,欠点を示すためにわざとメソッド名が 2 行に折れている例(each_with_indexeach_with_object)を入れておきました。
メソッド名が途中で改行されちゃうのは,やはり見づらいですね。「なんだ? この xct は?」って思いませんでしたか?
これを防ぐ(減らす)ためにはカラムの幅を広めに取る必要がありますが(このサンプルはわざと狭めにしてある),そうするとますます面積を喰います。
このあたりはトレードオフでしょうか。

このサンプルを見て改めて感じましたが,エイリアスを隣接させているため,リストが純粋な ABC 順になっていなくて何順なのか分かりにくいですね。
エイリアスであることはジャンプ先で分かれば十分なので,一覧ではバラして完全に ABC 順にするのはどうでしょうか。

from bitclust.

pocke avatar pocke commented on August 29, 2024

おおー、よさそう👏
しばらく待って他に案がなければこれでいきますかね。
その際は実装までお願いできるでしょうか?

エイリアスであることはジャンプ先で分かれば十分なので,一覧ではバラして完全に ABC 順にするのはどうでしょうか。

良いと思います!

from bitclust.

scivola avatar scivola commented on August 29, 2024

その際は実装までお願いできるでしょうか?

BitClust がさっぱり分からないのですが,

  • bitclust/data/bitclust/template/
  • bitclust/theme/default/

の中身をいじればいいのでしょうか?
テーマには lillia というのもあるようですが,こちらも?
また,テンプレートには *.epub と *.offline もありますが,これらも?

手許で確認するためには出来上がりを見ないといけませんが,bitclust コマンドは実は

bitclust htmlfile 

以外をほぼ使ったことがなく,よく分からないので,そこらへんから勉強です。

from bitclust.

pocke avatar pocke commented on August 29, 2024

BitClust がさっぱり分からないのですが,

すみません、パッと説明できるほどにまとまってないので、Contribution Guideなどを作ってまとめようと思います! しばしお待ちください🙏

from bitclust.

scivola avatar scivola commented on August 29, 2024

プルリクエストが取り込まれたので,ひとまず閉じていただいていいのではと思います。

from bitclust.

hanachin avatar hanachin commented on August 29, 2024

プルリクエストありがとうございました。Closeします。

from bitclust.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.