-
Notifications
You must be signed in to change notification settings - Fork 8
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
Absolute path in assets #16
Comments
Looks very buggy. |
It's reproduced in Debian environment It seems that assets are collected in transform repo |
It seems "path" should be replaced with "src" |
bongiozzo
added a commit
to bongiozzo/transform
that referenced
this issue
Oct 26, 2024
This should fix issue with absolute paths diplodoc-platform/diplodoc#16 (comment)
3y3
pushed a commit
to diplodoc-platform/transform
that referenced
this issue
Nov 2, 2024
This should fix issue with absolute paths diplodoc-platform/diplodoc#16 (comment)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have .md file:
and toc.yaml file
run this command
yfm -i ./docs -o ./output
and i have generated object with assets, which has absolute path for images in assets list
{ "data": { "leading": false, "toc": { "title": "Tangl", "href": "index.html", "navigation": { "logo": { "url": "../tangl" }, "header": { "leftItems": [ { "text": "Item..", "type": "link" }, { "text": "Item...", "type": "link" } ] } }, "items": [ { ..... }, { ..... }, { "name": "Разделы", "expanded": true, "items": [ ...... ], "id": "Разделы-2-0.2943391760813012" } ], "base": "...." }, "meta": { "metadata": [], "style": [], "script": [] }, "assets": [ "/home/..../www/work/test/output/.tmp_input/_images/structure.png" ], "headings": [ { "title": "Extras", "href": "#extras", "level": 2 }, { "title": "....", "href": "#...", "level": 2, "items": [ { "title": "Вьювер", "href": "#vyuver", "level": 3 } ] } ], "title": "Описание папок в src и проектов в них", "includes": [], "html": "...." }, "router": { "pathname": "structure.html" } }
In the result paths point to tmp folder which will be deleted after build process which is an unexpected behavior
But... my html generated correctly
<img src="../_images/tangl-structure.png" />
The text was updated successfully, but these errors were encountered: