Skip to content

Conversation

@mcanouil
Copy link
Owner

Refactor the lua-env extension to use module organisation and error handling. Introduce logging utilities for standardised messages and enhance configuration checks for better usability. Update documentation for clarity and consistency.

Introduce logging functions to format and log error, warning, and output messages with a consistent extension prefix. This enhances error handling and improves the clarity of log messages across the lua-env extension.
Update the utils module loading to remove the file extension, ensuring compatibility and cleaner code.
Consistently use single quotes for string literals in lua-env-filter.lua and lua-env-shortcode.lua for improved readability and adherence to coding standards.
…ation

Add support for handling array-based configuration in the check_deprecated_config function. Emit a warning when top-level configuration is deprecated and guide users to the new format. This improves usability and clarity for extension configuration.
Correct the headings for clarity and add output information for the example.
Eliminate the logging of lua-env metadata to streamline the function and reduce unnecessary output.
@mcanouil mcanouil added the Type: Refactor 🔥 Issues related to refactoring, restructuring, or cleaning up label Oct 24, 2025
@mcanouil mcanouil self-assigned this Oct 24, 2025
@mcanouil mcanouil added this to Quarto Oct 24, 2025
@github-project-automation github-project-automation bot moved this to 🆕 New in Quarto Oct 24, 2025
@mcanouil mcanouil moved this from 🆕 New to 🏗 In progress in Quarto Oct 24, 2025
@mcanouil mcanouil merged commit 5bb9297 into main Oct 25, 2025
@mcanouil mcanouil deleted the refactor/lua-modules branch October 25, 2025 15:42
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Quarto Oct 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Refactor 🔥 Issues related to refactoring, restructuring, or cleaning up

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants