docs: add track code for tianji
This commit is contained in:
parent
3e67fd94e9
commit
791872ea63
@ -56,9 +56,7 @@ const config = {
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
plugins: [
|
plugins: [require.resolve('docusaurus-plugin-image-zoom')],
|
||||||
require.resolve('docusaurus-plugin-image-zoom'),
|
|
||||||
],
|
|
||||||
|
|
||||||
themeConfig:
|
themeConfig:
|
||||||
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
||||||
@ -139,13 +137,22 @@ const config = {
|
|||||||
selector: '.markdown :not(em) > img',
|
selector: '.markdown :not(em) > img',
|
||||||
background: {
|
background: {
|
||||||
light: 'rgb(255, 255, 255)',
|
light: 'rgb(255, 255, 255)',
|
||||||
dark: 'rgb(50, 50, 50)'
|
dark: 'rgb(50, 50, 50)',
|
||||||
},
|
},
|
||||||
config: {
|
config: {
|
||||||
// options you can specify via https://github.com/francoischalifour/medium-zoom#usage
|
// options you can specify via https://github.com/francoischalifour/medium-zoom#usage
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
scripts: [
|
||||||
|
{
|
||||||
|
src: 'https://tianji.moonrailgun.com/tracker.js',
|
||||||
|
async: true,
|
||||||
|
defer: true,
|
||||||
|
'data-website-id': 'clopxgjr6050tqn5dzxo7pjac',
|
||||||
|
},
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
Loading…
Reference in New Issue
Block a user