Julia's documentation is written in Markdown. A reference of all supported syntax can be found in the manual. All documentation can be found in the Markdown files in doc/src/
and the docstrings in Julia source files in base/
and stdlib/
.
This documentation is built using the Documenter.jl package.
All dependencies are automatically installed into a sandboxed package directory in doc/deps/
to avoid interfering with user-installed packages.
To build Julia's documentation run
$ make docs
from the root directory. This will build the HTML documentation and output it to the doc/_build/
folder.
To run the doctests found in the manual run
$ make -C doc doctest=true
from the root directory.
By default, doctests are run using the in-tree Julia executable.
This behavior can be changed by setting the JULIA_EXECUTABLE
Makefile variable.
[!WARNING] Using a custom
JULIA_EXECUTABLE
will not pick up changes to docstrings for Base or any standard library built into the system image. To see the list of standard libraries that are part of the system image, you can run thecontrib/print_sorted_stdlibs.jl
script (e.g.,julia contrib/print_sorted_stdlibs.jl --only-sysimg
).
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。