Python will literally assign the content of your docstring (a triple-quoted string at the start of a function) to a special double underscored ("dunder") property called `__doc__` that any code can access; not just docs generators, but your own code as well (pretty dang useful for generating on-the-fly help output!).
Which also means that if you run into weird behaviour where a function doesn't do what you think it should do, you can just fire up the REPL, import that function, type `print(function_name.__doc__)` and presto, you have the documentation right there, specifically for the exact version you're using. You don't even need to leave your IDE if it comes with an integrated terminal.
Any string. Triple-quoted is just multiline strings and works anywhere.
Or even easier: `help(function_name)`!
- The python docs are there to give you the information you need.
- Passion pages are there to do a deep dive into all the crazy shit you can do with that information =D
It's not just a good trick: it's the right way to do it, and tooling can be (trivially) made to show you only what you need to see until you need to see more.
edit: not saying it can't be done but our org isn't using auto docs
(lots of fun dunder functions in Python that make metaprogramming a lot easier, but someone needs to tell you about)