16 Commits

Author SHA1 Message Date
Jonathan Ingram 232da35238 docd: fix Docker workflow (#160) 2023-11-20 19:55:04 +11:00
Jonathan Ingram 36fd47d63a add linux/arm64 platform to docd image (#159)
Refs #142
2023-11-20 18:30:50 +11:00
Jonathan Ingram 93312f47fc v2: initial commit (#153)
- Some methods have been changed to return an error as their last
  argument
- Log calls inside various functions have been removed
- Use a v1 tag if you need the previous signature
2023-10-31 11:32:40 +11:00
Jonathan Ingram bad757077a docd: add slog and JSON logging (#149) 2023-10-30 16:53:28 +11:00
Jonathan Ingram 64464198fe .github: test against Go 1.21 (#144) 2023-09-13 15:03:20 +10:00
Jonathan Ingram 603e7806de doc: add simple test for ConvertDoc for .doc files (#143) 2023-09-13 14:14:13 +10:00
dependabot[bot] e0a721066a increase min Go version to 1.19 and bump golang.org/x/net@0.7.0 (#135) 2023-03-06 12:21:23 +11:00
Jonathan Ingram e0eaf8afca docd: fix Dockerfile after change to Go 1.19 (#124) 2022-09-20 15:26:29 +10:00
Jonathan Ingram cdb328aec3 .github: add Go 1.19 to matrix (#122) 2022-09-20 13:51:07 +10:00
Jonathan Sokolowski a6ea64d0ff .github: tag docd image with git SHA 2021-08-20 09:55:11 +10:00
Jonathan Sokolowski 7858c13659 .github: add workflow_dispatch trigger to docd 2021-08-20 09:38:10 +10:00
Jonathan Sokolowski 88cb39368e docd: refactor Dockerfile and publish to DockerHub (#101)
* Use multi-stage build to compile docd
* Bring debian variant up to date
* Deprecate the alpine variant
* Add GitHub action to publish an official image to DockerHub
* Use published image as the AppEngine custom runtime
2021-08-18 19:16:30 +10:00
Jonathan Ingram 7b3472bc32 add test for TestConvertHTML (#93)
Use table tests with current package value "", and "good".

Co-authored-by: Remo Senekowitsch <remo@belegerfassung.ch>
2021-04-27 10:13:43 +10:00
Jonathan Ingram d6ce91ecd3 actions: stop building for Go 1.13
We want to use testing.Cleanup which was added in 1.14.
2021-04-27 09:29:53 +10:00
remLse 6b8d2b5d66 rtf: don't ignore lines less than 5 characters long (#91)
It looks like the original author of this function intended to do a bounds check
on the line variable before checking if it has the `### ` prefix. Instead, we can
just use `strings.HasPrefix` which also means that shorter lines are now 
included in the output.

Co-authored-by: Remo Senekowitsch <remo.senekowitsch@icloud.com>
2021-04-12 19:49:41 +10:00
Jonathan Ingram 88dc5a8a19 use GitHub actions instead of Travis
Also update README GoDoc badge to pkg.go.dev.
2021-03-29 09:28:16 +11:00