diplodoc-platform / diplodoc-platform/cli

TOC including doesn't work at the same level

Open
#789 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
123
Forks
51
Avg merge
10h 50m
Merged PRs (30d)
38

Description

I have this file structure:
```
- toc.yaml
- toc_test.yaml
- page1.md
```

`toc.yaml`:
```
title: test
items:
- name: Test
href: ./toc_test.yaml
```

`toc_test.yaml`:
```
items:
- name: Test page
href: ./page1.md
```

And I received this error in the end:
```
ERR Link is unreachable: ./page1.md in /toc_test.yaml
```

Everything works fine if you place `sub_toc.yaml` and `page1.md` in some subfolder.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.