-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from Tolc-Software/docs
- Loading branch information
Showing
3 changed files
with
62 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# News # | ||
|
||
## Bindings ## | ||
|
||
* Add support for transferring documentation from the C++ to pybind11 | ||
* Add tests for all officially supported documentation styles | ||
* Supported for: | ||
* Classes | ||
* Member variables | ||
* Enums | ||
* Functions | ||
|
||
Example of documentation string styles: | ||
|
||
```cpp | ||
// One line comment | ||
class OneLiner {}; | ||
|
||
/** Single multi line comment */ | ||
class SingleMulti {}; | ||
|
||
/** | ||
* Multi | ||
* line | ||
* comment | ||
*/ | ||
class Multi {}; | ||
|
||
/** | ||
Bare multi | ||
Another line | ||
*/ | ||
class BareMulti {}; | ||
|
||
/*! | ||
* Qt style | ||
*/ | ||
class QtStyle {}; | ||
|
||
/******************************************************************************* | ||
* JavaDoc Style | ||
* is | ||
* boxy | ||
******************************************************************************/ | ||
class JavaDoc {}; | ||
|
||
/// | ||
/// Triplets is a commitment | ||
/// | ||
class Triplets {}; | ||
|
||
//! | ||
//! This is one of the doxy styles | ||
//! | ||
class DoxyBang {}; | ||
``` | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters