-
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.
Added examples of various documentation levels.
- Loading branch information
Showing
13 changed files
with
209 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Fully Undocumented | ||
################## | ||
|
||
The following report shows a fully documented package. | ||
|
||
.. report:doc-coverage:: | ||
:packageid: documented |
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,7 @@ | ||
Partially Documented | ||
#################### | ||
|
||
The following report shows a partially documented package. | ||
|
||
.. report:doc-coverage:: | ||
:packageid: partially |
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,7 @@ | ||
Undocumented | ||
############ | ||
|
||
The following report shows an undocumented package. | ||
|
||
.. report:doc-coverage:: | ||
:packageid: undocumented |
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
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
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,31 @@ | ||
""" | ||
Module documentation | ||
""" | ||
from pyTooling.Decorators import export | ||
|
||
MODULE_VARIABLE = 24 #: ModuleVariable documentation | ||
|
||
|
||
@export | ||
class ModuleClass: | ||
""" | ||
ModuleClass documentation | ||
""" | ||
ClassClassField: str #: Field documentation | ||
|
||
def __init__(self) -> None: | ||
"""Initializer documentation""" | ||
pass | ||
|
||
def Method(self) -> None: | ||
"""Method documentation""" | ||
pass | ||
|
||
def __str__(self) -> str: | ||
"""Dunder documentation""" | ||
pass | ||
|
||
|
||
class DerivedModuleClass(ModuleClass): | ||
"""Derived module class documentation""" | ||
pass |
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,32 @@ | ||
""" | ||
Package documentation | ||
""" | ||
from pyTooling.Decorators import export | ||
|
||
|
||
PACKAGE_VARIABLE = 24 #: PackageVariable documentation | ||
|
||
|
||
@export | ||
class PackageClass: | ||
""" | ||
PackageClass documentation | ||
""" | ||
PackageClassField: str #: Field documentation | ||
|
||
def __init__(self) -> None: | ||
"""Initializer documentation""" | ||
pass | ||
|
||
def Method(self) -> None: | ||
"""Method documentation""" | ||
pass | ||
|
||
def __str__(self) -> str: | ||
"""Dunder documentation""" | ||
pass | ||
|
||
|
||
class DerivedPackageClass(PackageClass): | ||
"""Derived package class documentation""" | ||
pass |
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,25 @@ | ||
from pyTooling.Decorators import export | ||
|
||
MODULE_VARIABLE = 24 #: ModulVariable documentation | ||
|
||
|
||
@export | ||
class ModuleClass: | ||
""" | ||
ModuleClass documentation | ||
""" | ||
ModuleClassField: str | ||
|
||
def __init__(self) -> None: | ||
pass | ||
|
||
def Method(self) -> None: | ||
"""Method documentation""" | ||
pass | ||
|
||
def __str__(self) -> str: | ||
pass | ||
|
||
|
||
class DerivedModuleClass(ModuleClass): | ||
pass |
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,26 @@ | ||
""" | ||
Package documentation | ||
""" | ||
from pyTooling.Decorators import export | ||
|
||
PACKAGE_VARIABLE = 24 | ||
|
||
|
||
@export | ||
class PackageClass: | ||
PackageClassField: str | ||
|
||
def __init__(self) -> None: | ||
pass | ||
|
||
def Method(self) -> None: | ||
pass | ||
|
||
def __str__(self) -> str: | ||
"""Dunder documentation""" | ||
pass | ||
|
||
|
||
class DerivedPackageClass(PackageClass): | ||
"""Derived package class documentation""" | ||
pass |
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,21 @@ | ||
from pyTooling.Decorators import export | ||
|
||
MODULE_VARIABLE = 24 | ||
|
||
|
||
@export | ||
class ModuleClass: | ||
ModuleClassField: str | ||
|
||
def __init__(self) -> None: | ||
pass | ||
|
||
def Method(self) -> None: | ||
pass | ||
|
||
def __str__(self) -> str: | ||
pass | ||
|
||
|
||
class DerivedModuleClass(ModuleClass): | ||
pass |
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,21 @@ | ||
from pyTooling.Decorators import export | ||
|
||
PACKAGE_VARIABLE = 24 | ||
|
||
|
||
@export | ||
class PackageClass: | ||
PackageClassField: str | ||
|
||
def __init__(self) -> None: | ||
pass | ||
|
||
def Method(self) -> None: | ||
pass | ||
|
||
def __str__(self) -> str: | ||
pass | ||
|
||
|
||
class DerivedPackageClass(PackageClass): | ||
pass |