diff --git a/source/_static/switcher.json b/source/_static/switcher.json index 78a0727d..b68f4604 100644 --- a/source/_static/switcher.json +++ b/source/_static/switcher.json @@ -1,4 +1,9 @@ [ + { + "name": "dev (unstable)", + "version": "dev", + "url": "https://docs.foundries.io/dev" + }, { "name": "v96 (stable)", "version": "96", diff --git a/source/conf.py b/source/conf.py index 2dc27f82..157a80a2 100644 --- a/source/conf.py +++ b/source/conf.py @@ -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: @@ -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.) @@ -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 -------------------------------------------------------- @@ -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', diff --git a/source/user-guide/lmp-customization/linux-building.rst b/source/user-guide/lmp-customization/linux-building.rst index b270d8c4..45b82634 100644 --- a/source/user-guide/lmp-customization/linux-building.rst +++ b/source/user-guide/lmp-customization/linux-building.rst @@ -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:: @@ -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::