Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

feat: add versioning to docs #167

Merged
merged 2 commits into from
Feb 5, 2021
Merged

Conversation

reginapizza
Copy link
Contributor

This PR would add versioning capability through READTHEDOCS service. URLs should already be working for bringing it into https://readthedocs.org/projects/argocd-notifications/.

version-select1
version-select2

@CLAassistant
Copy link

CLAassistant commented Feb 3, 2021

CLA assistant check
All committers have signed the CLA.

@codecov
Copy link

codecov bot commented Feb 3, 2021

Codecov Report

Merging #167 (405812e) into master (3ca332d) will decrease coverage by 0.34%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #167      +/-   ##
==========================================
- Coverage   51.84%   51.50%   -0.35%     
==========================================
  Files          31       31              
  Lines        1435     1427       -8     
==========================================
- Hits          744      735       -9     
  Misses        556      556              
- Partials      135      136       +1     
Impacted Files Coverage Δ
shared/settings/settings.go 51.16% <0.00%> (-5.23%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3ca332d...405812e. Read the comment docs.


// VERSION WARNINGS
window.addEventListener("DOMContentLoaded", function() {
if ((window['READTHEDOCS_DATA']).version !== "latest") {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same as argoproj/argo-cd#5099 (comment) . Please change latest to default.

Copy link
Collaborator

@alexmt alexmt left a comment

Choose a reason for hiding this comment

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

LGTM

@alexmt alexmt merged commit d7887f4 into argoproj-labs:master Feb 5, 2021
alexmt pushed a commit that referenced this pull request Feb 5, 2021
* feat: add versioning to docs

* default versioning logic for warning banner from latest to stable
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants