Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to generate glossary #27

Open
rpo-fr opened this issue Jun 17, 2024 · 1 comment
Open

Not able to generate glossary #27

rpo-fr opened this issue Jun 17, 2024 · 1 comment

Comments

@rpo-fr
Copy link

rpo-fr commented Jun 17, 2024

When i run 'yarn docusaurus glossary --debug', i have an error
`
Alphabetical list of terms
..\Documents\Workspaces\Documentations\user-documentation\node_modules@lunaticmuch\docusaurus-terminology\lib\index.js:58
(0, _glossary.glossary)(options);
^

TypeError: (0 , _glossary.glossary) is not a function
`

My docusaurus.config.js:
[ '@lunaticmuch/docusaurus-terminology', { termsDir: './docs/terms', docsDir: './docs/', glossaryFilepath: './docs/glossary.md' }, ],,

I use docusaurus 3.3.2

@T-Sana
Copy link

T-Sana commented Jun 26, 2024

Got the same issue, i deleted the line 60 of glossary.js "module.exports = { glossary };" because glossary was already exported and this fixed my issue.
Hope it will help you.

I mean, once it's installed, in "node-modules/@lunaticmuch/docusaurus-terminology/lib/commands/glossary.js".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants