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

Error: Config file 'mkdocs.yml' does not exist. #5

Closed
mnahmad opened this issue May 12, 2022 · 2 comments
Closed

Error: Config file 'mkdocs.yml' does not exist. #5

mnahmad opened this issue May 12, 2022 · 2 comments

Comments

@mnahmad
Copy link

mnahmad commented May 12, 2022

Hi
I am using the image on macOS Catalina (10.15.7), when starting server using the following command

docker run --rm -v "`pwd`:/app" -w /app/doc -p 8000:8000 minidocks/mkdocs serve -a 0.0.0.0:8000 -t material

I get the following error

INFO - Building documentation...
Error: Config file 'mkdocs.yml' does not exist.

similar issue is discussed here but the solution is not working for me.

thanks

@sl-antonybasbug
Copy link

You have to first run this command :

docker run --rm -v "pwd:/app" -w /app minidocks/mkdocs new doc

Then :

docker run --rm -v "pwd:/app" -w /app/doc -p 8000:8000 minidocks/mkdocs serve -a 0.0.0.0:8000 -t material

@mnahmad
Copy link
Author

mnahmad commented Jun 28, 2022

thanks for help, every thing is working for me now.

@mnahmad mnahmad closed this as completed Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants