2019-04-14 19:28:12 +00:00
|
|
|
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
|
2019-08-05 11:57:21 +00:00
|
|
|
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
|
2017-04-10 09:30:23 +00:00
|
|
|
|
2018-04-28 13:12:03 +00:00
|
|
|
package data
|
|
|
|
|
2017-04-10 09:30:23 +00:00
|
|
|
import "gopkg.in/toqueteos/substring.v1"
|
|
|
|
|
2017-06-08 10:28:36 +00:00
|
|
|
var DocumentationMatchers = substring.Or(
|
2017-04-10 09:30:23 +00:00
|
|
|
substring.Regexp(`^[Dd]ocs?/`),
|
|
|
|
substring.Regexp(`(^|/)[Dd]ocumentation/`),
|
2019-02-14 11:47:45 +00:00
|
|
|
substring.Regexp(`(^|/)[Gg]roovydoc/`),
|
2017-04-10 09:30:23 +00:00
|
|
|
substring.Regexp(`(^|/)[Jj]avadoc/`),
|
|
|
|
substring.Regexp(`^[Mm]an/`),
|
|
|
|
substring.Regexp(`^[Ee]xamples/`),
|
|
|
|
substring.Regexp(`^[Dd]emos?/`),
|
2019-02-14 11:47:45 +00:00
|
|
|
substring.Regexp(`(^|/)inst/doc/`),
|
2017-04-10 09:30:23 +00:00
|
|
|
substring.Regexp(`(^|/)CHANGE(S|LOG)?(\.|$)`),
|
|
|
|
substring.Regexp(`(^|/)CONTRIBUTING(\.|$)`),
|
|
|
|
substring.Regexp(`(^|/)COPYING(\.|$)`),
|
|
|
|
substring.Regexp(`(^|/)INSTALL(\.|$)`),
|
|
|
|
substring.Regexp(`(^|/)LICEN[CS]E(\.|$)`),
|
|
|
|
substring.Regexp(`(^|/)[Ll]icen[cs]e(\.|$)`),
|
|
|
|
substring.Regexp(`(^|/)README(\.|$)`),
|
|
|
|
substring.Regexp(`(^|/)[Rr]eadme(\.|$)`),
|
|
|
|
substring.Regexp(`^[Ss]amples?/`),
|
|
|
|
)
|