diff --git a/docs/en/next/publishing.html b/docs/en/next/publishing.html index 48f5ad0fbf..a87aa968cd 100644 --- a/docs/en/next/publishing.html +++ b/docs/en/next/publishing.html @@ -115,6 +115,9 @@
now
That's all. Your docs will automatically be deployed.
++Note that the directory structure Now supports is slightly different from the default directory structure of a Docusaurus project - The
+docs
directory has to be within thewebsite
directory, ideally following the directory structure in this example. You will also have to specify acustomDocsPath
value insiteConfig.js
. Take a look at the the now-examples repository for a Docusaurus project.
Docusaurus was designed to work really well with one of the most popular hosting solutions for open source projects: GitHub Pages.
Alter your siteConfig.js
to add a property 'githubHost'
which represents the GitHub Enterprise hostname. Alternatively, set an environment variable GITHUB_HOST
when executing the publish command.