Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit98fb0bf

Browse files
dhylandsdpgeorge
authored andcommitted
docs: Move instructions on generating the documentation to docs/README.md
1 parent040f6f6 commit98fb0bf

File tree

2 files changed

+32
-14
lines changed

2 files changed

+32
-14
lines changed

‎README.md‎

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -151,19 +151,9 @@ correct permissions. Try then:
151151

152152
$ sudo dfu-util -a 0 -d 0483:df11 -D build-PYBV10/firmware.dfu
153153

154-
Building the documentation locally
155-
----------------------------------
154+
Documentation
155+
-------------
156156

157-
Install Sphinx, and optionally (for theRTD-styling), sphinx_rtd_theme,
158-
preferably in a virtualenv:
157+
You can find information about thedocumentation in the
158+
[docs/README.md](https://github.com/micropython/micropython/blob/master/docs/README.md) file.
159159

160-
pip install sphinx
161-
pip install sphinx_rtd_theme
162-
163-
In`micropython/docs`, build the docs:
164-
165-
make MICROPY_PORT=<port_name> BUILDDIR=build/<port_name> html
166-
167-
Where`<port_name>` can be`unix`,`pyboard`,`wipy` or`esp8266`.
168-
169-
You'll find the index page at`micropython/docs/<port_name>/build/html/index.html`.

‎docs/README.md‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
MicroPython Documentation
2+
=========================
3+
4+
The MicroPython documentation can be found at:
5+
http://docs.micropython.org/en/latest/
6+
7+
The documentation you see there is generated from the files in the docs tree:
8+
https://github.com/micropython/micropython/tree/master/docs
9+
10+
Building the documentation locally
11+
----------------------------------
12+
13+
If you're making changes to the documentation, you may want to build the
14+
documentation locally so that you can preview your changes.
15+
16+
Install Sphinx, and optionally (for the RTD-styling), sphinx_rtd_theme,
17+
preferably in a virtualenv:
18+
19+
pip install sphinx
20+
pip install sphinx_rtd_theme
21+
22+
In`micropython/docs`, build the docs:
23+
24+
make MICROPY_PORT=<port_name> BUILDDIR=build/<port_name> html
25+
26+
Where`<port_name>` can be`unix`,`pyboard`,`wipy` or`esp8266`.
27+
28+
You'll find the index page at`micropython/docs/build/<port_name>/html/index.html`.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp