diff --git a/website/docs/cli.md b/website/docs/cli.md index 0495a67f99..72361ae482 100644 --- a/website/docs/cli.md +++ b/website/docs/cli.md @@ -80,6 +80,9 @@ Change any Docusaurus theme components to your liking with `docusaurus swizzle`. ```shell docusaurus swizzle [componentName] [siteDir] + +# example (leaving out the siteDir to indicate this directory) +docusaurus swizzle @docusaurus/theme-classic DocSidebar ``` Running the command will copy the relevant theme files to your site folder. You may then make any changes to it and Docusaurus will use it instead of the one provided from the theme.