Rather than try and have a single Directives language feature that does all the work of discovering directives, suggesting completions AND making it all work for both rst and myst, this commit breaks the work up between multiple LanguageFeatures.
There is a backend Directives feature, that will provide an API that the various frontend features can use.
Then there is the RstDirectives and MystDirectives features that build on the backend to surface the relevant features for their respective syntax. At the moment they are nearly identical however, they are now free to diverge to better support their associated syntax
This PR also makes some improvements to the Makefiles
so that it's possible to get the server's dev environment stood up on an arm machine (like a raspberry pi).
switch over to using hatch's new test subcommand rather than using tox
Rather than try and have a single
Directives
language feature that does all the work of discovering directives, suggesting completions AND making it all work for both rst and myst, this commit breaks the work up between multipleLanguageFeatures
.There is a backend
Directives
feature, that will provide an API that the various frontend features can use.Then there is the
RstDirectives
andMystDirectives
features that build on the backend to surface the relevant features for their respective syntax. At the moment they are nearly identical however, they are now free to diverge to better support their associated syntaxThis PR also makes some improvements to the
Makefiles
test
subcommand rather than usingtox