Commit Graph

11817 Commits (8546b2963cd7970878ae8b5f1f38f19afd114fdc)
 

Author SHA1 Message Date
myk002 8546b2963c
tool docs are no longer toc-orphaned 2022-09-23 15:58:31 -07:00
Myk 3dfb85522a
Merge pull request #2297 from myk002/myk_count_doku
Generate tag indices
2022-09-23 14:11:33 -07:00
myk002 6b219f342d
add a TOC of all tools so the pdf picks them up 2022-09-23 14:09:15 -07:00
myk002 50f0d11372
include tool desc in the index for all formats 2022-09-23 13:19:13 -07:00
myk002 4ae1b7fb74
fix anchor text transformation 2022-09-23 12:51:50 -07:00
myk002 98b6ad4954
fix index titles on pdf 2022-09-23 12:34:50 -07:00
myk002 1cd5e8657a
link directly to the tool page title
instead of the top of the page
this is especially important on mobile where the top of the page is
taken up with the sidebar boilerplate
2022-09-23 11:33:14 -07:00
myk002 52011bde7b
share tag list between tool and commands
so all relevant tag index entries get generated
2022-09-23 11:13:49 -07:00
myk002 5869ba64c8
add tag description to the tag index page
this is a terrible hack that only works because sphinx doesn't sanitize
its input for the html builder. we set the title to

  '%s<h4>%s</h4>' % (tag, desc)

so the final html looks like <h1>adventure<h4>...</h4></h1>

this may not play nice with the pdf builder..
2022-09-23 10:21:53 -07:00
myk002 1b9cd83009
use a domain index instead of the genindex 2022-09-23 10:10:28 -07:00
myk002 a92e5d1f74
populate, merge, and generate real tag indices 2022-09-23 09:32:08 -07:00
myk002 a1d3fe77b5
add a bit more index infrastructure 2022-09-23 08:46:50 -07:00
myk002 278b7528ac
implement basic domain index structure 2022-09-23 08:46:50 -07:00
myk002 4913637b62
genindex label "alphabetical" -> "annotated" 2022-09-23 08:46:50 -07:00
myk002 618a191c87
fix directive use for reveal.rst 2022-09-23 08:46:50 -07:00
Myk b8a172440f
Merge pull request #2299 from myk002/myk_die_easter_egg
[helpdb] replace die's underline with tombstones
2022-09-23 08:45:43 -07:00
myk002 7c498e6611
add note about regenerating dwarfmonitor.json 2022-09-23 08:39:40 -07:00
myk002 fae26b2375
replace die's underline with tombstones
easter egg suggested by thurin : )
2022-09-23 08:34:22 -07:00
Myk b07f3b5b6c
stub help formatted same as real help 2022-09-22 17:43:56 -07:00
Myk 4d662adfe5
Fix marker checking for ruby help text 2022-09-22 17:39:54 -07:00
Myk 3532ad3633
Merge pull request #2298 from wolfboyft/modding-guide-patch
Add link to a full example mod and show more code configurations in modding guide
2022-09-22 13:38:26 -07:00
Tachytaenius 6810f9bb90 Remove empty indented line 2022-09-22 20:31:43 +01:00
Tachytaenius 30100bec8f
Add link to Tachy Guns and show more code configurations in guide 2022-09-22 20:23:56 +01:00
Myk eac3641d53
Merge pull request #2296 from myk002/myk_doctoc
doc tweaks
2022-09-21 10:50:13 -07:00
myk002 7f31b612ae
readthedocs doesn't like "all", list separately 2022-09-21 10:47:02 -07:00
myk002 b6dee4b0f1
build all formats 2022-09-21 10:45:27 -07:00
myk002 2e64464bb8
reword sentence after title expansion 2022-09-21 10:44:01 -07:00
myk002 ee51e830ad
update wording in Tools docs 2022-09-21 10:40:17 -07:00
myk002 e36f6ea844
also build pdf format 2022-09-21 10:40:08 -07:00
myk002 682ed29c0c
replace deprecated support page with a redirect
configured on the readthedocs web admin page
2022-09-21 10:36:46 -07:00
Myk bade7d270c
Merge pull request #2293 from myk002/myk_genindex
[docs] create genindex entries for all tools and commands
2022-09-21 10:14:26 -07:00
Myk Taylor 35152bf022
create genindex entries for all tools and commands 2022-09-21 10:12:30 -07:00
Myk ab611f36e6
Merge pull request #2294 from myk002/myk_update_sphinx_ver
Update min sphinx version to 3.4.3 to support index generation
2022-09-21 10:11:35 -07:00
Myk Taylor a1c57ccafd
pin the sphinx version exactly at 4.4.0 2022-09-21 10:07:20 -07:00
Myk Taylor 2a13664b36
rename yaml to yml 2022-09-21 10:03:51 -07:00
Myk Taylor 2ef2ec66b6
update min sphinx version to 3.4.3
it might be able to go lower, but sphinx 1.8.6 is too low (it doesn't
support the calls we make to generate the genindex entries)
2022-09-21 09:57:55 -07:00
Myk b972124b58
Merge pull request #2295 from myk002/myk_readthedocs
Add readthedocs configuration to pin sphinx version
2022-09-21 09:54:34 -07:00
Myk Taylor 9fb037574d
add readthedocs configuration 2022-09-21 09:50:45 -07:00
myk002 39acd3e992
don't display overlay on trade goods screen
so it doesn't overlap the trade value label
2022-09-21 08:59:36 -07:00
DFHack-Urist via GitHub Actions ffe2365550 Auto-update submodules
scripts: master
2022-09-21 07:42:18 +00:00
DFHack-Urist via GitHub Actions a5af7020eb Auto-update submodules
scripts: master
2022-09-20 07:28:37 +00:00
Myk e2a8e0bffb
Merge pull request #2290 from myk002/myk_mouse_pos
Make screen elements clickable when using TWBT
2022-09-19 11:24:38 -07:00
myk002 2481676370
fix mouse pos offset and output 'X' at screen edge 2022-09-19 11:13:47 -07:00
Myk Taylor 8e718d9851
add docs for dfhack.gui.getMousePos() 2022-09-18 13:31:20 -07:00
Myk Taylor 28b70eaee9
return map coords as a coord, not x, y, z 2022-09-18 13:27:33 -07:00
Myk Taylor dbc5001bd8
fail if mouse cursor isn't over the map area 2022-09-18 13:27:13 -07:00
Myk Taylor 8fd86f6e56
fix typo in kittens.cpp 2022-09-18 08:40:22 -07:00
Myk Taylor 3b650c8d0b
don't let changes to the lua cursor bleed through
before, we could end up changing the state of whoever last called
guidm.setCursorPos()
2022-09-18 08:20:33 -07:00
Myk Taylor 1f15e4d47e
expose Gui::getMousePos() to Lua 2022-09-18 08:19:56 -07:00
Myk Taylor 215a5b0a24
add Gui::getMousePos() that always gets map coords 2022-09-18 08:19:02 -07:00