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": [
|
||||
"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
|
||||
- [ ] Click "Show resources" on site dropdown which takes you to resources table with filter defined
|
||||
- [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
|
||||
- [ ] Show temporary links in table on resource page
|
||||
- [ ] 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
|
||||
- [ ] Set domain per organization
|
||||
- [ ] Would need to refactor auth to support cross-site cookies
|
||||
- [ ] Support for running a resource at the root domain (without subdomain)
|
||||
- [ ] Make this optional via a flag in the config
|
||||
- [x] Support for running a resource at the root domain (without subdomain)
|
||||
- [x] Make this optional via a flag in the config
|
||||
|
||||
### Authentication & Integration
|
||||
- [ ] 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
|
||||
- [ ] Bearer token support for resources (useful for protecting APIs)
|
||||
- [ ] Auth token in headers or URL parameters (useful for APIs)
|
||||
|
|
|
@ -157,8 +157,8 @@ const config: Config = {
|
|||
prism: {
|
||||
theme: prismThemes.github,
|
||||
darkTheme: prismThemes.dracula
|
||||
},
|
||||
|
||||
}
|
||||
} satisfies Preset.ThemeConfig,
|
||||
plugins: [
|
||||
[
|
||||
"@dipakparmar/docusaurus-plugin-umami",
|
||||
|
@ -166,16 +166,13 @@ const config: Config = {
|
|||
{
|
||||
websiteID: "d9a3a131-d2f4-4f8f-922b-80d668e96640", // Required
|
||||
analyticsDomain: "umami.schwartznetwork.net", // Required
|
||||
scriptName: "", // Optional
|
||||
dataHostURL: "", // Optional
|
||||
dataAutoTrack: true, // Optional
|
||||
dataDoNotTrack: true, // Optional
|
||||
dataAutoTrack: false, // Optional
|
||||
dataDoNotTrack: false, // Optional
|
||||
dataCache: true, // Optional
|
||||
dataDomains: "docs.fossorial.io" // comma separated list of domains, *Recommended*
|
||||
}
|
||||
]
|
||||
]
|
||||
} satisfies Preset.ThemeConfig
|
||||
};
|
||||
|
||||
export default config;
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
"typecheck": "tsc"
|
||||
},
|
||||
"dependencies": {
|
||||
"@dipakparmar/docusaurus-plugin-umami": "2.1.7",
|
||||
"@docusaurus/core": "3.6.3",
|
||||
"@docusaurus/preset-classic": "3.6.3",
|
||||
"@mdx-js/react": "^3.0.0",
|
||||
|
|
Loading…
Reference in a new issue