Class |
InMemoryInventory |
A simple inventory implementation which has an in-memory API link mapping. |
Class |
RecordingAnnotationLinker |
A DocstringLinker implementation that cannot find any links, but does record which identifiers it was asked to link. |
Function |
docstring2html |
Undocumented |
Function |
summary2html |
Undocumented |
Function |
test_annotation_formatting |
Perform two checks on the annotation formatting: |
Function |
test_constant_values_rst |
Test epydoc2stan.format_constant_value(). |
Function |
test_constructor_param_on_class |
Constructor parameters can be documented on the class. |
Function |
test_EpydocLinker_look_for_intersphinx_hit |
Return the link from inventory based on first package name. |
Function |
test_EpydocLinker_look_for_intersphinx_no_link |
Return None if inventory had no link for our markup. |
Function |
test_EpydocLinker_resolve_identifier_xref_internal_full_name |
Link to an internal object referenced by its full name. |
Function |
test_EpydocLinker_resolve_identifier_xref_intersphinx_absolute_id |
Returns the link from Sphinx inventory based on a cross reference ID specified in absolute dotted path and with a custom pretty text for the URL. |
Function |
test_EpydocLinker_resolve_identifier_xref_intersphinx_link_not_found |
No summary |
Function |
test_EpydocLinker_resolve_identifier_xref_intersphinx_relative_id |
Return the link from inventory using short names, by resolving them based on the imports done in the module. |
Function |
test_EpydocLinker_resolve_identifier_xref_order |
Check that the best match is picked when there are multiple candidates. |
Function |
test_func_arg_and_ret_annotation |
Undocumented |
Function |
test_func_arg_and_ret_annotation_with_override |
Undocumented |
Function |
test_func_arg_not_inherited |
Do not warn when a subclass method lacks parameters that are documented in an inherited docstring. |
Function |
test_func_arg_when_doc_missing |
Undocumented |
Function |
test_func_missing_param_name |
Param and type fields must include the name of the parameter. |
Function |
test_func_no_such_arg |
Warn about documented parameters that don't exist in the definition. |
Function |
test_func_no_such_arg_warn_once |
Warn exactly once about a param/type combination not existing. |
Function |
test_func_param_as_keyword |
Warn when a parameter is documented as a @keyword. |
Function |
test_func_param_duplicate |
Warn when the same parameter is documented more than once. |
Function |
test_func_raise_linked |
Raise fields are formatted by linking the exception type. |
Function |
test_func_raise_missing_exception_type |
When a raise field is missing the exception type, a warning is logged and the HTML will list the exception type as unknown. |
Function |
test_func_starargs |
Var-args can be named in fields with or without asterixes. Constructor parameters can be documented on the class. |
Function |
test_func_starargs_more |
Star arguments, even if there are not named 'args' or 'kwargs', are recognized. |
Function |
test_func_starargs_no_docstring |
Star arguments, even if there are not docstring attached, will be rendered with stars. |
Function |
test_func_undocumented_return_nothing |
When the returned value is undocumented (no 'return' field) and its type annotation is None, omit the "Returns" entry from the output. |
Function |
test_func_undocumented_return_something |
When the returned value is undocumented (no 'return' field) and its type annotation is not None, include the "Returns" entry in the output. |
Function |
test_html_empty_module |
Undocumented |
Function |
test_inline_field_name |
Warn if a name is given for a type field in a variable docstring. A variable docstring only documents a single variable, so the name is redundant at best and misleading at worst. |
Function |
test_inline_field_type |
The type field in a variable docstring updates the parsed_type of the Attribute it documents. |
Function |
test_ivar_overriding_attribute |
An 'ivar' field in a subclass overrides a docstring for the same attribute set in the base class. |
Function |
test_missing_field_name |
Undocumented |
Function |
test_missing_param_computed_base |
Do not warn if a parameter might be added by a computed base class. |
Function |
test_module_docformat |
Test if Module.docformat effectively override System.options.docformat |
Function |
test_module_docformat_inheritence |
Undocumented |
Function |
test_module_docformat_with_docstring_inheritence |
Undocumented |
Function |
test_multiple_types |
Undocumented |
Function |
test_summary |
Undocumented |
Function |
test_unexpected_field_args |
Warn when field arguments that should be empty aren't. |
Function |
test_unknown_field_name |
Undocumented |
Function |
test_warns_field |
Test if the :warns: field is correctly recognized. |
Function |
test_xref_link_intersphinx |
A linked name that is documented in another project is linked using an absolute URL (retrieved via Intersphinx). |
Function |
test_xref_link_not_found |
A linked name that is not found is output as text. |
Function |
test_xref_link_other_page |
A linked name that is documented on a different page but within the same project is linked using a relative URL. |
Function |
test_xref_link_same_page |
A linked name that is documented on the same page is linked using only a fragment as the URL. |
Function |
test_xref_not_found_epytext |
When a link in an epytext docstring cannot be resolved, the reference and the line number of the link should be reported. |
Function |
test_xref_not_found_restructured |
No summary |
Function |
test_yields_field |
Test if the :warns: field is correctly recognized. |