LightGuard / asciidoc-splitter

A splitter utility for helping create modular docs from chapter files.
BSD 2-Clause "Simplified" License
8 stars 8 forks source link

Support using the splitter from repo to repo #59

Closed sterobin closed 4 years ago

sterobin commented 4 years ago

Current behavior

The splitter has issues currently functioning on one git repo to another. I don't know the details, but Jason explained it had to do with discoverability of the adoc content from the root of the dir (or something). So currently can only run the splitter locally. For the splitter's purpose, running from git repo to git repo is the primary if not the sole use case for it, so working that out is will be essential.

Desired behavior

Be able to run the spliiter successfully from a git repo source to a git repo target, whether that be any of the following variations:

The last two are very unlikely, but I figure if we can just get the splitter working on whatever repo and branch, with any credentials needed, then it shouldn't matter much. This is already the target behavior today based on the splitter options available, but just not quite working yet.

LightGuard commented 4 years ago

I think one way to do this would be to add another option to specify where the document root is. Another option might be to include an option to specify a list of files to ignore. In this case, I think it was the "index.adoc" file. Actually, I think the ignore list is the better way to go.