aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/contributing/meson.build
blob: 8c76a62065f6e41a89502b2c8b384354904393b4 (plain)
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
# Intermediate step for experimental-feature-descriptions.md.
# This splorks the output of generate-xp-features.nix as JSON,
# which gets written as a directory tree below.
experimental_feature_descriptions_md = custom_target(
  command : nix_eval_for_docs + [
    '--expr',
    'import @INPUT0@ "experimental" "xp" (builtins.fromJSON (builtins.readFile @INPUT1@))',
  ],
  input : [
    '../../generate-features.nix',
    xp_features_json,
  ],
  capture : true,
  output : 'experimental-feature-descriptions.md',
)

deprecated_feature_descriptions_md = custom_target(
  command : nix_eval_for_docs + [
    '--expr',
    'import @INPUT0@ "deprecated" "dp" (builtins.fromJSON (builtins.readFile @INPUT1@))',
  ],
  input : [
    '../../generate-features.nix',
    dp_features_json,
  ],
  capture : true,
  output : 'deprecated-feature-descriptions.md',
)