grnet / docusaurus-terminology

Home of Docusaurus Terminology Plugin
BSD 2-Clause "Simplified" License
32 stars 4 forks source link

When using doc versioning in Docusaurus, the glossary works only with current version #19

Open LaCivette opened 9 months ago

LaCivette commented 9 months ago

In our case, the glossary works with /docs/next/ but not with other (archived) versions.

tsironis commented 8 months ago

Hello @LaCivette, could you provide your docusaurus.config.js and package.json, please? We have to make sure that we are able to reproduce the bug more quickly.

LaCivette commented 8 months ago

I reproduced it rapidly from the tutorial : npx create-docusaurus@latest my-website classic cd my-website npm i @grnet/docusaurus-terminology --save

I then created the file /docs/glossary.md and some terms in /docs/terms. I made a version "1" : npm run docusaurus docs:version 1

I edited the docusarus.config.js which is in attachment config.zip

Result : in version 1, the glossary is empty.