-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] aar_doc does not support arguments_spec in meta/main.yaml #66
Comments
see #68 |
As I think this will block any testing of the patch, I want to mention that the At least in my case, it will fails because I have no |
That's not really relevant, as the final output will be parsed using the
That is indeed a problem. I'll try to think about it. |
I removed the main-entrypoint from the markdown file so this should be working for you now. |
Great, I will test it asap. Regarding the |
A first test shows that section I noticed, however, that the tool requires the |
Should be fixed, too! :)
Just tested it again, works for me. |
With your fix, the documentation is generated when the Regarding the use of templates. I have created a configuration file with the following content:
And use it with the following command: Unfortunately, the generated file has the same content as without the configuration file. |
I opened a new issue for your problem: #69 |
Fixed by #68 |
Description
As I do not plan to support ansible < 2.11, I write the
argument_specs
section into themeta/main.yaml
file of my roles. Unfortunatelyaar_doc
does not seem to support that, as I get the following error message:Could not find meta/argument_specs.yml
Reproduction steps
argument_specs
section in themeta/main.yaml
file of a rolemeta/argument_specs.yml
aar_doc ROLE_PATH markdown
to create a markdown documentationCurrent Behavior
The tool will generate the following message and produce no markdown output.
Could not find meta/argument_specs.yml
Expected Behavior
If the file
ROLE_PATH/meta/argument_specs.yml
does not exists, the tool should look intoROLE_PATH/meta/main.yaml
for theargument_specs
section.Additional information
aar_doc
version: 1.0.4The text was updated successfully, but these errors were encountered: