mirror of
https://github.com/fosrl/docs.git
synced 2025-05-12 13:20:43 +01:00
Umami working
This commit is contained in:
parent
2e48ce31ae
commit
e537b89cae
4 changed files with 22 additions and 27 deletions
|
@ -17,8 +17,5 @@
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
],
|
]
|
||||||
"dependencies": {
|
|
||||||
"@dipakparmar/docusaurus-plugin-umami": "2.1.7"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,7 @@ Are you experienced with authentication procedures and best practices? We would
|
||||||
- [ ] Filter by site
|
- [ ] Filter by site
|
||||||
- [ ] Click "Show resources" on site dropdown which takes you to resources table with filter defined
|
- [ ] Click "Show resources" on site dropdown which takes you to resources table with filter defined
|
||||||
- [x] Transfer resource to different site
|
- [x] Transfer resource to different site
|
||||||
- [ ] Allow resource without a subdomain (use base domain) - limited to one resource per domain
|
- [x] Allow resource without a subdomain (use base domain) - limited to one resource per domain
|
||||||
- [ ] Create temporary link from resource page
|
- [ ] Create temporary link from resource page
|
||||||
- [ ] Show temporary links in table on resource page
|
- [ ] Show temporary links in table on resource page
|
||||||
- [ ] Track temporary link usage and session count
|
- [ ] Track temporary link usage and session count
|
||||||
|
@ -37,12 +37,12 @@ Are you experienced with authentication procedures and best practices? We would
|
||||||
- [ ] Support for multiple domains
|
- [ ] Support for multiple domains
|
||||||
- [ ] Set domain per organization
|
- [ ] Set domain per organization
|
||||||
- [ ] Would need to refactor auth to support cross-site cookies
|
- [ ] Would need to refactor auth to support cross-site cookies
|
||||||
- [ ] Support for running a resource at the root domain (without subdomain)
|
- [x] Support for running a resource at the root domain (without subdomain)
|
||||||
- [ ] Make this optional via a flag in the config
|
- [x] Make this optional via a flag in the config
|
||||||
|
|
||||||
### Authentication & Integration
|
### Authentication & Integration
|
||||||
- [ ] Google, GitHub, etc. OAuth support
|
- [ ] Google, GitHub, etc. OAuth support
|
||||||
- [ ] Cache authentication in badger to speed up proxy requests
|
- [x] Cache authentication in badger to speed up proxy requests
|
||||||
- [ ] Nicely formatted error pages for badger
|
- [ ] Nicely formatted error pages for badger
|
||||||
- [ ] Bearer token support for resources (useful for protecting APIs)
|
- [ ] Bearer token support for resources (useful for protecting APIs)
|
||||||
- [ ] Auth token in headers or URL parameters (useful for APIs)
|
- [ ] Auth token in headers or URL parameters (useful for APIs)
|
||||||
|
|
|
@ -157,8 +157,8 @@ const config: Config = {
|
||||||
prism: {
|
prism: {
|
||||||
theme: prismThemes.github,
|
theme: prismThemes.github,
|
||||||
darkTheme: prismThemes.dracula
|
darkTheme: prismThemes.dracula
|
||||||
},
|
}
|
||||||
|
} satisfies Preset.ThemeConfig,
|
||||||
plugins: [
|
plugins: [
|
||||||
[
|
[
|
||||||
"@dipakparmar/docusaurus-plugin-umami",
|
"@dipakparmar/docusaurus-plugin-umami",
|
||||||
|
@ -166,16 +166,13 @@ const config: Config = {
|
||||||
{
|
{
|
||||||
websiteID: "d9a3a131-d2f4-4f8f-922b-80d668e96640", // Required
|
websiteID: "d9a3a131-d2f4-4f8f-922b-80d668e96640", // Required
|
||||||
analyticsDomain: "umami.schwartznetwork.net", // Required
|
analyticsDomain: "umami.schwartznetwork.net", // Required
|
||||||
scriptName: "", // Optional
|
dataAutoTrack: false, // Optional
|
||||||
dataHostURL: "", // Optional
|
dataDoNotTrack: false, // Optional
|
||||||
dataAutoTrack: true, // Optional
|
|
||||||
dataDoNotTrack: true, // Optional
|
|
||||||
dataCache: true, // Optional
|
dataCache: true, // Optional
|
||||||
dataDomains: "docs.fossorial.io" // comma separated list of domains, *Recommended*
|
dataDomains: "docs.fossorial.io" // comma separated list of domains, *Recommended*
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
} satisfies Preset.ThemeConfig
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default config;
|
export default config;
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
"typecheck": "tsc"
|
"typecheck": "tsc"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@dipakparmar/docusaurus-plugin-umami": "2.1.7",
|
||||||
"@docusaurus/core": "3.6.3",
|
"@docusaurus/core": "3.6.3",
|
||||||
"@docusaurus/preset-classic": "3.6.3",
|
"@docusaurus/preset-classic": "3.6.3",
|
||||||
"@mdx-js/react": "^3.0.0",
|
"@mdx-js/react": "^3.0.0",
|
||||||
|
|
Loading…
Reference in a new issue