Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b3679be

Browse files
committed
enable index building and update builtin docs
1 parent 4b1696f commit b3679be

25 files changed

Lines changed: 72 additions & 72 deletions

conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,8 @@ def get_version():
346346
# If false, no module index is generated.
347347
html_domain_indices = False
348348

349-
# If false, no index is generated.
350-
html_use_index = False
349+
# If false, no genindex.html is generated.
350+
html_use_index = True
351351

352352
html_css_files = [
353353
'dfhack.css',

docs/builtins/alias.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ alias
44
Tags: system
55
:dfhack-keybind:`alias`
66

7-
Configure helper aliases for other DFHack commands. Aliases are resolved
8-
immediately after built-in commands, which means that an alias cannot override
9-
a built-in command, but can override a command implemented by a plugin or
10-
script.
7+
:index:`Configure helper aliases for other DFHack commands.
8+
<alias; Configure helper aliases for other DFHack commands.>` Aliases are
9+
resolved immediately after built-in commands, which means that an alias cannot
10+
override a built-in command, but can override a command implemented by a plugin
11+
or script.
1112

1213
Usage:
1314

docs/builtins/clear.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/builtins/cls.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ cls
44
Tags: system
55
:dfhack-keybind:`cls`
66

7-
Clear the terminal screen. Can also be invoked as `clear`. Note that this
8-
command does not delete command history. It just clears the text on the screen.
7+
:index:`Clear the terminal screen. <cls; Clear the terminal screen.>` Can also
8+
be invoked as ``clear``. Note that this command does not delete command history.
9+
It just clears the text on the screen.

docs/builtins/devel/dump-rpc.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ devel/dump-rpc
44
Tags: system
55
:dfhack-keybind:`devel/dump-rpc`
66

7-
Writes RPC endpoint information to the specified file.
7+
:index:`Writes RPC endpoint information to the specified file.
8+
<devel/dump-rpc; Writes RPC endpoint information to the specified file.>`
89

910
Usage::
1011

docs/builtins/die.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ die
44
Tags: system
55
:dfhack-keybind:`die`
66

7-
Instantly exits DF without saving.
7+
:index:`Instantly exits DF without saving.
8+
<die; Instantly exits DF without saving.>`

docs/builtins/dir.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/builtins/disable.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ disable
44
Tags: system
55
:dfhack-keybind:`disable`
66

7-
Deactivate a DFHack tool that has some persistent effect. See the `enable`
8-
command for more info.
7+
:index:`Deactivate a DFHack tool that has some persistent effect.
8+
<disable; Deactivate a DFHack tool that has some persistent effect.>` See the
9+
`enable` command for more info.
910

1011
Usage::
1112

docs/builtins/enable.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ enable
44
Tags: system
55
:dfhack-keybind:`enable`
66

7-
Activate a DFHack tool that has some persistent effect. Many plugins and scripts
8-
can be in a distinct enabled or disabled state. Some of them activate and
9-
deactivate automatically depending on the contents of the world raws. Others
10-
store their state in world data. However a number of them have to be enabled
11-
globally, and the init file is the right place to do it.
7+
:index:`Activate a DFHack tool that has some persistent effect.
8+
<enable; Activate a DFHack tool that has some persistent effect.>` Many plugins
9+
and scripts can be in a distinct enabled or disabled state. Some of them
10+
activate and deactivate automatically depending on the contents of the world
11+
raws. Others store their state in world data. However a number of them have to
12+
be enabled globally, and the init file is the right place to do it.
1213

1314
Most such plugins or scripts support the built-in ``enable`` and `disable`
1415
commands. Calling them at any time without arguments prints a list of enabled

docs/builtins/fpause.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ fpause
44
Tags: system
55
:dfhack-keybind:`fpause`
66

7-
Forces DF to pause. This is useful when your FPS drops below 1 and you lose
8-
control of the game.
7+
:index:`Forces DF to pause. <fpause; Forces DF to pause.>` This is useful when
8+
your FPS drops below 1 and you lose control of the game.
99

1010
Usage::
1111

0 commit comments

Comments
 (0)