Skip to content

Commit

Permalink
add some docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ivantsepp authored and salemhilal committed Aug 29, 2022
1 parent ea356b2 commit 973c999
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config-example.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"AnotherGitRepo" : {
"url" : "https://www.github.com/YourOrganization/RepoOne.git",
"ms-between-poll": 10000,
"exclude-dot-files": true
"exclude-dot-files": true,
"auto-generated-files": ["example/path"]
},
"GitRepoWithDetectRefDisabled" : {
"url" : "https://www.github.com/YourOrganization/RepoOne.git",
Expand Down
9 changes: 9 additions & 0 deletions docs/config-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* [Git options](#git-options)
* [SVN options](#svn-options)
* [URL options](#url-options)
* [Misc options](#misc-options)



Expand Down Expand Up @@ -46,3 +47,11 @@ URLOptions | Description | Default Values
:------ | :--- | :-----
url-pattern | when provided used by Hound for config|`{url}/blob/{rev}/{path}{anchor}`
anchor | when provided used for vcs config| `#L{line}`

## Misc Options
These options are available for repos

Options | Description | Default Values
:------ | :--- | :-----
exclude-dot-files | excludes filenames that start with dot|`true`
auto-generated-files | marks filenames as autogenerated in UI| `[]` (for git, Hound checks for git attributes with the `linguist-generated` attribute)

0 comments on commit 973c999

Please sign in to comment.