Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

products-schema.js 1.3 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
  1. module.exports = {
  2. properties: {
  3. name: {
  4. required: true,
  5. description: 'the product name',
  6. type: 'string'
  7. },
  8. id: {
  9. required: true,
  10. description: 'an identifier for the product',
  11. type: 'string'
  12. },
  13. href: {
  14. required: true,
  15. description: 'the href to the product landing page',
  16. type: 'string',
  17. pattern: '^(/|http)' // if internal, must start with a slash; if external, must start with http
  18. },
  19. dir: {
  20. description: 'the local relative path to the product directory',
  21. type: 'string',
  22. pattern: '^content/.*?[^/]$' // must start with content, can't end with a slash
  23. },
  24. toc: {
  25. description: 'the local relative path to the product toc page',
  26. type: 'string',
  27. pattern: '^content/.*?index.md$' // must start with content and end with index.md
  28. },
  29. hasEnterpriseUserVersions: {
  30. description: 'boolean indicating whether the product has Enterprise User permalinks',
  31. type: 'boolean'
  32. },
  33. external: {
  34. description: 'boolean indicating whether the product has external docs',
  35. type: 'boolean'
  36. },
  37. wip: {
  38. description: 'boolean indicating whether the product should display in production',
  39. type: 'boolean'
  40. }
  41. }
  42. }
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...