vsch / idea-multimarkdown

Markdown language support for IntelliJ IDEA.
https://plugins.jetbrains.com/plugin/7896-markdown-navigator
Apache License 2.0
812 stars 129 forks source link

html export to non project directory #843

Open nxgnme opened 4 years ago

nxgnme commented 4 years ago

Using the HTML export option is it possible to save to a folder outside the project directory?

We use a different git repo for documentation but cant seem to get export to work if the folder structure is set outside the project.

Export Works Parent Dir : E\myProject\docs Target Dir : E\myProject\docs

No export Parent Dir : E\myProject\docs Target Dir : E\myDocst\docs

No export Parent Dir : E\myDocst\docs Target Dir : E\myDocst\docs

vsch commented 4 years ago

@nxgnme, the export is limited to project directory and its subdirectories.

You can clone your docs repository to your project/docs and configure Version Control in the IDE to have this directory under a different VCS root. When you clone the repo to a subdirectory the IDE will detect an unconfigured root and show a notification offering to configure it.

To not have the docs subdirectory show up as not under VCS, just add it to your project's .gitignore file. This will not affect the docs root and only the project root VCS.