We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5aaab20 commit 0d2ab7dCopy full SHA for 0d2ab7d
.ci/generate_operators_doc.py
@@ -1,7 +1,5 @@
1
import argparse
2
from pathlib import Path
3
-import json
4
-import os
5
6
from jinja2 import Template
7
@@ -160,10 +158,6 @@ def generate_toc_tree(docs_path):
160
158
operators.append({"operator_name": operator_name, "file_name": file_name})
161
159
data.append({"category": category, "operators": operators})
162
163
- # Write the JSON file for debugging purposes
164
- with open(docs_path / "toc_tree.json", "w") as file:
165
- json.dump(data, file, indent=4)
166
-
167
# Render the Jinja2 template
168
template_path = docs_path / "toc_template.j2"
169
with open(template_path, "r") as template_file:
0 commit comments