Comments (4)
@jimbocoder Thanks for working on this! I think role.galaxy_name
and role.name
should be sufficient. If not you can make this configurable in ansigenome.conf
and maybe optionally also in meta/ansigenome.yml
. Looking forward to your patch to make this work for all of us.
from ansigenome.
I agree that this change should be reversed. It's good to be able to control the naming on the template level, leaving the decision to the role author.
from ansigenome.
Thanks Robin and @drybjed. Unfortunately straight up reversing the change just introduces a regression to other reported issues, so let's figure out a real fix. I hope to spend some time with this this weekend. In the mean time I'll paste some quick thoughts I had earlier as a request for further comments:
I think it's a bit tricky because "normalizing" the role identifier by stripping the company name out breaks graph generation, but apparently is necessary for doc generation. So even if it were configurable, you're broken one way or the other.
What if we look for an optional key in
meta/ansigenome.yml
calleddisplay_name
? If present, ansigenome will use that when rendering the role's simple name, otherwise it will use the role's complete name.
from ansigenome.
Sorry, was traveling for a bit so I missed this issue. I will merge in the proper fix when it becomes available.
from ansigenome.
Related Issues (20)
- Python 3 incompatibility HOT 8
- Ansigenome missed one instance of a internal variable.
- Roles don't connect to one another HOT 2
- Support Ansible custom filters
- errors when handling missing meta/main.yml HOT 4
- Scan does not detect markdown readmes HOT 2
- variables graph
- can we have multiple authors? HOT 1
- cuts the first letters from beginning of the name in gendoc HOT 1
- parser fails due to "Too many levels of symbolic links" HOT 1
- Breaks with inline vault-encrypted variables HOT 1
- Add ability to ignore role's subfolders
- ansigenome not installing properly HOT 2
- Exported png doesn't seem valid HOT 3
- question: had anyone automated ansigenome? HOT 2
- location / config for custom meta templates
- allow include templates from url
- ansigenome 0.6.0 ignores the ansigenome.yml
- template not found error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansigenome.