The publishable project lives in long/path/to/something/index.org
There’s a symlink called shortcut which links to long/path/to
- Open the project as long/path/to/something/index.org.
- Evaluate the code block.
- Publish the project with
C-c C-e P x TAB RET
- Notice that
theindex.inc
is populated.
- Open the project as shortcut/something/index.org.
- Evaluate the code block.
- Publish the project with
C-c C-e P x TAB RET
- Notice that
theindex.inc
is not populated.
Make sure emacs doesn’t resolve the symlink beforehand. You can check by validating the path in the code block result.