-
-
Couldn't load subscription status.
- Fork 5.3k
Start using docker-compose and watch the changed files to simplify docs changes. #13392
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
Conversation
| I don't see the point of introducing docker-compose for single service. It doesn't reduce complexity, I would argue contrary |
| Agree with @ostrolucky, not to mention that we don't always use Docker in its "normal" approach (think Docker in Docker, Docker-Machine, etc), the actual Second point, I'm not sure that exposing the ports is a good idea, sometimes, we can have reverse-proxy like Traefik and exposing ports can create issues with the Traefik ones (or other solutions), the ports can be moved into a |
| Today on any change you make you need to:
With this change, you only need to run on command and have the documentation built and updated as you save the changed files. To accomplish it we no longer copy the files to the container but instead, we map volumes. Running it on the command line would be something like this:
It would remain as two steps (same as today) and have some "overcomplicated" command to run the watch job. Note that there are no changes in ports exposure, we already do it today. |
…versioned files; Add such file to .gitignore;
| What are the instructions for Windows users? There is no |
I removed the need to pass the user. So there is no differences between Windows and Linux (or Mac) usage and it is more straightforward now. |
| Just asking: what's the status of this proposal? Do people agree on finishing it? Or is it too controversial to continue? Would you try a different approach? Thanks! |
| Hi! I'm going to close this PR as there hasn't been any response for months and local doc set-up isn't the biggest priority for the documentation team. If people do have a strong opinion on this and want to finish this PR, please comment and I'll reopen. |
This simplifies how we interact with the documentation locally:
docker-compose.yamlto reduce the noise and complexity to spin up the local environment.livehtmlto make command to allow files to be watched and changes to be re-compiled automagically speeding up the change and change validation process.Please let me know what are the thoughts on this and if any more changes are needed.