Closed brianhatchl closed 3 years ago
What kind of documentation are you adding? Something to an existing command? Yeah, each command has its own asciidoc under docs/commands
.
Error when running hoot changeset-apply
with no args to get command help:
22:46:38.384 ERROR .../hoot/core/cmd/BaseCommand.cpp( 57) Error opening command help for reading. (/var/lib/hootenanny/docs/commands/changeset-apply.asciidoc) Is HOOT_HOME set properly?
22:46:38.384 WARN ( 0) QIODevice::read (QFile, "/var/lib/hootenanny/docs/commands/changeset-apply.asciidoc"): device not open
Meaning I think the RPMs need to deploy some of those asciidocs to enable this help feature.
Ok, yes that dir needs to be installed to get command line help.
When adding the $HOOT_HOME/docs/commands/*.asciidoc
files to the RPM, there is a subdirectory archive
that doesn't need to be installed. In fact, we ought to just delete it. If we ever need those files (which I don't see us ever doing) they are stored in the history. @bwitham what do you think? Delete them?
Just move them somewhere else. I'd like to keep them for historical purposes.
They are fine there. I just didn't think we needed them. But I'm ok with leaving them there, we just shouldn't add them to the RPM then.
At this point I'm aware of those under
/docs/commands
but there may be more.@bwitham @bmarchant any input on this issue?