MCPcopy Create free account
hub / github.com/DFHack/dfhack / doc_all_dirs

Function doc_all_dirs

conf.py:58–67  ·  view source on GitHub ↗

Collect the commands and paths to include in our docs.

()

Source from the content-addressed store, hash-verified

56
57
58def doc_all_dirs():
59 """Collect the commands and paths to include in our docs."""
60 tools = []
61 for root, _, files in os.walk('docs/builtins'):
62 tools.extend(doc_dir(root, files, os.path.relpath(root, 'docs/builtins')))
63 for root, _, files in os.walk('docs/plugins'):
64 tools.extend(doc_dir(root, files, os.path.relpath(root, 'docs/plugins')))
65 for root, _, files in os.walk('scripts/docs'):
66 tools.extend(doc_dir(root, files, os.path.relpath(root, 'scripts/docs')))
67 return tuple(tools)
68
69
70def write_tool_docs():

Callers 1

write_tool_docsFunction · 0.85

Calls 2

doc_dirFunction · 0.85
extendMethod · 0.80

Tested by

no test coverage detected