Background
We use a bash script to do Toctree Validation.
Running this test locally as container
docker run -it -v `pwd`:/build/docs testthedocs/ttd-toctree
Checking for nested toctree entries
foobar.rst
11: :numbered:
Found one or more numbering entry, ':numbered:' is only allowed once in index.rst
works perfectly.
Running this test locally without container, meaning only the script without docker is working, too:
../testtoctrees.sh
Checking for nested toctree entries
foobar.rst
11: :numbered:
Found one or more numbering entry, ':numbered:' is only allowed once in index.rst
But running it on drone, gives false results:
/drone/src/github.com/testthedocs/ttd.docs-example/docs
/bin/bash testtoctree.sh
Checking for nested toctree entries
Looks great ! Awesome !
Here is the part of our .drone,yaml
pipeline:
test-toc:
image: testthedocs/ttd-toctree
commands:
- cd /drone/src/github.com/testthedocs/ttd.docs-example/docs && pwd
- /bin/bash testtoctree.sh
Any hints would be highly appreciated !
Thanks !