Skip to content

Commit

Permalink
fix netlify deploy when versioning is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Aug 31, 2020
1 parent 6c53ff8 commit 27bda1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ module.exports = {
disableVersioning: isVersioningDisabled,
lastVersion: isDev || isDeployPreview ? 'current' : undefined,
onlyIncludeVersions:
isDev || isDeployPreview
!isVersioningDisabled && (isDev || isDeployPreview)
? ['current', ...versions.slice(0, 2)]
: undefined,
versions: {
Expand Down

0 comments on commit 27bda1b

Please sign in to comment.