h3ndrk / interactive-widgets-mkdocs Goto Github PK
View Code? Open in Web Editor NEWMkDocs plugin for generating frontend HTML for interactive-widgets-backend
License: MIT License
MkDocs plugin for generating frontend HTML for interactive-widgets-backend
License: MIT License
Hi @h3ndrk!
First off - amazing stuff! This project seems to be exactly what I was looking for when trying to add some "interact-ability" to my mkdocs project.
I made it pretty far and was able to install everything (along with the backend) just fine and was even able to build my mkdocs project after adding the plugin to the mkdocs.yml config (tricky bit was guessing the right plugin name interactive_widgets
๐)
The error I am seeing is when I try to add simple button (like in the README) that prints the date I am seeing an error.
Here is the button I added to a .md
package:
<x-button command="date" image="ubuntu:latest" label="Print date" working-directory="/data" />
And when I try and run mkdocs build
after adding that page to my project I get:
File "/home/user/plugin_venv/lib/python3.8/site-packages/interactive_widgets_mkdocs/plugin.py", line 121, in on_post_page
assert current_head is not None
AssertionError
Any ideas on what might be causing the error?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.