Skip to content

Commit

Permalink
Fix mkdocs.
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfDWyc committed Apr 12, 2023
1 parent 735f5ce commit 726d7e5
Show file tree
Hide file tree
Showing 11 changed files with 80 additions and 82 deletions.
34 changes: 17 additions & 17 deletions docs/api-reference/board.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class AfterNewPieceEvent(Event)
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\base\board.py#L17)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\base\board.py#L17)

<a id="chessmaker.chess.base.board.AfterNewPieceEvent.piece"></a>

Expand All @@ -26,7 +26,7 @@ class AfterNewPieceEvent(Event)
class AfterRemoveSquareEvent(Event)
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\base\board.py#L21)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\base\board.py#L21)

<a id="chessmaker.chess.base.board.AfterRemoveSquareEvent.position"></a>

Expand All @@ -45,7 +45,7 @@ class AfterRemoveSquareEvent(Event)
class BeforeRemoveSquareEvent(AfterRemoveSquareEvent)
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\base\board.py#L26)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\base\board.py#L26)

<a id="chessmaker.chess.base.board.AfterAddSquareEvent"></a>

Expand All @@ -56,7 +56,7 @@ class BeforeRemoveSquareEvent(AfterRemoveSquareEvent)
class AfterAddSquareEvent(Event)
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\base\board.py#L30)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\base\board.py#L30)

<a id="chessmaker.chess.base.board.AfterAddSquareEvent.position"></a>

Expand All @@ -75,7 +75,7 @@ class AfterAddSquareEvent(Event)
class BeforeAddSquareEvent(AfterAddSquareEvent)
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\base\board.py#L35)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\base\board.py#L35)

<a id="chessmaker.chess.base.board.BeforeAddSquareEvent.set_square"></a>

Expand All @@ -85,7 +85,7 @@ class BeforeAddSquareEvent(AfterAddSquareEvent)
def set_square(square: Square)
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\base\board.py#L36)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\base\board.py#L36)

<a id="chessmaker.chess.base.board.BeforeTurnChangeEvent"></a>

Expand All @@ -96,7 +96,7 @@ def set_square(square: Square)
class BeforeTurnChangeEvent(CancellableEvent)
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\base\board.py#L40)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\base\board.py#L40)

<a id="chessmaker.chess.base.board.BeforeTurnChangeEvent.board"></a>

Expand All @@ -114,7 +114,7 @@ class BeforeTurnChangeEvent(CancellableEvent)
def set_next_player(next_player: Player)
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\base\board.py#L44)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\base\board.py#L44)

<a id="chessmaker.chess.base.board.AfterTurnChangeEvent"></a>

Expand All @@ -125,7 +125,7 @@ def set_next_player(next_player: Player)
class AfterTurnChangeEvent(Event)
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\base\board.py#L48)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\base\board.py#L48)

<a id="chessmaker.chess.base.board.AfterTurnChangeEvent.board"></a>

Expand All @@ -149,7 +149,7 @@ class Board(EventPublisher[BeforeAddPieceEvent | AfterAddPieceEvent
| AfterTurnChangeEvent], Cloneable)
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\base\board.py#L52)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\base\board.py#L52)

<a id="chessmaker.chess.base.board.Board.__init__"></a>

Expand All @@ -162,7 +162,7 @@ def __init__(squares: list[list[Square | None]],
rules: list[Rule] = None)
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\base\board.py#L56)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\base\board.py#L56)

<a id="chessmaker.chess.base.board.Board.__getitem__"></a>

