From cd83bcb3d125d808cd23a0e47b456bbda126382d Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Wed, 5 Jan 2022 16:46:26 -0600 Subject: [PATCH] Add setup function Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com> --- nfdocs-parser.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nfdocs-parser.py b/nfdocs-parser.py index 4f864f8..177c155 100755 --- a/nfdocs-parser.py +++ b/nfdocs-parser.py @@ -123,3 +123,9 @@ class NFDocs(Directive): return_nodes.append(block_section) return return_nodes + +def setup(app): + app.add_directive('nfdocs', NFDocs) + return { + "version": "0.1.0" + }