Skip to content

Commit

Permalink
Merge branch 'develop' into adv-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
myk002 committed Jan 7, 2025
2 parents 649d527 + 9dd1ce7 commit 9eedfad
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 14 deletions.
4 changes: 1 addition & 3 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ submodules:
sphinx:
configuration: conf.py

formats:
- epub
- htmlzip
formats: all

python:
install:
Expand Down
2 changes: 1 addition & 1 deletion build/build-win64-from-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if ! docker run --rm -i -v "$srcdir":/src -v "$srcdir/build/win64-cross/":/src/b
-e steam_password \
--name dfhack-win \
ghcr.io/dfhack/build-env:master \
bash -c "cd /src/build && dfhack-configure windows 64 Release -DCMAKE_INSTALL_PREFIX=/src/build/output -DBUILD_DOCS=1 $CMAKE_EXTRA_ARGS && dfhack-make -j$jobs install && find depends library plugins -iname '*.pdb' -exec cp '{}' pdb/ \;" \
bash -c "cd /src/build && dfhack-configure windows 64 Release -DCMAKE_INSTALL_PREFIX=/src/build/output -DBUILD_DOCS=1 $CMAKE_EXTRA_ARGS && dfhack-make -j$jobs install && find $(find -name depends -o -name library -o -name plugins) -iname '*.pdb' -exec cp '{}' pdb/ \;" \
; then
echo
echo "Build failed"
Expand Down
4 changes: 0 additions & 4 deletions docs/dev/Lua API.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3702,8 +3702,6 @@ functions. These are invoked just like standard string functions, e.g.::
script-manager
==============

.. highlight:: none

This module contains functions useful for mods that contain DFHack scripts to
retrieve source and state paths. The value to pass as ``mod_id`` must be the
same as the mod ID in the mod's :file:`info.txt` metadata file. The returned
Expand Down Expand Up @@ -3742,8 +3740,6 @@ paths will be relative to the top level game directory and will end in a slash
utils
=====

.. highlight:: lua

* ``utils.compare(a,b)``

Comparator function; returns *-1* if a<b, *1* if a>b, *0* otherwise.
Expand Down
4 changes: 0 additions & 4 deletions docs/guides/modding-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,6 @@ immensely, and you can always ask for help in the `right places <support>`.
Reading and writing files and other persistent state
----------------------------------------------------

.. highlight:: none

There are several locations and APIs that a mod might need to read or store
data:

Expand All @@ -256,8 +254,6 @@ for reading and writing JSON data. For example::
-- modify state in the config.data table and persist it when it changes with
-- config:write()

.. highlight:: lua

State that should be saved with a world or a specific fort within that world
should use `persistent-api` API. You can attach a state change hook for new
world loaded where you can load the state, which often includes whether the mod
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/stonesense.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Useful links
------------
- Report issues on `Github <https://github.com/DFHack/stonesense/issues>`_
- `support`
- :forums:`Official Stonesense thread <106497>``
- :forums:`Official Stonesense thread <106497>`
- :forums:`Screenshots thread <48172>`
- :wiki:`Main wiki page <Utility:Stonesense>`
- :wiki:`How to add content <Utility:Stonesense/Adding_Content>`
Expand Down
2 changes: 1 addition & 1 deletion library/xml
Submodule xml updated from 0273bc to 58d2e8

0 comments on commit 9eedfad

Please sign in to comment.