Skip to content
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

How to include assets to generated documentation? #29

Closed
warpdesign opened this issue Dec 20, 2017 · 2 comments
Closed

How to include assets to generated documentation? #29

warpdesign opened this issue Dec 20, 2017 · 2 comments
Labels
docma-core feature-request v2 Fixed or implemented. To be released.

Comments

@warpdesign
Copy link
Contributor

I have some images in one of the .md I'm using in my Docma documentation:

![test](img/foo.png)

That's get transformed as:

<img src="img/foo.png" alt="test" />

But the img/foo.png is not copied to the output folder so when reading the documentation I don't see the image.

Is there a way to specify an assets directory that will be added to the generated documentation? Or should I do it by hand?

@onury
Copy link
Owner

onury commented Dec 20, 2017

Currently you need to provide an absolute URL for images and/or include the assets while you upload the generated docs.

But this feature should be added definitely.

onury added a commit that referenced this issue Dec 29, 2017
@onury onury added the Fixed or implemented. To be released. label Dec 29, 2017
@onury
Copy link
Owner

onury commented Apr 12, 2018

New option assets is added in Docma v2.0.0
Thanks

@onury onury closed this as completed Apr 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docma-core feature-request v2 Fixed or implemented. To be released.
Projects
None yet
Development

No branches or pull requests

2 participants