docs

package
v0.1.40 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

README

Documentation Linter

Documentation linter checks module documentation requirements including:

Rules

README Rule
  • Name: readme
  • Description: Checks that module has README.md file
  • Details: Ensures each module has proper documentation entry point
Bilingual Rule
  • Name: bilingual
  • Description: Checks that documentation exists in both English and Russian
  • Details: Verifies that modules have documentation in both languages (README.md and README_RU.md)
Cyrillic in English Rule
  • Name: cyrillic-in-english
  • Description: Checks for cyrillic characters in English documentation files
  • Details: Ensures English documentation (README.md, *.md files without _RU suffix) doesn't contain cyrillic characters

Impact Levels

  • error - Fails the linting process
  • warn - Shows warnings but doesn't fail

Documentation

Index

Constants

View Source
const (
	ID = "documentation"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Documentation

type Documentation struct {
	ErrorList *errors.LintRuleErrorsList
	// contains filtered or unexported fields
}

Documentation linter

func (*Documentation) Desc

func (l *Documentation) Desc() string

func (*Documentation) Name

func (l *Documentation) Name() string

func (*Documentation) Run

func (l *Documentation) Run(m *module.Module)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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