docs: general fixes and improvements (#7918)

* docs improvements and changes

* updated module definition

* modules + dml changes

* fix build

* fix vale error

* fix lint errors

* fixes to stripe docs

* fix condition

* fix condition

* fix module defintion

* fix checkout

* disable UI action

* change oas preview action

* flatten provider module options

* fix lint errors

* add module link docs

* pr comments fixes

* fix vale error

* change node engine version

* links -> linkable

* add note about database name

* small fixes

* link fixes

* fix response code in api reference

* added migrations step
This commit is contained in:
Shahed Nasser
2024-07-04 17:26:03 +03:00
committed by GitHub
parent 32982e708a
commit 964927b597
149 changed files with 1676 additions and 3008 deletions
@@ -78,6 +78,7 @@ export const CodeBlock = ({
const [showTesting, setShowTesting] = useState(false)
const codeContainerRef = useRef<HTMLDivElement>(null)
const codeRef = useRef<HTMLElement>(null)
const apiRunnerRef = useRef<HTMLDivElement>(null)
const [scrollable, setScrollable] = useState(false)
const hasInnerCodeBlock = useMemo(
() => hasTabs || title.length > 0,
@@ -399,6 +400,7 @@ export const CodeBlock = ({
enter: "animate-fadeIn animate-fastest",
exit: "animate-fadeOut animate-fastest",
}}
nodeRef={apiRunnerRef}
>
<ApiRunner
apiMethod={rest.testApiMethod!}
@@ -406,6 +408,7 @@ export const CodeBlock = ({
pathData={rest.testPathParams}
bodyData={rest.testBodyParams}
queryData={rest.testQueryParams}
ref={apiRunnerRef}
/>
</CSSTransition>
)}