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
5 changes: 5 additions & 0 deletions source/_static/switcher.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
[
{
"name": "dev (unstable)",
"version": "dev",
"url": "https://docs.foundries.io/dev"
},
{
"name": "v96 (stable)",
"version": "96",
Expand Down
17 changes: 3 additions & 14 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
search_version = 'default'

else:
if mp_tags== 'dev' or mp_tags == 'local-dev':
if mp_tags == 'dev' or mp_tags == 'local-dev':
search_version = 'dev'

else:
Expand Down Expand Up @@ -119,15 +119,6 @@
else:
docker_tag = mp_version

# Provide Git tags for the same information. (This can produce
# somewhat strange command lines for development builds, like cloning
# a repository and checking out master, but it works for subscriber
# updates.)
if mp_version.startswith('git-'):
git_tag = 'main'
else:
git_tag = 'mp-' + mp_version + mp_tags

# And likewise for repo and west manifests (which have a different tag
# namespace than the project tags, that happens to mostly match the
# docker tags.)
Expand Down Expand Up @@ -225,10 +216,9 @@
# Standard epilog to be included in all files.
rst_epilog = '''
.. |docker_tag| replace:: {}
.. |git_tag| replace:: {}
.. |manifest_tag| replace:: {}
.. |fioctl_version| replace:: {}
'''.format(docker_tag, git_tag, manifest_tag, fioctl_version)
'''.format(docker_tag, manifest_tag, fioctl_version)

# -- PDF Configuration --------------------------------------------------------

Expand All @@ -255,8 +245,7 @@
if mp_tags == 'local-dev':
json_url = '_static/local-dev-switcher.json'
if mp_tags == 'dev':
json_url = 'https://raw.githubusercontent.com/foundriesio/docs/refs/main/next/source/_static/switcher.json'

json_url = 'https://raw.githubusercontent.com/foundriesio/docs/refs/heads/next/source/_static/switcher.json'
# Pydata Theme options
html_theme_options = {
'pygments_light_style': 'default',
Expand Down
4 changes: 2 additions & 2 deletions source/user-guide/lmp-customization/linux-building.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Setup

$ mkdir -p ~/lmp/sstate-cache ~/lmp/downloads ~/lmp/build

#. Run |version| of the container as the ``builder`` user:
#. Run the container as the ``builder`` user:

.. parsed-literal::

Expand All @@ -117,7 +117,7 @@ The `Google Repo`_ tool fetches Git repos at known-good revisions, and keeps the

$ cd build/lmp

#. Fetch release |version| using :term:`Repo`:
#. Fetch release using :term:`Repo`:

.. parsed-literal::

Expand Down
Loading