Comments (7)
Thank you for your contribution! This is very appreciated.
from mkdocs-mermaid2-plugin.
Thanks! In practice, how would you call python setup.py install
for the test
feature?
from mkdocs-mermaid2-plugin.
Good question 🤔 I must admit I didn't test that scenario. Let me play around and confirm it works. How do you do it at the moment? How do you do it with mkdocs_macros_plugin?
from mkdocs-mermaid2-plugin.
To do this from scratch:
cd mkdocs-mermaid2-plugin
virtualenv .venv --python=python3
./.venv/bin/pip install -e .[test]
./.venv/bin/python setup.py test
This installs mkdocs-mermaid2-plugin
as an editable library in the virtualenv, with the testing prerequisites. (You can confirm that mkdocs-material
and pyyaml
both appear in .venv/lib
.)
Although I'm pretty sure "setup.py test" is not doing anything. I'm not sure how you trigger your tests?
from mkdocs-mermaid2-plugin.
Thanks! If you use pip, would it work as follows?
pip install "mkdocs-mermaid2-plugin[test]"
from mkdocs-mermaid2-plugin.
Yes, that's how you would install it from PyPI.
from mkdocs-mermaid2-plugin.
Hmmm 🤔 if it's required for mkdocs-material users, not just for testing before release, then you probably want another extras definition so they can pip install mkdocs-mermaid2-plugin[material]
. Or maybe that's simply a better name than test
? Let me know.
from mkdocs-mermaid2-plugin.
Related Issues (20)
- Unhandled exception when checking if URL exists HOT 5
- Add Zoom and Pan to Diagrams? (ER Diagram very tiny) HOT 5
- ZenUML: Using "Custom loader" leads to endless loops HOT 6
- Add support for mermaid gitgraph (make plugin compatible with mermaid lib > 10) HOT 2
- sequenceDiagram brokens HOT 5
- Superfences custom fence function does not seem to work HOT 14
- Cannot get theme to work on 10.2.4 HOT 3
- extra_javascript in mkdocs 1.5.0 is list of objects and no longer string HOT 5
- mkdocs build command prints deprecation warnings HOT 8
- Arguments in the config file do not work
- Tag the source HOT 3
- Include local `mermaid` library for offline support HOT 18
- javascript parameter seems not to work with default configuration HOT 5
- Mermaid2 diagrams with annotations shows half the (+) button and nothing happens when you click it HOT 9
- Markdown inside of node text is not rendering HOT 2
- Local Mermaid library not found HOT 11
- Handle module style inclusion of local Mermaid v10 library HOT 10
- Rendering Mermaid diagram with Pan and Zoom ability on mkdocs pages HOT 4
- Warnings in webdoc, because of relative links HOT 4
- [doc/readthedoc.io] link error in index HOT 4
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 mkdocs-mermaid2-plugin.