pyphi.mcp.content.load#

pyphi.mcp.content.load(topic)[source]#

Return the Markdown text of a reference topic.

The configuration topic has the complete option reference appended, generated live from the config dataclasses by config_reference(), so it never drifts from the code.

Parameters:

topic (str) – One of the keys of TOPICS.

Returns:

str – The document’s Markdown text.

Raises:

KeyError – If topic is not a known topic.

Return type:

str