Skip to content

assert when running apidocs.py #677

@linesight

Description

@linesight

running

python tools\apidocs.py

would get

Running toc.py in api/ dir
No changes to TOCs. Files not modified.
Running toc.py in docs/ dir
No changes to TOCs. Files not modified.
Running toc.py in examples/ dir
No changes to TOCs. Files not modified.
Running toc.py in snippets/ dir
No changes to TOCs. Files not modified.
No changes: api/API-index.md
Traceback (most recent call last):
  File "D:\workspace\cefpython\tools\apidocs.py", line 150, in <module>
    main()
  File "D:\workspace\cefpython\tools\apidocs.py", line 38, in main
    update_readme_file(api_links)
  File "D:\workspace\cefpython\tools\apidocs.py", line 81, in update_readme_file
    assert re.search(re_find, readme_contents), ("API categories not found"
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: API categories not found in README

likely due to 05586d5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions