Skip to content

Conversation

@mcanouil
Copy link
Owner

Refactor the codebase to use Lua modules and improve the organisation of files. Introduce new utilities for managing HTML dependencies and standardised logging, enhancing error handling and configuration management. Improve readability by tidying up whitespace and standardising string quotes. Update deprecated configuration handling to support array-based inputs while maintaining backward compatibility.

Remove unnecessary blank lines in the license section for improved readability.
Introduce functions to ensure unique HTML dependencies are added and to reset the dependency tracker. This prevents duplication and enhances configuration management for Quarto documents.
Introduce standardised logging functions to format and log error, warning, and informational messages with an extension prefix. This enhances consistency across extensions and improves error handling.
Streamline the loading of the utils module by removing the unnecessary variable assignment for the path. This improves code readability and maintains functionality.
Ensure consistent use of single quotes for string literals in toc-depth.lua for improved readability and adherence to coding standards.
Improve the check_deprecated_config function to support array-based configuration when the key is nil, while maintaining the original key-value behaviour. Emit a warning for deprecated top-level configuration usage.
Standardise the wording for the output section to improve clarity.
@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
Include author details for better attribution and documentation clarity.
@mcanouil mcanouil merged commit db71c89 into main Oct 25, 2025
@mcanouil mcanouil deleted the refactor/lua-modules branch October 25, 2025 16:03
@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.

1 participant