Comments (2)
I assume that the .. uml::
directive is from the sphinxcontrib-plantuml extension?
I definitely want to make sure that it is possible to support this. However, I won't be adding support for this directly to esbonio
itself.
Since roles and directives can do practically anything, esbonio
needs to be "taught" how each role/directive behaves and what features it should try and provide. So while it makes sense for esbonio
support whatever Sphinx provides, it would be impractical to try and add built-in support for the wider ecosystem.
For this reason I've always intended for esbonio
to be extensible and my hope is with the upcoming 1.0
release this will finally become a reality. To cut a long story short, my aim is in the worst case scenario you would have to add a few lines to your conf.py
to "teach" esbonio about the .. uml::
directive
def setup(app):
"""This is just a sketch, I'm sure the details will change!"""
if hasattr(app, 'esbonio'):
app.esbonio.register_directive("uml", argument_provider='filepath')
Best case, the 1.0
release is a huge success and extensions themselves start including the necessary integrations with esbonio
and everything Just WorksTM out of the box! 😅
Anyway, I'm going to need an API like this myself in order to re-implement features like this for the 1.0
release so you can be reasonably confident that a solution you can try will be available in a reasonable time frame :)
from esbonio.
Hi @alcarney ,
Yes, you are correct; this directive pertains to the sphinxcontrib-plantuml extension.
Thank you for your engagement and interest in this feature. I hope this feature will be implemented in the future.
Wishing you great success!
from esbonio.
Related Issues (20)
- Re-implement `sphinx.configOverrides`
- Improve sync scrolling resolution
- Add option(s) to control when preview reloads
- Investigate preview handling of anchor links
- Fails to start server HOT 3
- Preview of rst files not working HOT 19
- Suppress directive completions when typing closing backticks
- Suggest `eval-rst` directive when typing in MyST synatx
- `ValueError` when typing directive options in MyST
- `KeyError` related to deleted files in the sphinx agent
- Server does not end progress when the build fails HOT 1
- Rebuild files that contain diagnostics
- JsonRpcInternalError path mount HOT 4
- `:name:` + `:numref:` links do not update properly HOT 2
- It's impossible to configure the server for projects located on a Windows network share
- It's hard to debug errors in the sphinx agent
- Support for Jupyter-Book HOT 2
- Print statement in Sphinx event callback breaks esbonio HOT 2
- Exception JsonRpcInternalError HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esbonio.