diff --git a/docs/assets/docusaurus.png b/docs/assets/docusaurus.png deleted file mode 100644 index f458149e3c8f..000000000000 Binary files a/docs/assets/docusaurus.png and /dev/null differ diff --git a/docs/getting-started-installation.md b/docs/getting-started-installation.md index 809ece88a940..eea2ff7970b0 100644 --- a/docs/getting-started-installation.md +++ b/docs/getting-started-installation.md @@ -3,8 +3,6 @@ id: installation title: Installation --- -![docusaurus](/docs/assets/docusaurus.png) - Docusaurus was designed from the ground up to be easily installed and used to get your website up and running quickly. To install Docusaurus, we have created an easy script that will get all of the infrastructure set up for you: 1. Ensure you have the latest version of [Node](https://nodejs.org/en/download/) installed. We also recommend you install [Yarn](https://yarnpkg.com/en/docs/install) as well. diff --git a/lib/server/server.js b/lib/server/server.js index 89f436c0f8c1..47e0db30db7c 100644 --- a/lib/server/server.js +++ b/lib/server/server.js @@ -516,11 +516,11 @@ function execute(port) { // serve static assets from these locations app.use( - `${siteConfig.baseUrl}${readMetadata.getDocsPath()}/assets/`, + `${siteConfig.baseUrl}docs/assets`, express.static(join(CWD, '..', readMetadata.getDocsPath(), 'assets')) ); app.use( - `${siteConfig.baseUrl}blog/assets/`, + `${siteConfig.baseUrl}blog/assets`, express.static(join(CWD, 'blog', 'assets')) ); app.use(siteConfig.baseUrl, express.static(join(CWD, 'static')));