LunaticMuch / docusaurus-terminology

docusaurus-terminology
BSD 2-Clause "Simplified" License
4 stars 4 forks source link

Fixed issue with glossary command. #28

Open T-Sana opened 3 months ago

T-Sana commented 3 months ago

The glossary command was exported twice, i just deleted the second ocurrence of the export.

I hope this will help.

T-Sana commented 3 months ago

I compared the files in commands/ parser.js and glossary.js and found that glossary was exported twice while parser only once. As parser was working but not glossary I tried to delete the second ocurrence of the exportation for glossary and it worked, then when I forked your project I saw the files didn't follow the same structure as in node-modules/ so I located where were defined glossary and parser and comparing these files I could find what line I had to remove to solve the issue.