So I just tried deploying some docs using includes via Jenkins and for whatever reason it won't find the files. I'm using the extension with Mkdocs and it gives me the following type of messages:
Warning: could not find file changelog/5.3.1-hotfix2.md. Ignoring include statement. Error: [Errno 2] No such file or directory: u'changelog/5.3.1-hotfix2.md'
Warning: could not find file changelog/5.3.1-hotfix1.md. Ignoring include statement. Error: [Errno 2] No such file or directory: u'changelog/5.3.1-hotfix1.md'
The full filename is /data/workspace///docs/changelog/5.3.1-hotfix2.md
I have set "base_path" to "/docs/" and it works locally on Mac OS X 10.11.4 and on my CentOS testing machine. But on the jenkins machine running CentOS 7 as well it can't find the files.
When I change the filename references to absolute paths to the files it works but this is not desirable for my implementation. Any ideas? Markdown and the extension should be called by mkdocs just like it does locally.
I now changed the base_path back to the default . and rewrote all links for "docs/" and now it seems to work. Didn't understand that your code checked for .isabs
So I just tried deploying some docs using includes via Jenkins and for whatever reason it won't find the files. I'm using the extension with Mkdocs and it gives me the following type of messages:
The full filename is /data/workspace///docs/changelog/5.3.1-hotfix2.md
I have set "base_path" to "/docs/" and it works locally on Mac OS X 10.11.4 and on my CentOS testing machine. But on the jenkins machine running CentOS 7 as well it can't find the files.
When I change the filename references to absolute paths to the files it works but this is not desirable for my implementation. Any ideas? Markdown and the extension should be called by mkdocs just like it does locally.