-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
api:interlinkstime:shortTakes an hour or less to resolveTakes an hour or less to resolvetype:bugSomething isn't workingSomething isn't working
Description
Hello!
This issue is in regards to running quartodoc interlinks
from the repository directory.
Take e.g. the following structure:
.
├── docs
│ ├── setup_guide
│ ├── index.qmd
│ └── _quarto.yml
├── src
├── test
└── tmp
If I where to run quartodoc interlinks from the repo (.
) directory:
quartodoc interlinks docs/_quarto.yml
It would result in:
.
├── docs
├── docs
│ └── _inv
│ └── < inventory files >
├── setup_guide
├── index.qmd
└── _quarto.yml
├── src
├── test
└── tmp
Instead of having the '_inv' directory directly under ./docs.
In these lines:
https://github.com/machow/quartodoc/blob/main/quartodoc/__main__.py#L243-L265
the p_root
directory is concatenated twice.
I think this causes the issue.
Metadata
Metadata
Assignees
Labels
api:interlinkstime:shortTakes an hour or less to resolveTakes an hour or less to resolvetype:bugSomething isn't workingSomething isn't working
Projects
Status
Todo