diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2019-10-05 20:45:42 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2019-10-17 19:07:20 -0400 |
commit | 1083951efc4f8ddbf8de65907cc5aee2ac6be2ed (patch) | |
tree | 0b3f2dd576301a0d15d23c8a0ccc1afff1e86717 /src/doc_reform/source/read_source_files.d | |
parent | --show-{config,make,metadata,summary} (diff) |
0.8.1 conf, make, meta: yaml only (toml removed)doc-reform_v0.8.1
- yaml only: config, make & headers
(yaml is converted directly to struct)
- toml removed: preemptively remove confusion of
having multiple config formats
(toml was converted to json & json to struct)
- json removed (intermediate representation):
takes out intermediate conversion to json which
could be attractive to have if there are
multiple formats
Diffstat (limited to 'src/doc_reform/source/read_source_files.d')
-rw-r--r-- | src/doc_reform/source/read_source_files.d | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/doc_reform/source/read_source_files.d b/src/doc_reform/source/read_source_files.d index 753612e..05f6630 100644 --- a/src/doc_reform/source/read_source_files.d +++ b/src/doc_reform/source/read_source_files.d @@ -62,8 +62,6 @@ static template DocReformRawMarkupContent() { string header_type = ""; if (header_raw.match(rgx.yaml_config)) { header_type = "yaml"; - } else if (header_raw.match(rgx.toml_config)) { - header_type = "toml"; } t = tuple( header_raw, @@ -139,8 +137,6 @@ static template DocReformRawMarkupContent() { string header_type = ""; if (header.match(rgx.yaml_config)) { header_type = "yaml"; - } else if (header.match(rgx.toml_config)) { - header_type = "toml"; } auto t = tuple( header, |