mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 20:21:51 -07:00
Fix most remaining broken inter-module docs links
The links were broken due to: 1. Incorrect quotes (' instead of " for module links and occasionally vice-versa). 2. Changes in the name of the "target" module not reflected in the "source" docs. 3. Typos to begin with. 4. Use of `<foo>` in the docs is rendered as just `foo` with a link to `/foo`. 5. Similarly for `"Foo"` if it starts with a capital letter (and hence could be a module). 6. Markup inside `@` code blocks still being applied. e.g. `@M-<arrow-keys>@` is rendered as `M-arrow-keys` with a spurious hyperlink from arrow-keys to `/arrow-keys`, which is confusing. Three links from XMonad.Util.Run have been removed outright, since they're no longer examples of the usage of 'runProcessWithInput'. WmiiActions has been gone since 2008, while XMonad.Prompt.Directory and XMonad.Layout.WorkspaceDir haven't been using 'runProcessWithInput' since 2020 and 2012, respectively. In some cases the `<foo>` were surrounded with @, especially in the case of key definitions, for consistency. (This wasn't done everywhere, because it looks ugly in the source.) MoreManageHelpers has never been in xmonad-contrib. ManageHelpers seems to fill the expected role. In the case of the module description for X.H.ManageDebug the quotes were simply removed because none of the likely options to make the link work were successful.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
-- Each window is half the height of the previous,
|
||||
-- except for the last pair of windows.
|
||||
--
|
||||
-- Note: Originally based on 'XMonad.Layout.Column' with changes:
|
||||
-- Note: Originally based on "XMonad.Layout.Column" with changes:
|
||||
--
|
||||
-- * Adding/removing windows doesn't resize all other windows.
|
||||
-- (last window pair exception).
|
||||
|
@@ -93,7 +93,7 @@ siftUp = sendMessage UpdateBoring >> sendMessage SiftUp
|
||||
siftDown = sendMessage UpdateBoring >> sendMessage SiftDown
|
||||
|
||||
-- | Mark current focused window boring for all layouts.
|
||||
-- This is useful in combination with the 'XMonad.Actions.CopyWindow' module.
|
||||
-- This is useful in combination with the "XMonad.Actions.CopyWindow" module.
|
||||
markBoringEverywhere :: X ()
|
||||
markBoringEverywhere = withFocused (broadcastMessage . IsBoring)
|
||||
|
||||
|
@@ -80,7 +80,7 @@ infixr 6 *||*, **||*, ***||*, ****||*, ***||**, ****||***, ***||****, *||****, *
|
||||
*/* , **/* , ***/* , ****/* , ***/** , ****/*** , ***/**** , */**** , **/*** , */*** , */**
|
||||
|
||||
-- $dpv
|
||||
-- These combinators combine two layouts using "XMonad.DragPane" in
|
||||
-- These combinators combine two layouts using "XMonad.Layout.DragPane" in
|
||||
-- vertical mode.
|
||||
|
||||
(*||*),(**||*),(***||*),(****||*), (***||**),(****||***),
|
||||
@@ -100,7 +100,7 @@ infixr 6 *||*, **||*, ***||*, ****||*, ***||**, ****||***, ***||****, *||****, *
|
||||
(*||**) = combineTwo (dragPane Vertical 0.1 (1/3))
|
||||
|
||||
-- $dph
|
||||
-- These combinators combine two layouts using "XMonad.DragPane" in
|
||||
-- These combinators combine two layouts using "XMonad.Layout.DragPane" in
|
||||
-- horizontal mode.
|
||||
|
||||
(*//*),(**//*),(***//*),(****//*), (***//**),(****//***),
|
||||
|
@@ -75,7 +75,7 @@ limitWindows :: Int -> l a -> ModifiedLayout LimitWindows l a
|
||||
limitWindows n = ModifiedLayout (LimitWindows FirstN n)
|
||||
|
||||
-- | Only display @n@ windows around the focused window. This makes sense with
|
||||
-- layouts that arrange windows linearily, like 'XMonad.Layout.Layout.Accordion'.
|
||||
-- layouts that arrange windows linearily, like "XMonad.Layout.Accordion".
|
||||
limitSlice :: Int -> l a -> ModifiedLayout LimitWindows l a
|
||||
limitSlice n = ModifiedLayout (LimitWindows Slice n)
|
||||
|
||||
|
@@ -11,9 +11,9 @@
|
||||
-- Portability : unportable
|
||||
--
|
||||
-- A layout transformer to have a layout respect a given screen
|
||||
-- geometry. Mostly used with "Decoration" (the Horizontal and the
|
||||
-- Vertical version will react to SetTheme and change their dimension
|
||||
-- accordingly.
|
||||
-- geometry. Mostly used with "XMonad.Layout.Decoration" (the
|
||||
-- Horizontal and the Vertical version will react to SetTheme and
|
||||
-- change their dimension accordingly.
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
module XMonad.Layout.ResizeScreen
|
||||
|
@@ -16,7 +16,7 @@
|
||||
-- a main master, which is the original master window;
|
||||
-- a sub master, the first window of the second pane.
|
||||
-- This combinator can be nested, and has a good support for using
|
||||
-- 'XMonad.Layout.Tabbed' as a sublayout.
|
||||
-- "XMonad.Layout.Tabbed" as a sublayout.
|
||||
--
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user