INNER CODE UNIT · Python
_ignore_example_internal_markdown
WenyuChiou/awesome-agentic-ai-zh · scripts/build-docs-tree.py:159
def _ignore_example_internal_markdown(directory: str, names: list[str]) -> set[str]:
"""Keep example landing pages public without publishing agent internals.
Example code and each localized ``README`` remain available. Files such as
``SKILL.md`` and its implementation references belong in the GitHub source
tree; rendering them as ordinary lessons creates broken runtime-placeholder
links and noisy search results.
"""
del directory
return {
name
for name in names
if name.endswith(".md") and not name.startswith("README")
}
if __name__ == "__main__":