python

package
v1.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PythonExtractor

type PythonExtractor struct {
	// contains filtered or unexported fields
}

PythonExtractor extracts documentation from Python source code using pydoc-markdown

func NewPythonExtractor

func NewPythonExtractor(runner site.CommandRunner) *PythonExtractor

NewPythonExtractor creates a new Python documentation extractor

func (*PythonExtractor) Extract

Extract generates documentation from Python source code

func (*PythonExtractor) Language

func (p *PythonExtractor) Language() extractors.Language

Language returns the language this extractor handles

func (*PythonExtractor) Validate

func (p *PythonExtractor) Validate(ctx context.Context) error

Validate checks if pydoc-markdown is available.

Only a genuine lookup failure means the tool is unavailable; an installed pydoc-markdown that exits non-zero is an extraction error, not a skip.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL