From f455c57204aff7ea106adc7e372b480c74b1b506 Mon Sep 17 00:00:00 2001 From: Laurent Franceschetti Date: Wed, 12 Jul 2023 13:13:17 +0200 Subject: [PATCH] Bump to 1.0.1 (production) --- mermaid2/plugin.py | 6 ++++-- setup.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/mermaid2/plugin.py b/mermaid2/plugin.py index 81b8b0b..5f74759 100755 --- a/mermaid2/plugin.py +++ b/mermaid2/plugin.py @@ -185,9 +185,11 @@ def on_config(self, config): # the full config info for the plugin is there # we copy it into our own variable, to keep it accessible self._full_config = config - # here we use the standard self.config property: - # (this can get confusing...) + # Storing the arguments to be passed to the Javascript library; + # they are found under `mermaid2:arguments` in the config file: self._mermaid_args = self.config['arguments'] + # Here we used the standard self.config property + # (this can get confusing...) assert isinstance(self.mermaid_args, dict) info("Initialization arguments:", self.mermaid_args) # info on the javascript library: diff --git a/setup.py b/setup.py index 643becc..852c215 100755 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages -VERSION = '1.0.0-alpha' +VERSION = '1.0.1' # required if you want to run tests # pip install 'mkdocs-mermaid2-plugin[test]'