mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Update docs [ci skip]
This commit is contained in:
parent
80754d7065
commit
35156429c4
|
@ -27,6 +27,7 @@ const Quickstart = ({
|
|||
hidePrompts,
|
||||
small,
|
||||
codeLang,
|
||||
Container = Section,
|
||||
children,
|
||||
}) => {
|
||||
const contentRef = useRef()
|
||||
|
@ -83,7 +84,7 @@ const Quickstart = ({
|
|||
}, [data, initialized])
|
||||
|
||||
return !data.length ? null : (
|
||||
<Section id={id}>
|
||||
<Container id={id}>
|
||||
<div className={classNames(classes.root, { [classes.hidePrompts]: !!hidePrompts })}>
|
||||
{title && (
|
||||
<H2 className={classes.title} name={id}>
|
||||
|
@ -249,7 +250,7 @@ const Quickstart = ({
|
|||
</pre>
|
||||
{showCopy && <textarea ref={copyAreaRef} className={classes.copyArea} rows={1} />}
|
||||
</div>
|
||||
</Section>
|
||||
</Container>
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
@ -87,6 +87,8 @@ export default function QuickstartTraining({ id, title, download = 'base_config.
|
|||
.sort((a, b) => a.title.localeCompare(b.title))
|
||||
return (
|
||||
<Quickstart
|
||||
id="quickstart-widget"
|
||||
Container="div"
|
||||
download={download}
|
||||
rawContent={content}
|
||||
data={DATA}
|
||||
|
|
Loading…
Reference in New Issue
Block a user