File tree Expand file tree Collapse file tree 4 files changed +31
-8
lines changed Expand file tree Collapse file tree 4 files changed +31
-8
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+
3+ sphinx :
4+ configuration : docs/conf.py
5+
6+ build :
7+ os : ubuntu-22.04
8+ tools :
9+ python : " 3.11"
10+
11+ python :
12+ install :
13+ - requirements : docs/requirements.txt
14+ - method : pip
15+ path : .
Original file line number Diff line number Diff line change 1515# sys.path.insert(0, os.path.abspath('.'))
1616
1717import sphinx_rtd_theme
18+ import importlib .metadata
1819
1920
2021# -- Project information -----------------------------------------------------
2425author = "Benjamin Fogle"
2526
2627# The full version, including alpha/beta/rc tags
27- release = "0.7"
28+ release = importlib . metadata . distribution ( "crossenv" ). version
2829
2930
3031# -- General configuration ---------------------------------------------------
4950# a list of builtin themes.
5051#
5152html_theme = "sphinx_rtd_theme"
52- html_theme_path = [sphinx_rtd_theme .get_html_theme_path ()]
5353
5454# Add any paths that contain custom static files (such as style sheets) here,
5555# relative to this directory. They are copied after the builtin static files,
5656# so a file named "default.css" will overwrite the builtin "default.css".
57- html_static_path = ["_static" ]
57+ html_static_path = []
Original file line number Diff line number Diff line change 44Cross compiling can be challenging, and crossenv is focused only on one
55particular piece. As such, this section is not a complete guide.
66
7+ .. seealso :: For CI purposes the crossenv project builds several docker images
8+ that contain appropriately configured build and host pythons for
9+ cross compilation. You may find these to be a useful starting
10+ point.
11+
12+ https://github.com/robotpy/crossenv-ci-images
13+
714Build build-python
815------------------
916
@@ -31,9 +38,10 @@ builds may require more. It depends very much on your specific requirements.)
3138Build or obtain host-python
3239---------------------------
3340
34- In this quick start we assume you are building host-python yourself. In other
35- cases you may be targeting a pre-built system image. A pre-built image has it's
36- own challenges, which are covered elsewhere.
41+ In this quick start we assume you are building host-python yourself. It is not
42+ a requirement to use the actual python that is on the target host -- and in fact
43+ we don't recommend it! The primary requirement is that the version must match the
44+ version of build-python.
3745
3846You will need to build any host dependencies beforehand. So, for example, if
3947you want host-python to be able to communicate over a network, you may need to
Original file line number Diff line number Diff line change 1- Sphinx == 2.4.3
2- sphinx_rtd_theme
1+ sphinx >= 3.0
2+ sphinx-rtd-theme
You can’t perform that action at this time.
0 commit comments