xmonad / xmonad-contrib

Contributed modules for xmonad
https://xmonad.org
BSD 3-Clause "New" or "Revised" License
584 stars 274 forks source link

X.D.Extending: Round Two #751

Closed slotThe closed 1 year ago

slotThe commented 2 years ago

Description

Closes: https://github.com/xmonad/xmonad-contrib/issues/645

The second round of updates to X.D.Extending, so it's not so old and crufty anymore. Still not completely done with the module, but getting there!

Commit Summary

X.D.Extending: Add links to headings

This is more ergonomic to use than the old-style headings; plus, the generated Haddock is easier to read than just stating "XMonad.Doc.Extending".

X.D.Extending: Update hooks
X.D.Extending: Rewrite keyDel

Nowadays, removing keys is mostly done via removeKeys and removeKeysP, so the documentation should reflect that fact. This part is less step-by-step instructive than the section about adding keys, but read in succession it presents a way to deepen the newly acquired knowledge.

X.D.Extending: Remove keyAddDel and logHook

Checklist