Source for the istio.io site
This repository contains the source code for istio.io and preliminary.istio.io.
Please see the main Istio README file to learn about the overall Istio project and how to get in touch with us. To learn how you can contribute to any of the Istio components, please see the Istio contribution guidelines.
To learn how to edit and build this repo's content, please refer to Creating and Editing Pages.
Istio maintains two variations of its public site.
istio.io is the main site, showing documentation for the current release of the product. istio.io/archive contains snapshots of the documentation for previous releases of the product. This is useful for customers still using these older releases.
preliminary.istio.io contains the actively updated documentation for the next release of the product.
The user can trivially navigate between the different variations of the site using the gear menu in the top right of each page. Both sites are hosted on Netlify.
Documentation changes are primarily committed to the master branch of istio.io. Changes committed to this branch are automatically reflected on preliminary.istio.io.
The content of istio.io is taken from the latest release-XXX branch. The specific branch that is used is determined by the istio.io Netlify project's configuration.
Checking in updates to the master branch will automatically update preliminary.istio.io, and will only be reflected on
istio.io the next time a release is created, which can be several weeks in the future. If you'd like some changes to be
immediately reflected on istio.io, you need to check your changes both to the master branch and to the
current release branch (named release-<MAJOR>.<MINOR> such as release-1.7).
This process can be taken care of automatically by our infrastructure. If you submit a PR
to the master branch and annotate the PR with the cherrypick/release-<MAJOR>.<MINOR> label,
then as soon as your PR is merged into master, it will be merged into the specified release branch.
Here are the steps necessary to create a new documentation version. Let's assume the current version of Istio is 1.6 and you wish to introduce 1.7 which has been under development.
Run make prepare-1.7.0, and that's it. This will grab the latest reference docs from the new istio source branch into the content/en/docs/reference folder.
The script scripts/create_minor_version.sh is used to automate the branch cutting process of the istio.io documentation. The script will:
archive/v1.25)release-1.26)1.27)This script replaces the old process where an admin needed to run to commit directly to branches. The runner of this script must have enough permissions to create a release branch, but this should be doable for anyone on the docs team and parallels the process of branch cutting done by the release managers for minor versions in the other repositories.
This script requires:
gh) to be installed and authenticated. Please note that due to a limitation in the gh tool's PR creation ability, the forked
repository must be created by a user and not an organization. See this issue for more details.sed by linked to that version of the utility.The script takes a single argument, the new minor version. For example, if the new minor version is 1.26, run
./scripts/create_minor_version.sh 1.26. The script requires the FORKED_GIT_SOURCE environment variable to be set to the source of the forked repo. This is used
to do the work and to create PRs from
Do a dry run before the official release to ensure everything is working as expected. This is done by specifying DRY_RUN=1 in the command line. For example:
DRY_RUN=1 FORKED_GIT_SOURCE=git@github.com:dhawton/istio-istio.io ./scripts/create_minor_version.sh 1.26. This will do all
good first issue 또는 help wanted 이슈가 없습니다.
So you want to hack on Istio? Yay! Please refer to Istio's overall contribution guidelines to find out how you can help.
If you are translating or editing any localized content, follow the translation conventions for that locale:
I18N-AGENTS-LOCALE.md (for example, I18N-AGENTS-ES.md)