Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to get a timeline on my page and get this error #32

Open
zjoukhadar opened this issue Jan 30, 2023 · 3 comments
Open

Trying to get a timeline on my page and get this error #32

zjoukhadar opened this issue Jan 30, 2023 · 3 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@zjoukhadar
Copy link

image

@RobertoPrevato
Copy link
Member

Hi @zjoukhadar
The error message explains what's happening, it's a wrapper around the file not found error.
The path to the source must be relative from the root folder of your MkDocs project. For example, if it was inside your docs folder, it must be something like: ./docs/timeline/timeline-1.json.

If your "assets" folder is inside your "docs" folder, you need to make it "./docs/assets/timeline2.json".

@zjoukhadar
Copy link
Author

Thanks, the './docs/' addition is what I missed. I was assuming that path is read same way as 1 which dose not require adding /docs/

@RobertoPrevato
Copy link
Member

Reopening because maybe this feature can be improved, to look for files also in the "docs" folder for relative paths.

@RobertoPrevato RobertoPrevato added documentation Improvements or additions to documentation enhancement New feature or request labels Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants