redhataccess / ascii_binder

AsciiBinder is an AsciiDoc-based system for authoring and publishing closely related documentation sets from a single source.
https://asciibinder.net
MIT License
76 stars 39 forks source link

Bug: _distro_map.yml doesn't support directores that are just numbers #92

Closed bexelbie closed 6 years ago

bexelbie commented 7 years ago

this fails:

ascii_binder:
  name: Fedora Documentation
  author: Fedora Documentation Project <docs@lists.fedoraproject.org>
  site: main
  site_name: Home
  site_url: https://docs.fedoraproject.org/
  branches:
    f26-en-US:
      name: 26
      dir: 26

Low priority

Fryguy commented 7 years ago

If you put the directory as a yaml string, will it work? e.g.

ascii_binder:
  name: Fedora Documentation
  author: Fedora Documentation Project <docs@lists.fedoraproject.org>
  site: main
  site_name: Home
  site_url: https://docs.fedoraproject.org/
  branches:
    f26-en-US:
      name: "26"
      dir: "26"
bexelbie commented 7 years ago

@Fryguy

If you put the directory as a yaml string, will it work?

yes. I believe we should just document this so quick to type folks like myself don't hit it again :)

bexelbie commented 6 years ago

opened: Number Only Entries in yaml files need to be quoted when they are directories #21 - https://github.com/redhataccess/ascii_binder-docs/issues/21