Expand All @@ -172,7 +172,7 @@ def __init__(squares: list[list[Square | None]],
def __getitem__(position: Position) -> Square | None
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\base\board.py#L107)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\base\board.py#L107)

<a id="chessmaker.chess.base.board.Board.__setitem__"></a>

Expand All @@ -182,7 +182,7 @@ def __getitem__(position: Position) -> Square | None
def __setitem__(position: Position, square: Square | None)
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\base\board.py#L110)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\base\board.py#L110)

<a id="chessmaker.chess.base.board.Board.__iter__"></a>

Expand All @@ -192,7 +192,7 @@ def __setitem__(position: Position, square: Square | None)
def __iter__() -> Iterable[Square]
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\base\board.py#L133)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\base\board.py#L133)

<a id="chessmaker.chess.base.board.Board.get_pieces"></a>

Expand All @@ -202,7 +202,7 @@ def __iter__() -> Iterable[Square]
def get_pieces() -> Iterable[Piece]
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\base\board.py#L152)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\base\board.py#L152)

<a id="chessmaker.chess.base.board.Board.get_player_pieces"></a>

Expand All @@ -212,7 +212,7 @@ def get_pieces() -> Iterable[Piece]
def get_player_pieces(player: Player) -> Iterable[Piece]
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\base\board.py#L157)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\base\board.py#L157)

<a id="chessmaker.chess.base.board.Board.clone"></a>

Expand All @@ -222,5 +222,5 @@ def get_player_pieces(player: Player) -> Iterable[Piece]
def clone()
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\base\board.py#L162)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\base\board.py#L162)

26 changes: 13 additions & 13 deletions docs/api-reference/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class Event()
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\events\event.py#L5)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\events\event.py#L5)

<a id="chessmaker.events.event.CancellableEvent"></a>

Expand All @@ -22,7 +22,7 @@ class Event()
class CancellableEvent(Event)
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\events\event.py#L10)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\events\event.py#L10)

<a id="chessmaker.events.event.CancellableEvent.cancelled"></a>

Expand All @@ -36,7 +36,7 @@ class CancellableEvent(Event)
def set_cancelled(cancelled: bool)
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\events\event.py#L13)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\events\event.py#L13)

<a id="chessmaker.events.event_priority"></a>

Expand All @@ -50,7 +50,7 @@ def set_cancelled(cancelled: bool)
class EventPriority(int, Enum)
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\events\event_priority.py#L4)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\events\event_priority.py#L4)

<a id="chessmaker.events.event_priority.EventPriority.VERY_LOW"></a>

Expand Down Expand Up @@ -84,7 +84,7 @@ class EventPriority(int, Enum)
class EventPublisher(Generic[TEvent])
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\events\event_publisher.py#L16)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\events\event_publisher.py#L16)

<a id="chessmaker.events.event_publisher.EventPublisher.__init__"></a>

Expand All @@ -95,7 +95,7 @@ def __init__(subscribers: dict[Type[TEvent], list[_Subscriber]] = None,
subscribers_to_all: list[_Subscriber] = None)
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\events\event_publisher.py#L17)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\events\event_publisher.py#L17)

<a id="chessmaker.events.event_publisher.EventPublisher.subscribe"></a>

Expand All @@ -107,7 +107,7 @@ def subscribe(event_type: Type[TEvent],
priority: int = EventPriority.NORMAL)
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\events\event_publisher.py#L28)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\events\event_publisher.py#L28)

<a id="chessmaker.events.event_publisher.EventPublisher.unsubscribe"></a>

Expand All @@ -117,7 +117,7 @@ def subscribe(event_type: Type[TEvent],
def unsubscribe(event_type: Type[TEvent], callback: Callable[[TEvent], None])
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\events\event_publisher.py#L32)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\events\event_publisher.py#L32)

<a id="chessmaker.events.event_publisher.EventPublisher.subscribe_to_all"></a>

Expand All @@ -128,7 +128,7 @@ def subscribe_to_all(callback: Callable[[TEvent], None],
priority: int = EventPriority.NORMAL)
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\events\event_publisher.py#L36)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\events\event_publisher.py#L36)

<a id="chessmaker.events.event_publisher.EventPublisher.unsubscribe_from_all"></a>

Expand All @@ -138,7 +138,7 @@ def subscribe_to_all(callback: Callable[[TEvent], None],
def unsubscribe_from_all(callback: Callable[[TEvent], None])
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\events\event_publisher.py#L41)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\events\event_publisher.py#L41)

<a id="chessmaker.events.event_publisher.EventPublisher.publish"></a>

Expand All @@ -148,7 +148,7 @@ def unsubscribe_from_all(callback: Callable[[TEvent], None])
def publish(event: TEvent)
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\events\event_publisher.py#L46)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\events\event_publisher.py#L46)

<a id="chessmaker.events.event_publisher.EventPublisher.propagate"></a>

Expand All @@ -160,7 +160,7 @@ def propagate(publisher: 'EventPublisher',
priority: int = EventPriority.NORMAL)
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\events\event_publisher.py#L56)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\events\event_publisher.py#L56)

For all events publisher publishes of type event_type, publish them to self

Expand All @@ -173,7 +173,7 @@ def propagate_all(publisher: 'EventPublisher',
priority: int = EventPriority.NORMAL)
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\events\event_publisher.py#L65)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\events\event_publisher.py#L65)

For all events publisher publishes, publish them to self

6 changes: 3 additions & 3 deletions docs/api-reference/game.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class AfterGameEndEvent(Event)
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\base\game.py#L10)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\base\game.py#L10)

<a id="chessmaker.chess.base.game.AfterGameEndEvent.game"></a>

Expand All @@ -29,7 +29,7 @@ class AfterGameEndEvent(Event)
class Game(EventPublisher[AfterGameEndEvent])
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\base\game.py#L14)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\base\game.py#L14)

<a id="chessmaker.chess.base.game.Game.__init__"></a>

Expand All @@ -39,5 +39,5 @@ class Game(EventPublisher[AfterGameEndEvent])
def __init__(board: Board, get_result: Callable[[Board], str | None])
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\base\game.py#L15)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\base\game.py#L15)

2 changes: 1 addition & 1 deletion docs/api-reference/move-option.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class MoveOption()
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\base\move_option.py#L7)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\base\move_option.py#L7)

<a id="chessmaker.chess.base.move_option.MoveOption.position"></a>

Expand Down
16 changes: 8 additions & 8 deletions docs/api-reference/piece-utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
def is_in_board(board: Board, position: Position) -> bool
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\pieces\piece_utils.py#L9)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\pieces\piece_utils.py#L9)

<a id="chessmaker.chess.pieces.piece_utils.iterate_until_blocked"></a>

Expand All @@ -21,7 +21,7 @@ def iterate_until_blocked(piece: Piece,
direction: tuple[int, int]) -> Iterable[Position]
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\pieces\piece_utils.py#L20)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\pieces\piece_utils.py#L20)

<a id="chessmaker.chess.pieces.piece_utils.get_diagonals_until_blocked"></a>

Expand All @@ -31,7 +31,7 @@ def iterate_until_blocked(piece: Piece,
def get_diagonals_until_blocked(piece: Piece) -> Iterable[Position]
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\pieces\piece_utils.py#L39)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\pieces\piece_utils.py#L39)

<a id="chessmaker.chess.pieces.piece_utils.get_horizontal_until_blocked"></a>

Expand All @@ -41,7 +41,7 @@ def get_diagonals_until_blocked(piece: Piece) -> Iterable[Position]
def get_horizontal_until_blocked(piece: Piece) -> Iterable[Position]
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\pieces\piece_utils.py#L44)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\pieces\piece_utils.py#L44)

<a id="chessmaker.chess.pieces.piece_utils.get_vertical_until_blocked"></a>

Expand All @@ -51,7 +51,7 @@ def get_horizontal_until_blocked(piece: Piece) -> Iterable[Position]
def get_vertical_until_blocked(piece: Piece) -> Iterable[Position]
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\pieces\piece_utils.py#L49)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\pieces\piece_utils.py#L49)

<a id="chessmaker.chess.pieces.piece_utils.get_straight_until_blocked"></a>

Expand All @@ -61,7 +61,7 @@ def get_vertical_until_blocked(piece: Piece) -> Iterable[Position]
def get_straight_until_blocked(piece: Piece) -> Iterable[Position]
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\pieces\piece_utils.py#L54)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\pieces\piece_utils.py#L54)

<a id="chessmaker.chess.pieces.piece_utils.filter_uncapturable_positions"></a>

Expand All @@ -72,7 +72,7 @@ def filter_uncapturable_positions(
piece: Piece, positions: Iterable[Position]) -> Iterable[Position]
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\pieces\piece_utils.py#L59)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\pieces\piece_utils.py#L59)

<a id="chessmaker.chess.pieces.piece_utils.positions_to_move_options"></a>

Expand All @@ -83,5 +83,5 @@ def positions_to_move_options(
board: Board, positions: Iterable[Position]) -> Iterable[MoveOption]
```

[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/dc56d4841f94820eba4c40c003f75d8396c128d9/chessmaker\chess\pieces\piece_utils.py#L69)
[[view_source]](https://github.com/WolfDWyc/ChessMaker/blob/9dc1415fe58befbc9ce03492c419fa5aae04d245/chessmaker\chess\pieces\piece_utils.py#L69)

Loading

0 comments on commit 726d7e5

Please sign in to comment.