-
Notifications
You must be signed in to change notification settings - Fork 524
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
Add example command to changing the listen address #863
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This page is about the overall concept, not directly related to the CLI. So at least the new heading should mention what the context is. And I'm a bit hesitant to "duplicate" this information here, since the CLI API is auto-generated from the configuration structure and if the command ever changes, this place might get overlooked to adjust.
I suggest to add an example command to every page, as it woud save time. https://forum.syncthing.net/t/accessing-gui-from-an-external-ip/22113/2 |
``` | ||
syncthing cli config gui raw-address set 0.0.0.0:8384 | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Triple backticks don't work with reStructuredText.
``` | |
syncthing cli config gui raw-address set 0.0.0.0:8384 | |
``` | |
``syncthing cli config gui raw-address set 0.0.0.0:8384`` |
Example | ||
------- | ||
|
||
Changing the listen address to ``0.0.0.0:8384``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not exactly clear what the context is from the header name, like @acolomb said.
Example | |
------- | |
Changing the listen address to ``0.0.0.0:8384``. | |
Using the CLI to change the GUI Listen Address | |
------- | |
Here is an example of changing the listen address to ``0.0.0.0:8384`` using the CLI: |
No description provided.