Discover Packages
github.com/7ing/kubernetes
cmd
mungedocs
command
Version:
v1.2.3
Opens a new window with list of versions in this module.
Published: Apr 22, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
Documentation Mungers
Basically this is like lint/gofmt for md docs.
It basically does the following:
iterate over all files in the given doc root.
for each file split it into a slice (mungeLines) of lines (mungeLine)
a mungeline has metadata about each line typically determined by a 'fast' regex.
metadata contains things like 'is inside a preformmatted block'
contains a markdown header
has a link to another file
etc..
if you have a really slow regex with a lot of backtracking you might want to write a fast one to limit how often you run the slow one.
each munger is then called in turn
they are given the mungeLines
they create an entirely new set of mungeLines with their modifications
the new set is returned
the new set is then fed into the next munger.
in the end we might commit the end mungeLines to the file or not (--verify)
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.