hdoc-tools 0.9.9 → 0.9.10

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.
package/hdoc-init.js CHANGED
@@ -11,8 +11,8 @@
11
11
  const promptProps = [{
12
12
  name: 'id',
13
13
  description: 'Document ID',
14
- validator: /^[a-z][a-z-]+[a-z]$/,
15
- warning: 'Document ID must only contain lower case letters and dashes',
14
+ validator: /^[a-z][a-z0-9-]+[a-z0-9]$/,
15
+ warning: 'Document ID must only contain lower case letters, decimal digits and dashes.',
16
16
  required: true
17
17
  },
18
18
  {
package/hdoc-validate.js CHANGED
@@ -17,7 +17,7 @@
17
17
  british: true,
18
18
  spelling: true
19
19
  },
20
- regex_nav_paths = /[a-z-\/]+/g;
20
+ regex_nav_paths = /[a-z0-9-\/]+/g;
21
21
 
22
22
  let prod_families = {};
23
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hdoc-tools",
3
- "version": "0.9.9",
3
+ "version": "0.9.10",
4
4
  "description": "Hornbill HDocBook Development Support Tool",
5
5
  "main": "hdoc.js",
6
6
  "bin": {
@@ -3,7 +3,7 @@
3
3
  "title": "--title--",
4
4
  "description": "--description--",
5
5
  "publicSource": "--publicSource--",
6
- "productFamily": "docs",
6
+ "productFamily": "hdocs",
7
7
  "version": "0.0.1",
8
8
  "audience": [
9
9
  "public"