ansys/ansys-sphinx-theme

Clean up JavaScript files by removing redundant code

Opened this issue · 4 comments

Description:
Refactor and optimize existing JavaScript files by removing redundant code, simplifying logic, and ensuring all event listeners and functions are necessary and efficient. This will improve code readability, reduce file size, and enhance performance.

Acceptance Criteria:

  • Remove any unused functions or variables.
  • Consolidate duplicate code blocks or functions.
  • Test all functionality to ensure no regressions are introduced.

Note

Before contributing and starting any work, please make sure you agree with the CLA and sign it in your PR.

can you assign this task to me

Hi @KartikSaxena19, sure! Remember to sign our CLA and add your name to the list of CONTRIBUTORS.

As I'm new to this platform can you please help me that from where i can solve your issue ,how to download ansys if required and where to test the code.

Hi @KartikSaxena19, you do not need to download any of the Ansys software for contributing to this project. This is a pure Python library that acts as a documentation theme for Sphinx. Thus, it ships some css files and js files.

The goal of this issue is to revisit the js files to check if there is some outdated content or space for improvement.

Your question reminds me of the #102 issue.