topindex.html 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. {% extends "defindex.html" %}
  2. {% block body %}
  3. <h1>MicroPython documentation</h1>
  4. <p>
  5. {{ _('Welcome! This is the documentation for MicroPython') }}
  6. v{{ release|e }}{% if last_updated %}, {{ _('last updated') }} {{ last_updated|e }}{% endif %}.
  7. </p>
  8. <p>
  9. MicroPython runs on a variety of systems and each has their own specific
  10. documentation. You are currently viewing the documentation for
  11. <strong>{{ port_name }}</strong>.
  12. </p>
  13. <!--p>
  14. Documentation for other systems are available:
  15. {% for p in all_ports %}
  16. <a href="{{ p[1] }}">{{ p[0] }}</a>{% if not loop.last %}, {% endif %}
  17. {% endfor %}.
  18. </p-->
  19. <p><strong>Documentation for MicroPython and {{ port_name }}:</strong></p>
  20. <table class="contentstable"><tr>
  21. <td width="40%" style="padding-left:2em;">
  22. {% if port in ("pyboard", "wipy", "esp8266") %}
  23. <p class="biglink">
  24. <a class="biglink" href="{{ pathto(port + "/quickref") }}">Quick reference for {{ port_name }}</a><br/>
  25. <span class="linkdescr">pinout for {{ port_name }} and snippets of useful code</span>
  26. </p>
  27. <p class="biglink">
  28. <a class="biglink" href="{{ pathto(port + "/general") }}">General information about {{ port_name }}</a><br/>
  29. <span class="linkdescr">read this first for a quick overview</span>
  30. </p>
  31. <p class="biglink">
  32. <a class="biglink" href="{{ pathto(port + "/tutorial/index") }}">Tutorials and code examples</a><br/>
  33. <span class="linkdescr">start here</span>
  34. </p>
  35. {% endif %}
  36. <p class="biglink">
  37. <a class="biglink" href="{{ pathto("library/index") }}">Library Reference</a><br/>
  38. {% if port == "pyboard" %}
  39. <span class="linkdescr">MicroPython libraries, including the <a href="{{ pathto("library/pyb") }}">pyb module</a></span>
  40. {% else %}
  41. <span class="linkdescr">MicroPython libraries, including the <a href="{{ pathto("library/machine") }}">machine module</a></span>
  42. {% endif %}
  43. </p>
  44. <p class="biglink">
  45. <a class="biglink" href="{{ pathto("genrst/index") }}">MicroPython Differences</a><br/>
  46. <span class="linkdescr">MicroPython operations which differ from CPython</span>
  47. </p>
  48. </td>
  49. <td width="40%" style="padding-left:2em;">
  50. <p class="biglink">
  51. <a class="biglink" href="{{ pathto("reference/index") }}">Language Reference</a><br/>
  52. <span class="linkdescr">information about MicroPython specific language features</span>
  53. </p>
  54. <p class="biglink">
  55. <a class="biglink" href="{{ pathto("license") }}">License</a><br/>
  56. <span class="linkdescr">MicroPython license information</span>
  57. </p>
  58. </td>
  59. </tr></table>
  60. <p><strong>Indices and tables:</strong></p>
  61. <table class="contentstable"><tr>
  62. <td width="40%" style="padding-left:2em;">
  63. <p class="biglink">
  64. <a class="biglink" href="{{ pathto("py-modindex") }}">Module index</a><br/>
  65. <span class="linkdescr">quick access to all modules</span>
  66. </p>
  67. <p class="biglink">
  68. <a class="biglink" href="{{ pathto("genindex") }}">Full index</a><br/>
  69. <span class="linkdescr">all functions, classes, constants</span>
  70. </p>
  71. </td>
  72. <td width="40%" style="padding-left:2em;">
  73. <p class="biglink">
  74. <a class="biglink" href="{{ pathto("reference/glossary") }}">Glossary</a><br/>
  75. <span class="linkdescr">MicroPython terms explained</span>
  76. </p>
  77. <p class="biglink">
  78. <a class="biglink" href="{{ pathto(port + "_index") }}">Table of contents</a><br/>
  79. <span class="linkdescr">a list of all sections and subsections</span>
  80. </p>
  81. </td></tr>
  82. </table>
  83. <p><strong>External links:</strong></p>
  84. <table class="contentstable"><tr>
  85. <td width="40%" style="padding-left:2em;">
  86. <p class="biglink">
  87. <a class="biglink" href="http://micropython.org">MicroPython homepage</a><br/>
  88. <span class="linkdescr">the official MicroPython site</span>
  89. </p>
  90. <p class="biglink">
  91. <a class="biglink" href="http://forum.micropython.org">MicroPython forum</a><br/>
  92. <span class="linkdescr">community discussion for all things related to MicroPython</span>
  93. </p>
  94. </td>
  95. <td width="40%" style="padding-left:2em;">
  96. <p class="biglink">
  97. <a class="biglink" href="https://github.com/micropython">MicroPython on GitHub</a><br/>
  98. <span class="linkdescr">contribute to the source code on GitHub</span>
  99. </p>
  100. </td>
  101. </tr></table>
  102. {% endblock %}