Pipadoc extracts extracts special comments out of source files or plaintext files and let one define rules how to bring them into proper order. This is somewhat similar to Literate Programming, but it puts the emphasis back to the code, since the source is not extracted from a given "literate text", but the documentation is extracted from the source and then the structure of the generated documentation is defined by the programmer. Pipadoc is programming language and documentation system agnostic, all it requires is that the programming language has some kind of line or block comments in one can place doc statements. It provides a plugin system where one can extend functionality. Some plugins for asciidoc, index generation, and verbatim code sections are provided.