myk002
019856883b
update sc-script docs based on code spelunking
2022-07-18 11:10:56 -07:00
myk002
8173f6dd02
Merge remote-tracking branch 'upstream/develop' into docs
2022-07-18 10:59:00 -07:00
myk002
301c8e93a1
move builtin docs to individual files
2022-07-18 10:58:35 -07:00
myk002
e650bd0942
add comment about plugin docs
2022-07-17 17:05:29 -07:00
myk002
7f302888ec
make HotkeyLabels react to clicking
...
also be better about initializing EditField frame height
2022-07-17 16:04:36 -07:00
myk002
5723b76585
click to correct cursor position on long strings
...
where the left side of the string has been trimmed
2022-07-17 15:43:58 -07:00
myk002
28161ed63d
add command frequency file based on survey results
...
used for ordering launcher autocomplete results
2022-07-17 09:12:20 -07:00
myk002
f354200728
update widget docs
2022-07-16 22:23:22 -07:00
myk002
805456e82b
allow mouse lclick to select a List item
2022-07-16 22:18:38 -07:00
myk002
f65f36ffee
move the cursor in an EditField on mouse lclick
2022-07-16 22:03:39 -07:00
myk002
27425e47f6
support cursor movement in EditFields
2022-07-15 22:22:51 -07:00
myk002
585f6aad33
fix extra space within bold segment for keybindings
2022-07-15 15:45:03 -07:00
myk002
9b340a7630
support submit2 for EditFields
2022-07-15 13:46:01 -07:00
Tachytaenius
7cf5a7dac9
main.lua --> raw/scripts/main.lua
2022-07-15 19:44:21 +01:00
Tachytaenius
fcd8839c0d
Wrap lines to 80 characters
2022-07-15 19:43:48 +01:00
Tachytaenius
0e704f39f7
Got the really big part of the guide done
2022-07-15 19:28:59 +01:00
myk002
f3539f06c8
integrate hotkeys with helpdb
2022-07-15 09:44:24 -07:00
myk002
c9a87511bd
add dfhack history repository and expose to lua
2022-07-15 09:18:27 -07:00
myk002
dd6fbd53b6
add getEntries() to the CommandHistory API
...
so we can export them to lua
also bump the default history size to 5000 from the paltry 100 we had
2022-07-15 09:07:14 -07:00
lethosor
c2f07778b9
Merge remote-tracking branch 'lethosor/getSelectedItem-artifacts' into develop
2022-07-15 00:47:04 -04:00
myk002
193b9a4004
add missing namespace
...
which did not cause compiler errors for some reason
2022-07-14 14:08:33 -07:00
myk002
e926e1116e
replace more Core cpp code with calls to helpdb
...
also document devel/dump-rpc builtin
2022-07-14 13:19:30 -07:00
Tachytaenius
3f848b8836
Misc minor changes to modding guide
2022-07-14 17:46:12 +01:00
Tachytaenius
d06a63e4dc
DFStructs (a nickname?) --> df-structures
2022-07-14 11:11:50 +01:00
Tachytaenius
a996b29cf5
Some editing of mod guide
2022-07-14 11:10:23 +01:00
Tachytaenius
d7976e63b6
const example. also, (preemptively acquiescing) readme.mkd --> readme.md
2022-07-13 22:44:38 +01:00
Tachytaenius
9c04a28bd9
Shouldn't've replaced the TODO
2022-07-13 22:43:01 +01:00
Tachytaenius
c39e2fe2cb
Mod structure
2022-07-13 22:42:35 +01:00
lethosor
f021dd0e0a
Gui::getAnyItem(): add support for viewscreen_treasurelistst
2022-07-12 11:25:16 -04:00
lethosor
4cdb0ff138
Merge branch 'rm-old-modules' into develop
2022-07-12 11:23:10 -04:00
Tachytaenius
c9cffc7da9
Fix docs bugs
2022-07-12 11:26:49 +01:00
myk002
185f49976c
ensure scripts get their entry type set
2022-07-11 17:24:53 -07:00
myk002
d68350c1f1
wrap text at 52 characters for in-game display
2022-07-11 17:24:17 -07:00
myk002
328d839f19
support backtick as a keybinding
...
and bind it to gui/launcher
2022-07-11 17:23:56 -07:00
myk002
a5da3c18f9
reset scroll position when the text is changed
2022-07-11 17:23:23 -07:00
Tachytaenius
aa8809833b
Do the "running shoes" TODO
2022-07-11 18:56:28 +01:00
Tachytaenius
f670ef4b60
Add custom raw tokens link and add prefix to custom raw tokens in raws
2022-07-11 18:24:07 +01:00
myk002
4ed15ffcc4
fix parsing of first line as the short_help
2022-07-10 20:48:24 -07:00
myk002
fdd406b722
ensure all files are reread on every docs build
...
this fixes the issue where the Stonesense docs were getting ignored
2022-07-10 20:19:12 -07:00
pre-commit-ci[bot]
12557f8dc1
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-07-10 20:19:12 -07:00
myk002
a58b56abc4
don't error out if files cannot be read
2022-07-10 20:19:12 -07:00
myk002
3e2320aa60
split the plugin docs into individual files
2022-07-10 20:19:11 -07:00
myk002
8d99b7e6e1
prepare for plugin doc split
2022-07-10 20:19:09 -07:00
Myk
e899510b8b
Use helpdb to implement help and ls built-in commands and dfhack.script_help() ( #2242 )
...
* use helpdb to implement the help and ls builtins
* use helpdb to implement dfhack.script_help()
2022-07-10 20:17:54 -07:00
Myk
4ad8e7199a
Support builtin commands in helpdb ( #2241 )
...
* support builtin commands in helpdb, implement list API, document api
2022-07-10 20:17:52 -07:00
myk002
35a4d19ac9
implement listing functions for helpdb
2022-07-10 20:14:21 -07:00
Myk
64aba7a8a3
Myk rendered help ( #2240 )
...
* implement help db
* add initial list of tags
* read tags fr help, read script short desc, filter
2022-07-10 20:14:21 -07:00
Myk
b0e7325d4f
add sample plugin to go with the sample help ( #2239 )
2022-07-10 20:14:20 -07:00
Myk
27d7c3acc6
Myk sample command help ( #2238 )
...
* add example tool documentation in proposed format
* refine Tools.rst
2022-07-10 20:14:20 -07:00
Myk
f1cb9b9a83
Build and install text help alongside html ( #2236 )
...
* build text docs alongside html
also:
- capture more doc dependencies that should cause rebuilds
- move intermediate build output (doctree data) into build dir
- allow sphinx build to multitask more for faster completion times
* install text help alongside html help
* update settings in docs build action
2022-07-10 20:14:20 -07:00