Skip to content

Commit ae15331

Browse files
myk002dhthwy
authored andcommitted
remove old code for search plugin (now part of sort)
1 parent ffb8ad3 commit ae15331

File tree

8 files changed

+12
-2626
lines changed

8 files changed

+12
-2626
lines changed

conf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ def write_tool_docs():
7878
os.makedirs(os.path.join('docs/tools', os.path.dirname(k[0])),
7979
mode=0o755, exist_ok=True)
8080
with write_file_if_changed('docs/tools/{}.rst'.format(k[0])) as outfile:
81-
if k[0] != 'search':
82-
outfile.write(label)
81+
outfile.write(label)
8382
outfile.write(include)
8483

8584

docs/about/Removed.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,12 @@ ruby
220220
Support for the Ruby language in DFHack scripts was removed due to the issues
221221
the Ruby library causes when used as an embedded language.
222222

223+
.. _search-plugin:
224+
225+
search
226+
======
227+
Functionality was merged into `sort`.
228+
223229
.. _show-unit-syndromes:
224230

225231
show-unit-syndromes

docs/images/search-stockpile.png

-5.01 KB
Binary file not shown.

docs/images/search.png

-4.4 KB
Binary file not shown.

docs/plugins/search.rst

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

docs/plugins/sort.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ sort
66
:tags: fort productivity interface
77
:no-command:
88

9-
The ``sort`` tool provides overlays that sorting and searching options for
10-
lists displayed in the DF interface.
9+
The ``sort`` tool provides search and sort functionality for lists displayed in
10+
the DF interface.
1111

12-
Searching and sorting functionality is provided by `overlay` widgets, and widgets for individual lists can be moved via `gui/overlay` or turned on or off via `gui/control-panel`.
12+
Searching and sorting functionality is provided by `overlay` widgets, and
13+
widgets for individual lists can be moved via `gui/overlay` or turned on or off
14+
via `gui/control-panel`.
1315

1416
Squad assignment overlay
1517
------------------------

plugins/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ if(BUILD_SUPPORTED)
153153
#dfhack_plugin(rename rename.cpp LINK_LIBRARIES lua PROTOBUFS rename)
154154
#add_subdirectory(rendermax)
155155
dfhack_plugin(reveal reveal.cpp LINK_LIBRARIES lua)
156-
#dfhack_plugin(search search.cpp)
157156
dfhack_plugin(seedwatch seedwatch.cpp LINK_LIBRARIES lua)
158157
dfhack_plugin(showmood showmood.cpp)
159158
#dfhack_plugin(siege-engine siege-engine.cpp LINK_LIBRARIES lua)

0 commit comments

Comments
 (0)