adapt-authoring-docs 1.4.3 → 1.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -98,7 +98,10 @@ export default async function docsify (appData, configs, outputdir, defaultPages
98
98
  homepage: defaultPages.manualIndex ? path.basename(defaultPages.manualIndex) : false
99
99
  })))
100
100
 
101
- await Promise.allSettled(Object.entries(titleMap).map(([filename, v]) => fs.copy(v.path, `${dir}/${filename}`)))
101
+ await Promise.allSettled([
102
+ ...Object.entries(titleMap).map(([filename, v]) => fs.copy(v.path, `${dir}/${filename}`)),
103
+ ...Object.values(defaultPages).filter(Boolean).map(f => fs.copy(f, `${dir}/${path.basename(f)}`))
104
+ ])
102
105
  /**
103
106
  * Generate custom sidebar
104
107
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adapt-authoring-docs",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "description": "Tools for auto-generating documentation for the Adapt authoring tool",
5
5
  "homepage": "https://github.com/adapt-security/adapt-authoring-docs",
6
6
  "license": "GPL-3.0",