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
Problem with mkdocs serve in remote host #1239
Comments
Please be aware that the MkDocs is a static site generator. Its intended use case is to generate static files which are deployed by being uploaded to a static file server. You could use AWS' static file server (see their docs), or if you already have an nginx instance running, you could point it at a directory of static files (see those docs). In either case, run We do document how to deploy to a few specific services, but even those are all static file serves which are essentially doing what I describe above. As you can see. the Other Providers section details what I summarized above in a more general case. |
I've run into a (possibly) related problem when running My fix was to tell mkdocs to listen on all IP addresses, e.g. |
Thank you. I wanted to support local development by running this in a container, so this helped. Replies that you are using it wrong were not as helpful. |
@nonplus a few hours and 2 docker for desktop installs later and I find your post. I salute you, good sir. |
Hi,
I need configure a mkdocs in a instance locate in Amazon Web Services. This instance will be access through one nginx.
All the configuration of the instance is good (Security groups, VPC, subnets, ports, etc).
When I launch the command "mkdocs serve" in my local with material theme previous install, the execution is perfect. I can watch the documents perfectly, however when
I launch the comand "mkdocs serve -a IP_INSTANCE:8000" for some reason, I can watch the documents correctly... the theme is missing or don't show.
These things are perfectly configured:
I need to access to this service through a URL like https://my_url.com/documentation
So this is the problem... If I put the context "/documentation" when I launch mkdocs serve I can't watch anything, however, if I put
all the documents inside a directory called "documentation" I can watch the documents, but not the theme... It paint very bad...
Neither I can't find documents...
In summary, I need something like this http://www.mkdocs.org/
Please, someone can help me?
Thanks.
The text was updated successfully, but these errors were encountered: