Comments (6)
Hello,
Are you having issues with using custom templates? Currently you can put the custom templates anywhere you want. It's up to the include
statement in the template to determine where it's located.
Example:
https://github.com/nickjj/ansigenome#custom-readme-template
from ansigenome.
Which include statement? You mean the:
{% extends "README.md.j2" %}
I meant in order to use a custom template, you have to specify this path in ~/.ansigenome.conf
as options_readme_template
and this must by the full path as far as I understand the source and my tests are confirming that.
from ansigenome.
Ok, so the issue here is that ~
and $HOME
aren't expanding to /home/ypid
?
from ansigenome.
Yes.
from ansigenome.
It will be a few days before I can patch this but using os.path.expanduser
and os.path.expandvars
on this line should do it:
Line 51 in 4ac66e2
from ansigenome.
All right, no problem. Thanks.
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
- 86a62d40adac956784510ec11fe8ee197a9f05c8 broke `role.galaxy_name` HOT 4
- 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.