Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Expand versioning process in readme #698

Merged
merged 2 commits into from
Feb 23, 2022

Conversation

farshidtz
Copy link
Member

Closes #680

Signed-off-by: Farshid Tavakolizadeh farshid.tavakolizadeh@canonical.com

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-docs/blob/main/.github/Contributing.md

PR Checklist

Please check if your PR fulfills the following requirements:

  • Changes have been rendered and validated locally using mkdocs-material (see edgex-docs README)
    X Not relevant

Signed-off-by: Farshid Tavakolizadeh <farshid.tavakolizadeh@canonical.com>
README.md Outdated
- `docs/CNAME` - DNS record which tells Github Pages to serve the content at https://docs.edgexfoundry.org instead of https://edgexfoundry.github.io/edgex-docs
- `docs/index.html` - site index page that redirects from `/` to `/{latest-release}`
- `docs/versions.json` - version info to populate the site version drop-down menu
- `versions.json` - identical to `docs/versions.json`. Unknown purpose!
Copy link
Member Author

@farshidtz farshidtz Feb 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ernestojeda is the last file used by the Jenkins pipeline? If not, we can remove it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jenkins does not use any of the files specifically that I know of. It just calls mkdocs and copies the generated files in the docs folder into the gh-pages branch.

Copy link
Member Author

@farshidtz farshidtz Feb 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay. Since this is the case, I went ahead and removed that extra versions.json file.

@ernestojeda ernestojeda self-requested a review February 23, 2022 02:57
ernestojeda
ernestojeda previously approved these changes Feb 23, 2022
The reference version file is at docs/versions.json

Signed-off-by: Farshid Tavakolizadeh <farshid.tavakolizadeh@canonical.com>
Copy link
Member

@lenny-goodell lenny-goodell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lenny-goodell lenny-goodell merged commit 5368002 into edgexfoundry:main Feb 23, 2022
edgex-jenkins added a commit that referenced this pull request Feb 23, 2022
Signed-off-by: edgex-jenkins <collab-it+edgex@linuxfoundation.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Redundant version files in branches override the production versions
3 participants