Skip to content

Commit

Permalink
add pywebio playground link
Browse files Browse the repository at this point in the history
  • Loading branch information
wang0618 committed Nov 26, 2022
1 parent 291a7d6 commit a646a72
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
7 changes: 4 additions & 3 deletions README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<img src="https://img.shields.io/github/license/wang0618/PyWebIO.svg" alt="License">
</a>
<br/>
<a href="https://pywebio.readthedocs.io/zh_CN/latest/">[Document]</a> | <a href="http://pywebio-demos.pywebio.online/">[Demos]</a> | <a href="/wang0618/PyWebIO/wiki/%5B%E4%B8%AD%E6%96%87%5D-Why-PyWebIO%3F">[Why PyWebIO?]</a>
<a href="https://pywebio.readthedocs.io/zh_CN/latest/">[Document]</a> | <a href="http://pywebio-demos.pywebio.online/">[Demos]</a> | <a href="https://play.pywebio.online">[Playground]</a> | <a href="https://github.com/wang0618/PyWebIO/wiki/%5B%E4%B8%AD%E6%96%87%5D-Why-PyWebIO%3F">[Why PyWebIO?]</a>
</p>

[English](README.md) | [中文](README-zh.md)
Expand Down Expand Up @@ -155,6 +155,7 @@ if __name__ == "__main__":
- [基本demo](http://pywebio-demos.pywebio.online/) : 包含PyWebIO基本输入输出演示和使用PyWebIO编写的小应用
- [数据可视化demo](http://pywebio-charts.pywebio.online/) : 使用 bokeh、plotly、pyecharts 等库进行数据可视化

## Document
## Links

使用手册和实现文档见 [https://pywebio.readthedocs.io](https://pywebio.readthedocs.io/zh_CN/latest/)
* 使用手册和实现文档见 [pywebio.readthedocs.io](https://pywebio.readthedocs.io/zh_CN/latest/)
* [PyWebIO Playground](https://play.pywebio.online/): 在线编辑、运行和分享PyWebIO代码
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<img src="https://img.shields.io/github/license/wang0618/PyWebIO.svg" alt="License">
</a>
<br/>
<a href="https://pywebio.readthedocs.io">[Document]</a> | <a href="http://pywebio-demos.pywebio.online/">[Demos]</a> | <a href="/wang0618/PyWebIO/wiki/Why-PyWebIO%3F">[Why PyWebIO?]</a>
<a href="https://pywebio.readthedocs.io">[Document]</a> | <a href="http://pywebio-demos.pywebio.online/">[Demos]</a> | <a href="https://play.pywebio.online">[Playground]</a> | <a href="https://github.com/wang0618/PyWebIO/wiki/Why-PyWebIO%3F">[Why PyWebIO?]</a>
</p>

[English](README.md) | [中文](README-zh.md)
Expand Down Expand Up @@ -153,6 +153,7 @@ For integration with other web frameworks, please refer to [document](https://py
- [Basic demo](http://pywebio-demos.pywebio.online/) : PyWebIO basic input and output demos and some small applications written using PyWebIO.
- [Data visualization demo](http://pywebio-charts.pywebio.online/) : Data visualization with the third-party libraries, e.g., `plotly`, `bokeh`, `pyecharts`.

## Document
## Links

Document is on [https://pywebio.readthedocs.io](https://pywebio.readthedocs.io)
* Document [pywebio.readthedocs.io](https://pywebio.readthedocs.io)
* [PyWebIO Playground](https://play.pywebio.online/): Edit, Run, Share PyWebIO Code Online
2 changes: 2 additions & 0 deletions demos/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
### Links
* PyWebIO Github [github.com/wang0618/PyWebIO](https://github.com/wang0618/PyWebIO)
* Document [pywebio.readthedocs.io](https://pywebio.readthedocs.io)
* [PyWebIO Playground](https://play.pywebio.online/): Edit, Run, Share PyWebIO Code Online
""".format(charts_demo_host=charts_demo_host)

Expand Down Expand Up @@ -87,6 +88,7 @@
### Links
* PyWebIO Github [github.com/wang0618/PyWebIO](https://github.com/wang0618/PyWebIO)
* 使用手册和实现文档见 [pywebio.readthedocs.io](https://pywebio.readthedocs.io/zh_CN/latest/)
* [PyWebIO Playground](https://play.pywebio.online/): 在线编辑、运行和分享PyWebIO代码
""".format(charts_demo_host=charts_demo_host)

Expand Down
3 changes: 2 additions & 1 deletion docs/guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ user input. In addition, PyWebIO also provides support for click events, layout,
the least code to interact with the user and provide a good user experience as much as possible.

This user guide introduces you the most of the features of PyWebIO. There is a demo link at the top right of the example
codes in this document, where you can run the example code online and see what happens.
codes in this document, where you can run the example code online and see what happens. Also, the
`PyWebIO Playground <https://play.pywebio.online/>`_ is a good place to write, run and share your PyWebIO code online.

Input
------------
Expand Down
2 changes: 1 addition & 1 deletion docs/locales/zh_CN/LC_MESSAGES/guide.po
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ msgid ""
"persists or the solution is not good enough, you can consider the :ref:`callback mechanism <callback>` or :doc:`pin <./pin>` module."
msgstr ""
"最后再提供一条建议,当你在使用PyWebIO遇到设计上的问题时,可以问一下自己:如果在是在终端程序中我会怎么做?如果你已经有答案了,那么在PyWebIO中一样可以"
"使用这样的方式完成。如果问题依然存在或者觉得解决方案不够好,你可以考虑使用 :ref:`回掉机制 <callback>` 或 :doc:`pin <./pin>` 模块。"
"使用这样的方式完成。如果问题依然存在或者觉得解决方案不够好,你可以考虑使用 :ref:`回调机制 <callback>` 或 :doc:`pin <./pin>` 模块。"

#: ../../guide.rst:814
msgid "OK, Have fun with PyWebIO!"
Expand Down

0 comments on commit a646a72

Please sign in to comment.