[Doc] Path to the documentation file spec_clusters.md is wrong in the script
Opened this issue · 0 comments
lboue commented
Path to the documentation file spec_clusters.md is wrong in the script:
connectedhomeip/scripts/spec_xml/paths.py
Lines 58 to 66 in cfdaf79
./scripts/spec_xml/generate_spec_xml.py --scraper ~/Downloads/scrape-adoc-linux --spec-root ~/work/connectedhomeip-spec --output-dir data_model
Traceback (most recent call last):
File "/home/user/connectedhomeip/./scripts/spec_xml/generate_spec_xml.py", line 37, in <module>
DEFAULT_DOCUMENTATION_FILE = get_documentation_file_path()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/connectedhomeip/scripts/spec_xml/paths.py", line 76, in get_documentation_file_path
raise FileNotFoundError(f"Documentation file does not exist: {documentation_file}")
FileNotFoundError: Documentation file does not exist: /home/user/connectedhomeip/docs/spec_clusters.md
*Error
It should be this: /docs/ids_and_codes/spec_clusters.md