pipeworks_mud_mapper.services.app_config ======================================== .. py:module:: pipeworks_mud_mapper.services.app_config .. autoapi-nested-parse:: Application configuration helpers. This module centralizes user-configurable settings loaded from config/server.ini. Defaults are used when the file is missing so the app remains runnable out of the box. Functions --------- .. autoapisummary:: pipeworks_mud_mapper.services.app_config.get_path_settings pipeworks_mud_mapper.services.app_config.get_server_settings pipeworks_mud_mapper.services.app_config.format_display_path pipeworks_mud_mapper.services.app_config.format_short_path Module Contents --------------- .. py:function:: get_path_settings() Return configured filesystem paths used by the app. Note: changes to config/server.ini require an app restart to take effect. .. py:function:: get_server_settings() Return server settings used by the app (for example, the default port). .. py:function:: format_display_path(path) Format a path for UI display (relative when possible, trailing slash). .. py:function:: format_short_path(path, *, keep_parts = 3) Return a shortened path for compact UI labels. Uses relative path when possible; otherwise keeps the last few segments with an ellipsis prefix to avoid overly wide labels.