New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update docusaurus to 3.X #1686
base: master
Are you sure you want to change the base?
Conversation
…onToOwnFile' into jonas-jonas/updateDocusaurus
This comment was marked as outdated.
This comment was marked as outdated.
@@ -9,7 +9,6 @@ sidebar_label: Permissions | |||
```mdx-code-block | |||
import CodeFromRemote from "@theme/CodeFromRemote" | |||
import BrowserWindow from "@site/src/theme/BrowserWindow" | |||
const file = (path) => `https://github.com/ory/keto/blob/master/contrib/rewrites-example/${path}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can't declare variables like this anymore: https://mdxjs.com/docs/troubleshooting-mdx/#unexpected-type-in-code-only-importexports-are-supported
@@ -18,7 +18,6 @@ import { | |||
} from "./code/registration" | |||
import RenderFlow from "@site/src/theme/Code/RenderFlow" | |||
import DomainWarning from "@site/src/theme/DomainWarning" | |||
import AjaxWarning from "@site/src/theme/AjaxWarning" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is now declared as a global component: https://github.com/ory/docs/pull/1686/files#diff-1a7d9fb0d0b87e2b0145fa0fa6599c217250db457fd1420801c2bcea6026c6f0R11
We can do that for the other commonly used custom components, and spare us the import statements.
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Related Issue or Design Document
Checklist
If this pull request addresses a security vulnerability,
I confirm that I got approval (please contact security@ory.sh) from the maintainers to push the changes.
Further comments