mirror of
https://github.com/kovetskiy/mark.git
synced 2026-03-21 18:37:40 +08:00
chore: bump module path to v16
Update Go module path from github.com/kovetskiy/mark to github.com/kovetskiy/mark/v16 across all packages and imports, following Go module versioning conventions for major versions >= 2. Also update README installation instructions and version string. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
9a26f657c7
commit
2fdcab25cc
@ -778,13 +778,13 @@ brew install mark
|
|||||||
### Go Install / Go Get
|
### Go Install / Go Get
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
go install github.com/kovetskiy/mark/cmd/mark@latest
|
go install github.com/kovetskiy/mark/v16/cmd/mark@latest
|
||||||
```
|
```
|
||||||
|
|
||||||
For older versions
|
For older versions
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
go get -v github.com/kovetskiy/mark/cmd/mark
|
go get -v github.com/kovetskiy/mark/v16/cmd/mark
|
||||||
```
|
```
|
||||||
|
|
||||||
### Releases
|
### Releases
|
||||||
@ -818,7 +818,7 @@ USAGE:
|
|||||||
mark [global options]
|
mark [global options]
|
||||||
|
|
||||||
VERSION:
|
VERSION:
|
||||||
v15.2.0@1c82927c11a2999a39e5052aae6d2c65a201260c
|
v15.5.0@9a26f657c7f2d708ae53722cad03b048c72c9db2
|
||||||
|
|
||||||
DESCRIPTION:
|
DESCRIPTION:
|
||||||
Mark is a tool to update Atlassian Confluence pages from markdown. Documentation is available here: https://github.com/kovetskiy/mark
|
Mark is a tool to update Atlassian Confluence pages from markdown. Documentation is available here: https://github.com/kovetskiy/mark
|
||||||
|
|||||||
@ -16,8 +16,8 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/kovetskiy/mark/confluence"
|
"github.com/kovetskiy/mark/v16/confluence"
|
||||||
"github.com/kovetskiy/mark/vfs"
|
"github.com/kovetskiy/mark/v16/vfs"
|
||||||
"github.com/reconquest/karma-go"
|
"github.com/reconquest/karma-go"
|
||||||
"github.com/reconquest/pkg/log"
|
"github.com/reconquest/pkg/log"
|
||||||
)
|
)
|
||||||
|
|||||||
@ -5,7 +5,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/kovetskiy/mark/util"
|
"github.com/kovetskiy/mark/v16/util"
|
||||||
"github.com/reconquest/pkg/log"
|
"github.com/reconquest/pkg/log"
|
||||||
"github.com/urfave/cli/v3"
|
"github.com/urfave/cli/v3"
|
||||||
)
|
)
|
||||||
|
|||||||
2
d2/d2.go
2
d2/d2.go
@ -13,7 +13,7 @@ import (
|
|||||||
"github.com/chromedp/cdproto/dom"
|
"github.com/chromedp/cdproto/dom"
|
||||||
"github.com/chromedp/chromedp"
|
"github.com/chromedp/chromedp"
|
||||||
|
|
||||||
"github.com/kovetskiy/mark/attachment"
|
"github.com/kovetskiy/mark/v16/attachment"
|
||||||
"github.com/reconquest/pkg/log"
|
"github.com/reconquest/pkg/log"
|
||||||
|
|
||||||
"oss.terrastruct.com/d2/d2graph"
|
"oss.terrastruct.com/d2/d2graph"
|
||||||
|
|||||||
@ -5,7 +5,7 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/kovetskiy/mark/attachment"
|
"github.com/kovetskiy/mark/v16/attachment"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
|||||||
module github.com/kovetskiy/mark
|
module github.com/kovetskiy/mark/v16
|
||||||
|
|
||||||
go 1.25.0
|
go 1.25.0
|
||||||
|
|
||||||
|
|||||||
@ -7,7 +7,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"text/template"
|
"text/template"
|
||||||
|
|
||||||
"github.com/kovetskiy/mark/includes"
|
"github.com/kovetskiy/mark/v16/includes"
|
||||||
"github.com/reconquest/karma-go"
|
"github.com/reconquest/karma-go"
|
||||||
"github.com/reconquest/pkg/log"
|
"github.com/reconquest/pkg/log"
|
||||||
"github.com/reconquest/regexputil-go"
|
"github.com/reconquest/regexputil-go"
|
||||||
|
|||||||
20
mark.go
20
mark.go
@ -14,16 +14,16 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/bmatcuk/doublestar/v4"
|
"github.com/bmatcuk/doublestar/v4"
|
||||||
"github.com/kovetskiy/mark/attachment"
|
"github.com/kovetskiy/mark/v16/attachment"
|
||||||
"github.com/kovetskiy/mark/confluence"
|
"github.com/kovetskiy/mark/v16/confluence"
|
||||||
"github.com/kovetskiy/mark/includes"
|
"github.com/kovetskiy/mark/v16/includes"
|
||||||
"github.com/kovetskiy/mark/macro"
|
"github.com/kovetskiy/mark/v16/macro"
|
||||||
markmd "github.com/kovetskiy/mark/markdown"
|
markmd "github.com/kovetskiy/mark/v16/markdown"
|
||||||
"github.com/kovetskiy/mark/metadata"
|
"github.com/kovetskiy/mark/v16/metadata"
|
||||||
"github.com/kovetskiy/mark/page"
|
"github.com/kovetskiy/mark/v16/page"
|
||||||
"github.com/kovetskiy/mark/stdlib"
|
"github.com/kovetskiy/mark/v16/stdlib"
|
||||||
"github.com/kovetskiy/mark/types"
|
"github.com/kovetskiy/mark/v16/types"
|
||||||
"github.com/kovetskiy/mark/vfs"
|
"github.com/kovetskiy/mark/v16/vfs"
|
||||||
"github.com/reconquest/karma-go"
|
"github.com/reconquest/karma-go"
|
||||||
"github.com/reconquest/pkg/log"
|
"github.com/reconquest/pkg/log"
|
||||||
)
|
)
|
||||||
|
|||||||
@ -4,11 +4,11 @@ import (
|
|||||||
"bytes"
|
"bytes"
|
||||||
"slices"
|
"slices"
|
||||||
|
|
||||||
"github.com/kovetskiy/mark/attachment"
|
"github.com/kovetskiy/mark/v16/attachment"
|
||||||
cparser "github.com/kovetskiy/mark/parser"
|
cparser "github.com/kovetskiy/mark/v16/parser"
|
||||||
crenderer "github.com/kovetskiy/mark/renderer"
|
crenderer "github.com/kovetskiy/mark/v16/renderer"
|
||||||
"github.com/kovetskiy/mark/stdlib"
|
"github.com/kovetskiy/mark/v16/stdlib"
|
||||||
"github.com/kovetskiy/mark/types"
|
"github.com/kovetskiy/mark/v16/types"
|
||||||
"github.com/reconquest/pkg/log"
|
"github.com/reconquest/pkg/log"
|
||||||
mkDocsParser "github.com/stefanfritsch/goldmark-admonitions"
|
mkDocsParser "github.com/stefanfritsch/goldmark-admonitions"
|
||||||
"github.com/yuin/goldmark"
|
"github.com/yuin/goldmark"
|
||||||
|
|||||||
@ -10,10 +10,10 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
mark "github.com/kovetskiy/mark/markdown"
|
mark "github.com/kovetskiy/mark/v16/markdown"
|
||||||
"github.com/kovetskiy/mark/stdlib"
|
"github.com/kovetskiy/mark/v16/stdlib"
|
||||||
"github.com/kovetskiy/mark/types"
|
"github.com/kovetskiy/mark/v16/types"
|
||||||
"github.com/kovetskiy/mark/util"
|
"github.com/kovetskiy/mark/v16/util"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/urfave/cli/v3"
|
"github.com/urfave/cli/v3"
|
||||||
)
|
)
|
||||||
|
|||||||
@ -9,7 +9,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
mermaid "github.com/dreampuf/mermaid.go"
|
mermaid "github.com/dreampuf/mermaid.go"
|
||||||
"github.com/kovetskiy/mark/attachment"
|
"github.com/kovetskiy/mark/v16/attachment"
|
||||||
"github.com/reconquest/pkg/log"
|
"github.com/reconquest/pkg/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/kovetskiy/mark/attachment"
|
"github.com/kovetskiy/mark/v16/attachment"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/kovetskiy/mark/confluence"
|
"github.com/kovetskiy/mark/v16/confluence"
|
||||||
"github.com/reconquest/karma-go"
|
"github.com/reconquest/karma-go"
|
||||||
"github.com/reconquest/pkg/log"
|
"github.com/reconquest/pkg/log"
|
||||||
)
|
)
|
||||||
|
|||||||
@ -12,8 +12,8 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/kovetskiy/mark/confluence"
|
"github.com/kovetskiy/mark/v16/confluence"
|
||||||
"github.com/kovetskiy/mark/metadata"
|
"github.com/kovetskiy/mark/v16/metadata"
|
||||||
"github.com/reconquest/karma-go"
|
"github.com/reconquest/karma-go"
|
||||||
"github.com/reconquest/pkg/log"
|
"github.com/reconquest/pkg/log"
|
||||||
)
|
)
|
||||||
|
|||||||
@ -3,8 +3,8 @@ package page
|
|||||||
import (
|
import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/kovetskiy/mark/confluence"
|
"github.com/kovetskiy/mark/v16/confluence"
|
||||||
"github.com/kovetskiy/mark/metadata"
|
"github.com/kovetskiy/mark/v16/metadata"
|
||||||
"github.com/reconquest/karma-go"
|
"github.com/reconquest/karma-go"
|
||||||
"github.com/reconquest/pkg/log"
|
"github.com/reconquest/pkg/log"
|
||||||
)
|
)
|
||||||
|
|||||||
@ -3,7 +3,7 @@ package renderer
|
|||||||
import (
|
import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/kovetskiy/mark/stdlib"
|
"github.com/kovetskiy/mark/v16/stdlib"
|
||||||
|
|
||||||
"github.com/yuin/goldmark/ast"
|
"github.com/yuin/goldmark/ast"
|
||||||
"github.com/yuin/goldmark/renderer"
|
"github.com/yuin/goldmark/renderer"
|
||||||
|
|||||||
@ -6,11 +6,11 @@ import (
|
|||||||
"slices"
|
"slices"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/kovetskiy/mark/attachment"
|
"github.com/kovetskiy/mark/v16/attachment"
|
||||||
"github.com/kovetskiy/mark/d2"
|
"github.com/kovetskiy/mark/v16/d2"
|
||||||
"github.com/kovetskiy/mark/mermaid"
|
"github.com/kovetskiy/mark/v16/mermaid"
|
||||||
"github.com/kovetskiy/mark/stdlib"
|
"github.com/kovetskiy/mark/v16/stdlib"
|
||||||
"github.com/kovetskiy/mark/types"
|
"github.com/kovetskiy/mark/v16/types"
|
||||||
"github.com/reconquest/pkg/log"
|
"github.com/reconquest/pkg/log"
|
||||||
|
|
||||||
"github.com/yuin/goldmark/ast"
|
"github.com/yuin/goldmark/ast"
|
||||||
|
|||||||
@ -3,7 +3,7 @@ package renderer
|
|||||||
import (
|
import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/kovetskiy/mark/stdlib"
|
"github.com/kovetskiy/mark/v16/stdlib"
|
||||||
|
|
||||||
"github.com/yuin/goldmark/ast"
|
"github.com/yuin/goldmark/ast"
|
||||||
"github.com/yuin/goldmark/renderer"
|
"github.com/yuin/goldmark/renderer"
|
||||||
|
|||||||
@ -7,9 +7,9 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/kovetskiy/mark/attachment"
|
"github.com/kovetskiy/mark/v16/attachment"
|
||||||
"github.com/kovetskiy/mark/stdlib"
|
"github.com/kovetskiy/mark/v16/stdlib"
|
||||||
"github.com/kovetskiy/mark/vfs"
|
"github.com/kovetskiy/mark/v16/vfs"
|
||||||
|
|
||||||
"github.com/yuin/goldmark/ast"
|
"github.com/yuin/goldmark/ast"
|
||||||
"github.com/yuin/goldmark/renderer"
|
"github.com/yuin/goldmark/renderer"
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
package renderer
|
package renderer
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/kovetskiy/mark/parser"
|
"github.com/kovetskiy/mark/v16/parser"
|
||||||
"github.com/kovetskiy/mark/stdlib"
|
"github.com/kovetskiy/mark/v16/stdlib"
|
||||||
"github.com/yuin/goldmark/ast"
|
"github.com/yuin/goldmark/ast"
|
||||||
"github.com/yuin/goldmark/renderer"
|
"github.com/yuin/goldmark/renderer"
|
||||||
"github.com/yuin/goldmark/util"
|
"github.com/yuin/goldmark/util"
|
||||||
|
|||||||
@ -5,7 +5,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"text/template"
|
"text/template"
|
||||||
|
|
||||||
"github.com/kovetskiy/mark/confluence"
|
"github.com/kovetskiy/mark/v16/confluence"
|
||||||
"github.com/reconquest/pkg/log"
|
"github.com/reconquest/pkg/log"
|
||||||
|
|
||||||
"github.com/reconquest/karma-go"
|
"github.com/reconquest/karma-go"
|
||||||
|
|||||||
@ -8,7 +8,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/kovetskiy/lorg"
|
"github.com/kovetskiy/lorg"
|
||||||
mark "github.com/kovetskiy/mark"
|
mark "github.com/kovetskiy/mark/v16"
|
||||||
"github.com/reconquest/pkg/log"
|
"github.com/reconquest/pkg/log"
|
||||||
"github.com/urfave/cli/v3"
|
"github.com/urfave/cli/v3"
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user