Skip to content

Commit 9cde2f5

Browse files
committed
docs: adding more Bibtex citations (#500)
1 parent ddc566a commit 9cde2f5

File tree

7 files changed

+39
-23
lines changed

7 files changed

+39
-23
lines changed

docs/references.bib

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,19 @@ @misc{Edwards_1994
77
https://ia902908.us.archive.org/26/items/pgn-standard-1994-03-12/PGN_standard_1994-03-12.txt
88
},
99
}
10+
11+
@misc{Meyer-Kahlen_2006,
12+
author = {Meyer-Kahlen, Stefan},
13+
year = 2006,
14+
month = apr,
15+
journal = {Description of the universal chess interface (UCI)},
16+
url = {https://www.shredderchess.com/download/div/uci.zip},
17+
}
18+
19+
@book{Just_Burg_2003,
20+
title = {United States Chess Federation's Official Rules of Chess},
21+
author = {Just, Tim and Burg, Daniel B.},
22+
year = 2003,
23+
publisher = {Random House Puzzles \& Games},
24+
edition = 5,
25+
}

libchess/include/libchess/notation/ICCF.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
/** @file
1616
This file provides functions for converting Move objects to and from
17-
ICCF-format numeric notation.
17+
ICCF-format @cite Just_Burg_2003 numeric notation.
1818
1919
@ingroup notation
2020
*/
@@ -35,14 +35,14 @@ namespace chess::notation {
3535
using game::Position;
3636
using moves::Move;
3737

38-
/** Returns the ICCF-format algebraic notation for the given Move object.
38+
/** Returns the ICCF-format @cite Just_Burg_2003 notation for the given Move object.
3939
4040
@ingroup notation
4141
@see from_iccf()
4242
*/
4343
[[nodiscard]] auto to_iccf(Move move) -> std::string;
4444

45-
/** Parses the ICCF-format algebraic notation string into a Move object.
45+
/** Parses the ICCF-format @cite Just_Burg_2003 notation string into a Move object.
4646
The current position is used to determine the type of the moved piece.
4747
4848
If the input string cannot be parsed correctly, returns an explanatory error string.

libchess/include/libchess/notation/UCI.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
/** @file
1616
This file provides functions for converting Move objects to and from
17-
UCI-format algebraic notation.
17+
UCI-format @cite Meyer-Kahlen_2006 algebraic notation.
1818
1919
@ingroup notation
2020
*/
@@ -35,14 +35,14 @@ namespace chess::notation {
3535
using game::Position;
3636
using moves::Move;
3737

38-
/** Returns the UCI-format algebraic notation for the given Move object.
38+
/** Returns the UCI-format @cite Meyer-Kahlen_2006 algebraic notation for the given Move object.
3939
4040
@ingroup notation
4141
@see from_uci()
4242
*/
4343
[[nodiscard]] auto to_uci(Move move) -> std::string;
4444

45-
/** Parses the UCI-format algebraic notation string into a Move object.
45+
/** Parses the UCI-format @cite Meyer-Kahlen_2006 algebraic notation string into a Move object.
4646
The current position is used to determine the type of the moved piece.
4747
4848
If the input string cannot be parsed correctly, returns an explanatory error string.

libchess/include/libchess/uci/CommandParsing.hpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
*/
1414

1515
/** @defgroup uci UCI
16-
Utilities for working with the Universal Chess Interface.
16+
Utilities for working with the Universal Chess Interface. @cite Meyer-Kahlen_2006
1717
1818
@ingroup libchess
1919
*/
2020

2121
/** @file
22-
This file provides utilities for parsing command-line UCI commands.
22+
This file provides utilities for parsing command-line UCI @cite Meyer-Kahlen_2006 commands.
2323
@ingroup uci
2424
*/
2525

@@ -37,7 +37,7 @@ namespace chess::game {
3737
struct Position;
3838
} // namespace chess::game
3939

40-
/** This namespace contains utilities for working with UCI.
40+
/** This namespace contains utilities for working with UCI. @cite Meyer-Kahlen_2006
4141
@ingroup uci
4242
*/
4343
namespace chess::uci {
@@ -48,7 +48,7 @@ using std::optional;
4848
using std::size_t;
4949
using std::string_view;
5050

51-
/** Parses the options following a UCI "position" command into a Position object.
51+
/** Parses the options following a UCI @cite Meyer-Kahlen_2006 "position" command into a Position object.
5252
The ``options`` should not include the "position" token itself.
5353
5454
If the input string cannot be parsed correctly, returns an explanatory error string.
@@ -58,7 +58,7 @@ using std::string_view;
5858
[[nodiscard]] auto parse_position_options(string_view options)
5959
-> std::expected<Position, std::string>;
6060

61-
/** This struct encapsulates the options to a UCI "register" command.
61+
/** This struct encapsulates the options to a UCI @cite Meyer-Kahlen_2006 "register" command.
6262
6363
@ingroup uci
6464
@see parse_register_options()
@@ -76,15 +76,15 @@ struct RegisterNowOptions final {
7676
*/
7777
using RegisterOptions = optional<RegisterNowOptions>;
7878

79-
/** Parses the options following a UCI "register" command.
79+
/** Parses the options following a UCI @cite Meyer-Kahlen_2006 "register" command.
8080
The ``options`` should not include the "register" token itself.
8181
If this returns ``nullopt``, then the user sent a ``register later`` command.
8282
8383
@ingroup uci
8484
*/
8585
[[nodiscard]] auto parse_register_options(string_view options) -> RegisterOptions;
8686

87-
/** This struct encapsulates the options given to a UCI "go" command.
87+
/** This struct encapsulates the options given to a UCI @cite Meyer-Kahlen_2006 "go" command.
8888
8989
@ingroup uci
9090
@see parse_go_options()
@@ -129,7 +129,7 @@ struct [[nodiscard]] GoCommandOptions final {
129129
optional<size_t> mateIn;
130130
};
131131

132-
/** Parses the options following a UCI "go" command.
132+
/** Parses the options following a UCI @cite Meyer-Kahlen_2006 "go" command.
133133
The ``options`` should not include the "go" token itself.
134134
135135
@ingroup uci

libchess/include/libchess/uci/EngineBase.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*/
1414

1515
/** @file
16-
This file defines the UCI engine base class.
16+
This file defines the UCI @cite Meyer-Kahlen_2006 engine base class.
1717
@ingroup uci
1818
*/
1919

@@ -35,7 +35,7 @@ using std::string_view;
3535

3636
struct Option;
3737

38-
/** A base class for UCI chess engines.
38+
/** A base class for UCI @cite Meyer-Kahlen_2006 chess engines.
3939
4040
This class provides handling of UCI command parsing, so that
4141
the engine implementation can focus purely on implementing

libchess/include/libchess/uci/Options.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*/
1414

1515
/** @file
16-
This file provides classes for declaring UCI engine parameters.
16+
This file provides classes for declaring UCI @cite Meyer-Kahlen_2006 engine parameters.
1717
@ingroup uci
1818
*/
1919

@@ -31,7 +31,7 @@ namespace chess::uci {
3131
using std::string;
3232
using std::string_view;
3333

34-
/** Base class for UCI options.
34+
/** Base class for UCI @cite Meyer-Kahlen_2006 options.
3535
3636
@ingroup uci
3737
*/

libchess/include/libchess/uci/Printing.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*/
1414

1515
/** @file
16-
This file provides some utility functions for printing UCI-style output.
16+
This file provides some utility functions for printing UCI-style @cite Meyer-Kahlen_2006 output.
1717
@ingroup uci
1818
*/
1919

@@ -28,15 +28,15 @@
2828
#include <string_view>
2929
#include <variant>
3030

31-
/** This namespace contains utility functions for printing UCI-style output.
31+
/** This namespace contains utility functions for printing UCI-style @cite Meyer-Kahlen_2006 output.
3232
@ingroup uci
3333
*/
3434
namespace chess::uci::printing {
3535

3636
using moves::Move;
3737
using std::size_t;
3838

39-
/** Prints a UCI-formatted information string to standard output.
39+
/** Prints a UCI-formatted @cite Meyer-Kahlen_2006 information string to standard output.
4040
This function should be used for any informational or debug output that
4141
an engine wants to print.
4242
@@ -47,7 +47,7 @@ using std::size_t;
4747
*/
4848
std::monostate info_string(std::string_view info);
4949

50-
/** Prints a UCI-formatted best move string to standard output.
50+
/** Prints a UCI-formatted @cite Meyer-Kahlen_2006 best move string to standard output.
5151
Specifying a ponder move is optional.
5252
5353
@ingroup uci
@@ -129,7 +129,7 @@ struct SearchInfo final {
129129
[[nodiscard]] auto get_nps() const noexcept -> size_t;
130130
};
131131

132-
/** Prints a UCI-formatted search info string to standard output.
132+
/** Prints a UCI-formatted @cite Meyer-Kahlen_2006 search info string to standard output.
133133
134134
@ingroup uci
135135
@relates SearchInfo

0 commit comments

Comments
 (0)