TezosTaqueria / taqueria

*BETA* Taqueria provides a seamless development workflow to easily build, test and deploy your Tezos applications.
https://taqueria.io
Apache License 2.0
64 stars 20 forks source link

Glossary for Taqueria Documentation #347

Open hu3man opened 2 years ago

hu3man commented 2 years ago

Describe the feature you would like

A glossary of terms used in Taqueria that supports hover-over definitions for users

Is this feature solving a problem?

Details about the problem your feature solves

Please share any additional details you have?

One framework: https://essif-lab.pages.grnet.gr/framework/docs/terminology-plugin-instructions#generate-the-glossary-page

Tasks

Code of Conduct

russellmorton commented 2 years ago

@hu3man, related issue has a link to preliminary work done.

hu3man commented 2 years ago

Blocked

There are several implementations of this functionality:

Unfortunately, they all share two common libraries:

The parser is available for both NPM and Yarn, but the term library is only available through Yarn

We currently use npm to manage Docusaurus, this prevents the usage of the term library which provides the text replacement and tooltip functionality

The options I can see moving forward are:

  1. Refactor Docusaurus and the Website to use Yarn rather than NPM (Docusaurus has first-class support for both)
  2. Use both NPM and Yarn together (generally an anti-pattern)
russellmorton commented 2 years ago

@hu3man let's split this ticket into:

so that we can get the glossary on the site.

hu3man commented 2 years ago

The way this works is that each definition gets it's own *.mdx file that exists in a hidden directory that is then rendered and both libraries are required for this

hu3man commented 2 years ago

@alexzbusko @GImbrailo @jevonearth , what are your thoughts on parallel pkg managers vs refactoring from NPM to yarn?

From my understanding, either approach is going to affect our CI/CD pipeline and involves trade-offs between upfront effort and maintenance and stability

hu3man commented 2 years ago

Currently refactoring to Yarn in PR #478

hu3man commented 2 years ago

Where abouts in Notion is the preliminary glossary @russellmorton ?

hu3man commented 2 years ago

Deprioritizing due to more important in-scope work for milestone (scaffold and state API docs)