Commit Graph

131 Commits

Author SHA1 Message Date
Ivan Gromakovskii
1c4a0246bc
Unlicense default config
Problem: default config is not really smart and seems easier to just
unlicense it, i. e. let everyone do whatever they want with it.
Also it does not have SPDX header (like any other file in this repo,
but that's another story).

Solution: add SPDX header stating that the Unlicense applies.
Make Serokell copyright holder of it, AFAIK @martoon is fine with
that (and I am not sure whether copyright holder matters for
unlicensed files at all).
2019-09-26 22:12:41 +03:00
Yorick van Pelt
47dac39907
bump lts to 13.19 2019-08-27 13:51:21 +02:00
Yorick van Pelt
bb55942d48
update nixpkgs to 19.03 2019-08-27 13:23:14 +02:00
Yorick van Pelt
d7e9a36d5e
default.nix: use stackToNix from serokell-closure 2019-08-16 15:13:18 +02:00
Yorick van Pelt
a29b1190d7
add default.nix 2019-08-16 15:01:17 +02:00
martoon
feb9a9393f
Fix typos 2019-08-15 13:41:01 +03:00
martoon
0bfb25e792
Some UX improvements 2019-07-29 14:27:55 +03:00
martoon
b3615befce
Satisfy morley's hlint 2019-05-13 20:40:47 +03:00
martoon
82629a4dd3
Apply hlint 2019-05-13 20:00:25 +03:00
martoon
77cba6ccf2
Fix ./ local refs
Problem: for reference starting from `./` anchors are not checked.

Solution: lookup for such references in gathered repo info failed,
stripping `./` resolves the issue.
2019-05-08 02:12:44 +03:00
martoon
b6c7cd6aea
Bump to lts-13.3 2019-04-13 20:05:34 +03:00
martoon
c3cef06761 Add git files to ignored 2019-04-09 03:12:13 +03:00
martoon
f229ca6e6d Fix 'headerToAnchor'
Consider some unusual cases like emoji or punctuation appearance.
2019-04-09 03:12:13 +03:00
martoon
f7bfb636c2 Split ignored and notScaned
Problem: there are files which we want to ignore completely,
while others can be references but refs in it we do not want
to check.

Solution: have two different fields in config correspondingly.
2019-04-09 03:12:13 +03:00
martoon
5e31bec984
Allow disabling progress bar
In CI one most often does not want to see it because it usually
does not interpret caret return as expected.
2019-04-06 22:01:15 +03:00
martoon
ad1ccccad7
Add README and other required meta files 2019-03-14 20:29:36 +03:00
martoon
7cc59ea80a Add position coordinates in source to anchors and references 2019-03-14 18:25:19 +03:00
martoon
a1ef695598 Notify about ambiguous anchor references
When one has several anchors with the same name, github disambiguates them automatically,
but referencesto such anchors stay fragile.

Now when such anchors are referenced then an verification error is dropped.

Also, no more wrong "anchor does not exist" error when a github-dedupicated anchor is
referenced (the link was valid, but since in our vision anchors couldn't be renamed
automatically, we treated those link as invalid).
2019-03-14 18:25:19 +03:00
martoon
90e160e7d2
Allow to specify virtual files
For instance, reference to `issues` github page is a valid one despite there is no such
file physically in the repository.

Now user can specify list of "existing" virtual files in config.
2019-03-13 15:29:33 +03:00
martoon
3ecaf245f5
Make verbosity a CLI parameter, not config one 2019-03-13 13:30:39 +03:00
martoon
c869971f69
Make parts of verification optional
Now one can disable external refs or repo-local refs verification in CLI params.
2019-03-12 17:26:27 +03:00
martoon
444fa7349f
Add verification progress bar 2019-03-12 16:40:10 +03:00
martoon
7b3f3b1bdd
Improve logic 2019-03-11 20:04:21 +03:00
martoon
c59523ea61
Prettify output 2019-03-11 17:16:25 +03:00
martoon
2f4101c361
Add tests on header to anchor conversion 2019-03-11 17:16:06 +03:00
martoon
dc14c19e45
[INT-31] Enable external references checker 2018-10-16 14:58:53 +03:00
martoon
56b4e38308
[INT-31] Add config and CLI options 2018-10-11 17:27:59 +03:00
martoon
d1ee907cfb
[INT-31] Prettify output 2018-10-11 15:40:39 +03:00
martoon
b06ef33541
[INT-31] Use cmark-gfm to parse markdown instead of manual parser 2018-10-11 14:06:32 +03:00
martoon
ea83f75643
[INT-31] Implement cross-references verifier 2018-10-11 02:51:28 +03:00
Konstantin Ivanov
44d735c607
Initial commit 2018-09-21 20:02:19 +03:00