Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 2

sphinx:
configuration: docs/conf.py

build:
os: ubuntu-22.04
tools:
python: "3.11"

python:
install:
- requirements: docs/requirements.txt
- method: pip
path: .
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# sys.path.insert(0, os.path.abspath('.'))

import sphinx_rtd_theme
import importlib.metadata


# -- Project information -----------------------------------------------------
Expand All @@ -24,7 +25,7 @@
author = "Benjamin Fogle"

# The full version, including alpha/beta/rc tags
release = "0.7"
release = importlib.metadata.distribution("crossenv").version


# -- General configuration ---------------------------------------------------
Expand All @@ -49,9 +50,8 @@
# a list of builtin themes.
#
html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]
html_static_path = []
14 changes: 11 additions & 3 deletions docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
Cross compiling can be challenging, and crossenv is focused only on one
particular piece. As such, this section is not a complete guide.

.. seealso:: For CI purposes the crossenv project builds several docker images
that contain appropriately configured build and host pythons for
cross compilation. You may find these to be a useful starting
point.

https://github.com/robotpy/crossenv-ci-images

Build build-python
------------------

Expand Down Expand Up @@ -31,9 +38,10 @@ builds may require more. It depends very much on your specific requirements.)
Build or obtain host-python
---------------------------

In this quick start we assume you are building host-python yourself. In other
cases you may be targeting a pre-built system image. A pre-built image has it's
own challenges, which are covered elsewhere.
In this quick start we assume you are building host-python yourself. It is not
a requirement to use the actual python that is on the target host -- and in fact
we don't recommend it! The primary requirement is that the version must match the
version of build-python.

You will need to build any host dependencies beforehand. So, for example, if
you want host-python to be able to communicate over a network, you may need to
Expand Down
4 changes: 2 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Sphinx==2.4.3
sphinx_rtd_theme
sphinx >= 3.0
sphinx-rtd-theme