diff --git a/cylc/sphinx_ext/metadata/__init__.py b/cylc/sphinx_ext/metadata/__init__.py index f83f74d..7b445d7 100644 --- a/cylc/sphinx_ext/metadata/__init__.py +++ b/cylc/sphinx_ext/metadata/__init__.py @@ -15,14 +15,12 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . # ----------------------------------------------------------------------------- -import os -from pathlib import Path from docutils import nodes +from docutils.statemachine import ViewList import json +import os +from pathlib import Path from sphinx.util.docutils import SphinxDirective -# from cylc.flow.config import WorkflowConfig -# from cylc.flow.cfgspec.glbl_cfg import glbl_cfg -from docutils.statemachine import ViewList from sphinx.util.nodes import nested_parse_with_titles from subprocess import run