(how to specify relative path locations) |
JohnBeckett (talk | contribs) (standard format) |
||
Line 1: | Line 1: | ||
+ | {{ScriptComments|2252|publish: publish hyperlinked, syntax highlighted source code with Vim}} |
||
+ | |||
+ | ==Path locations== |
||
This is a wow script! |
This is a wow script! |
||
− | It took me a while to understand how to specify relative path locations. |
+ | It took me a while to understand how to specify relative path locations. I think they work as follows: |
− | I think they work as follows: |
||
− | |||
* '''tags''' file: relative to dir where vim is running from |
* '''tags''' file: relative to dir where vim is running from |
||
* '''sources''': relative to dir where vim is running from; sets base dir of '''file list''' |
* '''sources''': relative to dir where vim is running from; sets base dir of '''file list''' |
||
* '''target''': relative to dir where vim is running from; sets base dir of html files; the same dir structure of '''file list''' is recreated in '''target''' dir |
* '''target''': relative to dir where vim is running from; sets base dir of html files; the same dir structure of '''file list''' is recreated in '''target''' dir |
||
* '''file list''': relative to '''sources''' dir |
* '''file list''': relative to '''sources''' dir |
||
+ | |||
+ | ==Comments== |
Revision as of 01:22, 6 June 2010
Use this page to discuss script 2252 2252
- Add constructive comments, bug reports, or discuss improvements (see the guideline).
- Do not document the script here (the author should do that on vim.org).
- This page may be out of date: check the script's vim.org page above, and its release notes.
Path locations
This is a wow script!
It took me a while to understand how to specify relative path locations. I think they work as follows:
- tags file: relative to dir where vim is running from
- sources: relative to dir where vim is running from; sets base dir of file list
- target: relative to dir where vim is running from; sets base dir of html files; the same dir structure of file list is recreated in target dir
- file list: relative to sources dir