Skip to content

Commit de20a23

Browse files
authored
update dvclive api url (#189)
1 parent 3a4ab53 commit de20a23

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/gatsby-theme-iterative/plugins/gatsby-remark-dvc-linker/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe('gatsby-remark-dvc-linker', async () => {
2727

2828
live = {
2929
inlineCode: '`Live.log()`',
30-
url: '[`Live.log()`](/doc/dvclive/api-reference/live/log)'
30+
url: '[`Live.log()`](/doc/dvclive/live/log)'
3131
}
3232

3333
it('composes apiLinker and commandLinker', () => {

packages/gatsby-theme-iterative/plugins/gatsby-remark-dvc-linker/liveLinker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const { getItemByPath } = require('../../src/utils/shared/sidebar')
55

66
const LIVE_API_REGEXP = /Live.([a-z-._]*\(\)$)?/
77
const METHOD_REGEXP = /^[a-z-._]*\(\)$/
8-
const API_ROOT = '/doc/dvclive/api-reference/live/'
8+
const API_ROOT = '/doc/dvclive/live/'
99

1010
module.exports = astNode => {
1111
const node = astNode[0]

0 commit comments

Comments
 (0)