vitiral / artifact

The open source design documentation tool for everybody
http://vitiral.github.io/artifact/docs/index.html
Other
558 stars 38 forks source link

Make file paths relative to project root #243

Open crackcomm opened 6 years ago

crackcomm commented 6 years ago

When creating a new document I'd have to specify the page file.

vitiral commented 6 years ago

You mean in the web-ui. This is indeed a really big pain right now!

crackcomm commented 6 years ago

I suppose they could be relative to design dir.

vitiral commented 6 years ago

what do you mean by that? Multiple design directories are allowed, so I don't think what you are suggesting is possible. They can only be relative to project root (which... they are not. They are absolute path :man_facepalming:)

vitiral commented 6 years ago

making them relative to project root would be trivial and would help alot.

crackcomm commented 6 years ago

@vitiral I mean relative to design/ directory.

crackcomm commented 6 years ago

Or project root if multiple are allowed, sorry I missed that point.

vitiral commented 6 years ago

I changed this issue to be just about the relative path. I made #244 for auto-completion.