Code:
Run mkdocs build -f mkdocs/mkdocs.yml
mkdocs build -f mkdocs/mkdocs.yml
shell: /usr/bin/bash -e {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.12.3/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.3/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.3/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.3/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.3/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.3/x64/lib
ERROR – Config value ‘docs_dir’: The path ‘mkdocs/Docs’ isn’t an existing directory.
Aborted with a configuration error!
Error: Process completed with exit code 1.
enter image description here
Check the Current Directory Structure:
Verify and Update mkdocs.yml:
docs_dir: mkdocs/Docs
mkdir -p mkdocs/Docs
echo “# Welcome to MkDocs” > mkdocs/Docs/index.md
but it’s does not work for me
Suraj Kumar Behera is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.