File tree Expand file tree Collapse file tree 3 files changed +40
-2
lines changed Expand file tree Collapse file tree 3 files changed +40
-2
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,24 @@ const config = {
63
63
] ,
64
64
65
65
plugins : [
66
- './plugins/fav-icon' ,
67
- './plugins/fullstory' ,
66
+ [
67
+ './plugins/osano' ,
68
+ {
69
+ id : 'docs-osano' ,
70
+ } ,
71
+ ] ,
72
+ [
73
+ './plugins/fav-icon' ,
74
+ {
75
+ id : 'docs-fav-icon' ,
76
+ } ,
77
+ ] ,
78
+ [
79
+ './plugins/fullstory' ,
80
+ {
81
+ id : 'docs-fullstory' ,
82
+ } ,
83
+ ] ,
68
84
'docusaurus-plugin-sass' ,
69
85
require . resolve ( 'docusaurus-plugin-image-zoom' ) ,
70
86
] ,
Original file line number Diff line number Diff line change
1
+ module . exports = async function favIcon ( context ) {
2
+ return {
3
+ injectHtmlTags ( { content } ) {
4
+ return {
5
+ name : 'docusaurus-osano-plugin' ,
6
+ headTags : [
7
+ {
8
+ tagName : 'script' ,
9
+ attributes : {
10
+ src : 'https://cmp.osano.com/AzqisZTSBrMdc3qLt/bb12d637-24a5-47ce-8788-92e13ca795cf/osano.js' ,
11
+ }
12
+ } ,
13
+ ] ,
14
+ }
15
+ } ,
16
+ } ;
17
+ } ;
Original file line number Diff line number Diff line change @@ -321,3 +321,8 @@ div[class^='codeBlockTitle'] {
321
321
[class ^= ' docItemContainer' ] {
322
322
margin : 0 10px ;
323
323
}
324
+
325
+ /* hides the osano widget */
326
+ .osano-cm-widget {
327
+ display : none ;
328
+ }
You can’t perform that action at this time.
0 commit comments