Skip to content

Commit

Permalink
Rename doc generator func
Browse files Browse the repository at this point in the history
  • Loading branch information
tgorochowik committed Oct 13, 2023
1 parent 9a441d3 commit 1bd8ef2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protoplaster/protoplaster
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def extract_tests(yaml_file, group, custom_path):
return tests


def print_html_doc(tests_doc_list, docs_dir_path):
def generate_rst_doc(tests_doc_list, docs_dir_path):

jinja2_env = Environment(
loader=FileSystemLoader(docs_dir_path),
Expand Down Expand Up @@ -206,7 +206,7 @@ def generate_docs(tests_full_path, yaml_content):

test_doc = TestDocs(class_macros, module_details, method_macros)
tests_doc_list.append(test_doc)
print_html_doc(tests_doc_list, docs_dir_path)
generate_rst_doc(tests_doc_list, docs_dir_path)


def run_tests(args):
Expand Down

0 comments on commit 1bd8ef2

Please sign in to comment.