From patchwork Mon Mar 21 17:44:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 125 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 71529C433FE for ; Mon, 21 Mar 2022 17:45:00 +0000 (UTC) Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by mx.groups.io with SMTP id smtpd.web09.379.1647884698858427725 for ; Mon, 21 Mar 2022 10:44:59 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=aWilC5st; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.41, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f41.google.com with SMTP id o30-20020a05600c511e00b0038c9cfb79cbso127524wms.1 for ; Mon, 21 Mar 2022 10:44:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=3FgxbRnnEPGA+Mmcc8cWASWGdC7nXVWtwyk/Py0CR+I=; b=aWilC5stM+vVUT59vJecCDy2rI4XsItxmWP9k/sicuwPUW+0HWz7ghWBHQdXvQWIua oNaeyNNTX4XdAx0IhpF5jvm1aGlO4PVa+YHtsLFUWtq7Z3loaD2T1gcrH9gATzKrv9aX lBzNRTIOeqLBWlx/tMMyPe3EvYdKAuI6Aq4ic= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=3FgxbRnnEPGA+Mmcc8cWASWGdC7nXVWtwyk/Py0CR+I=; b=eivCWQxgOF8wgKIBfDTDyNOSJ9C8dQXSPhgbAK7DH5eu04cI87Jhn/vwFKC2hkRLV8 j9kI2nfL9jWcsNtxv1B3RriGbbcYIb2cR/2zC2w68gSfW9XvUYRqoNp/ZSmCMhLUYhYj MgekAZ+JKdBGdMelbTOw0GTCE/1Q/M3TqWXuMFzcLbkXMUPBxGycD5V2A/bxbWTKerTW MdxL/CiAq9ULE3dsRpMveYefYz2gMr6dwFhWyny/M5DvXMWWco/kMXqRYdqNjOxHTZtv M5Vug0c0oELz4klsxXBG9AqmOcKb947lhJTFE+IX81MOU01YxQqTdDL9pUvZP5ucs5Ed vRjQ== X-Gm-Message-State: AOAM530iUsVELjDKJBQ1L52XY2nBLZJfwstpvb0epgyigXQ4EbMN3mWW S8gNt8d66znGPnJxsgoWCpXxj+/HEdud13VY X-Google-Smtp-Source: ABdhPJxPifAbAfTOHZtNYleqbFDit1I+ai88zNNmCuY+r9xpDmXK4um3S66fqTJnbd34I/rj+CnuzA== X-Received: by 2002:a05:600c:1913:b0:389:f643:28a5 with SMTP id j19-20020a05600c191300b00389f64328a5mr202530wmq.182.1647884696919; Mon, 21 Mar 2022 10:44:56 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:7422:13d5:6a39:d39]) by smtp.gmail.com with ESMTPSA id n22-20020a05600c4f9600b0038c6ec42c38sm151849wmq.6.2022.03.21.10.44.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 10:44:56 -0700 (PDT) From: Richard Purdie To: docs@lists.yoctoproject.org Subject: [PATCH 0/5 v2] Proposed docs version changes Date: Mon, 21 Mar 2022 17:44:50 +0000 Message-Id: <20220321174455.1189669-1-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 21 Mar 2022 17:45:00 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/2663 I've tweaked my patchset with some review feedback from Quentin. The v2: * uses yaml to load the variables in conf.py * fixes a bitbake_mapping[i] -> branch * fixes a comment typo in set_versions.py * comments the bitbake langdale version mapping Richard Purdie (5): Makefile/set_versions: Allow poky.yaml to be autogenerated conf.py/set_versions/poky.yaml: Set version in conf.py from poky.yaml set_versions: Add support for setting POKYVERSION found in older releases set_versions/switchers.js: Allow switchers.js version information to be autogenerated set_versions: Various improvements documentation/.gitignore | 2 + documentation/Makefile | 1 + documentation/conf.py | 22 +- documentation/{poky.yaml => poky.yaml.in} | 2 + documentation/set_versions.py | 225 ++++++++++++++++++ .../{switchers.js => switchers.js.in} | 8 +- 6 files changed, 251 insertions(+), 9 deletions(-) rename documentation/{poky.yaml => poky.yaml.in} (98%) create mode 100755 documentation/set_versions.py rename documentation/sphinx-static/{switchers.js => switchers.js.in} (97%)