From 8fec012cc709ec8be391fd251ff856209ac3dc97 Mon Sep 17 00:00:00 2001 From: Torwent Date: Mon, 5 Feb 2024 12:17:10 +0100 Subject: [PATCH] docs: minor tweak so WaspLib docs can reference SRL-T docs and link to them --- docs/docgen/conf.py | 6 ++++-- optional/handlers/poh.simba | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/docgen/conf.py b/docs/docgen/conf.py index f0f75dff..d53894e8 100644 --- a/docs/docgen/conf.py +++ b/docs/docgen/conf.py @@ -44,6 +44,7 @@ 'sphinx.ext.autodoc', 'sphinx.ext.autosummary', 'sphinx.ext.autosectionlabel', + 'sphinx.ext.intersphinx', 'sphinx_copybutton', 'sphinx_togglebutton', 'myst_parser' @@ -159,9 +160,10 @@ # -- Extension configuration ------------------------------------------------- +intersphinx_mapping = {'SRL-T': ('https://torwent.github.io/SRL-T', None)} +intersphinx_disabled_reftypes = ["*"] myst_enable_extensions = [ 'linkify', 'colon_fence' -] -sphinxemoji_style = 'twemoji' \ No newline at end of file +] \ No newline at end of file diff --git a/optional/handlers/poh.simba b/optional/handlers/poh.simba index c52bae8f..31fd5887 100644 --- a/optional/handlers/poh.simba +++ b/optional/handlers/poh.simba @@ -1,5 +1,6 @@ (* -# POH +(POH)= +# POH Handler The POH Handler is a handler responsible for making sense of a player's POH (Player Owned House) without knowing any info about it's setup in advance. @@ -135,6 +136,7 @@ function TPOHMap.GetRoomBitmapBox(room: ERSHouseRoom): TBox; Internal method used to get the box of the {ref}`ERSHouseRoom` you pass in. This box is a box of the following image: + ![poh rooms](../../../osr/walker/poh.png) Example: