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

Enable branch-wise override of distro map values #59

Closed nhr closed 8 years ago

nhr commented 8 years ago

@Fryguy please review - this is high priority for the OpenShift docs team.

Fryguy commented 8 years ago

Can you just post an example here of what it would look like in the distro_map? Eventually, we'll probably want to document this feature in the asciibinder documention

nhr commented 8 years ago

Here's an example; this is the actual plan to update the OpenShift docs distro map:

openshift-enterprise:
  name: OpenShift Container Platform
  author: OpenShift Documentation Project <dev@lists.openshift.redhat.com>
  site: commercial
  site_name: Documentation
  site_url: https://docs.openshift.com/
  branches:
    enterprise-3.0:
      name: '3.0'
      dir: enterprise/3.0
      distro-overrides:
        name: OpenShift Enterprise
    enterprise-3.1:
      name: '3.1'
      dir: enterprise/3.1
      distro-overrides:
        name: OpenShift Enterprise
    enterprise-3.2:
      name: '3.2'
      dir: enterprise/3.2
      distro-overrides:
        name: OpenShift Enterprise
    master:
      name: '3.3'
      dir: container-platform/3.3
vikram-redhat commented 8 years ago

@nhr @Fryguy - what's the likely time-frame for this now?

nhr commented 8 years ago

@vikram-redhat - I want to add one other enhancement but my plan is to roll all of this out today.

nhr commented 8 years ago

Actually - I don't want to bloat this PR; I get things rolling now. I reached out to Jason yesterday to let him know I needed to merge this today, so I will proceed.