SmartSpectra C++ SDK
Measure human vitals from video with SmartSpectra C++ SDK.
Loading...
Searching...
No Matches
clean_protobuf_paths Namespace Reference

Classes

class  PathCleanerParser

Functions

 clean_html_paths (html_content)
 main ()

Detailed Description

Script to remove 'modules/messages/' base paths from <a> and <h2> HTML tags
in the generated protobuf reference documentation.
Handles URL-encoded paths like 'modules%2fmessages%2f' in attributes
and regular paths like 'modules/messages/' in text content.

Function Documentation

◆ clean_html_paths()

clean_protobuf_paths.clean_html_paths ( html_content)
Remove 'modules/messages/' from href and id attributes in HTML tags.
Handles URL-encoded paths like 'modules%2fmessages%2f' in attributes
and regular paths like 'modules/messages/' in h2 text content.