Skip to content

Releases: N-Wouda/docblock

v0.0.1

20 Jul 14:58
Compare
Choose a tag to compare

Docblock

The docblock package reads and parses documentation from C++ header files. It should also work out of the box for C header files, but that is currently untested. It is opinionated and explicitly does not cover all edge cases of the C++ grammar, but hopes to provide sufficient utility for most use cases. The package assumes documentation blocks are formatted using C-style comments, as follows:

/**
 * Text
 */
void func();

That is, the documentation block starts with /* or /**, and ends with */. Any starting * on documentation lines in the block are allowed, but not required.

To avoid parsing issues, non-documentation block comments SHOULD NOT use C-style comments.

The docblock package is a pure Python package and depends only on pyparsing. It can be installed as

pip install docblock

v0.0.1a2

20 Jul 14:33
Compare
Choose a tag to compare
v0.0.1a2 Pre-release
Pre-release

Fix a parsing issue with function and method declarations.

v0.0.1a1

20 Jul 14:20
Compare
Choose a tag to compare
v0.0.1a1 Pre-release
Pre-release

Pre-release with some actual functionality. 🎉

v0.0.1a0

19 Jul 20:33
63aa640
Compare
Choose a tag to compare
v0.0.1a0 Pre-release
Pre-release

Pre-release to register the project on PyPI.