Skip to content

Commit

Permalink
doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
wang0618 committed Jul 23, 2021
1 parent 2baed9d commit 7790d9f
Show file tree
Hide file tree
Showing 5 changed files with 132 additions and 117 deletions.
1 change: 1 addition & 0 deletions demos/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. automodule:: demos.output_usage
.. automodule:: demos.chat_room
.. automodule:: demos.markdown_previewer
.. automodule:: demos.gomoku_game
"""
2 changes: 1 addition & 1 deletion docs/guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ Use `start_server() <pywebio.platform.tornado.start_server>` to start a web serv
start_server([index, task_1, task_2])


The `start_server() <pywebio.platform.tornado.start_server>` provide a remote access support, when enabled (by passing `remote_access=True` to `start_server()`), you can get a temporary public network access address for the current application, others can access your application via this address. Using remote access makes it easy to temporarily share the application with others. This service is powered by `localhost.run <https://localhost.run>`_.
The `start_server() <pywebio.platform.tornado.start_server>` provide a remote access support, when enabled (by passing `remote_access=True` to `start_server()`), you will get a public, shareable address for the current application, others can access your application in their browser via this address. Because the processing happens on your device (as long as your device stays on!), you don't have to worry about any dependencies. Using remote access makes it easy to temporarily share the application with others. This service is powered by `localhost.run <https://localhost.run>`_.

Use `path_deploy() <pywebio.platform.path_deploy>` to deploy the PyWebIO applications from a directory.
The python file under this directory need contain the ``main`` function to be seen as the PyWebIO application.
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ This documentation is also available in `PDF and Epub formats <https://readthedo
output
session
platform
pin
libraries_support
demos
misc
Expand Down
Loading

0 comments on commit 7790d9f

Please sign in to comment.