LunaticMuch / docusaurus-terminology

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

Versioning and partials limitation #6

Closed JakeSCahill closed 7 months ago

JakeSCahill commented 1 year ago

The terms don't get replaced if you use the %%term-name|term-id%%:

This makes the plugin unusable for most docs projects.

The plugin seems to replace the term in partials, but it happens after they're imported by Docusaurus, so you don't see the result:

Replacing patterns with <Term />
Iterate through the .md(x) files, looking for term patterns
» File /Users/jakecahill/Documents/documentation/docs/data-management/shared/_rack-awareness.mdx is updated.
✓ 1 term replacements completed.
LunaticMuch commented 1 year ago

Can you give me a repo there you have the issue? I would like to see and possibly fix.

JakeSCahill commented 1 year ago

Hey @LunaticMuch , we have a PoC in this branch: https://github.com/redpanda-data/documentation/tree/glossary

Any help is much appreciated 😄

LunaticMuch commented 1 year ago

I need to spend time on it. Is this still current?