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

[1.x] [Doc] Add versioned doc support and lychee link checker #1042

Merged
merged 4 commits into from
Jan 4, 2022

Conversation

zuochengding
Copy link
Contributor

Description

Back port PRs:
Versioned Doc Support:
#905
Add Lychee Link Checker and fix found link issues:
#938
Use stable lychee version
#1011
Fix recent yarnpkg link error
#1037

Issues Resolved

Check List

  • New functionality includes testing.
    • All tests pass
      • yarn test:jest
      • yarn test:jest_integration
      • yarn test:ftr
  • New functionality has been documented.
  • Commits are signed per the DCO using --signoff

This is PR is to add versioned document support in OSD.
1. Add logic to pick up doc version from package.json and convert it to `latest` if we are on default `main` branch.
2. Refactor doc_link_service to have 3 urls groups: opensearch, opensearchDashboards, and noDocumentation.
3. Update dynamic versioned doc links and clean up unused urls
4. Fix known url bug  opensearch-project#769
5. Add unit tests for doclinks branch name conversion

Signed-off-by: Zuocheng Ding <zding817@gmail.com>
1. Fix broken links in OSD
2. Generate lycheeexcude list to filter out false negative warnings from test files or external links
3. Add TODO items for internal unavaiable links
4. Integrate with doc link service change.
5. Standardize all opensearch url with `https://opensearch.org/` and add unavilable urls into noDocument list

Signed-off-by: Zuocheng Ding <zding817@gmail.com>
Signed-off-by: Zuocheng Ding <zding817@gmail.com>
Issue: https://yarnpkg.com/latest.msi is unavailable now and will be rerouted to a 404 page.
Add it to link checker allow list to unblock the PR process.

Signed-off-by: Zuocheng Ding <zding817@gmail.com>
@zuochengding
Copy link
Contributor Author

Screen Shot 2021-12-23 at 1 53 03 PM

@tmarkley tmarkley requested a review from a team December 28, 2021 18:43
Copy link
Member

@kavilla kavilla left a comment

Choose a reason for hiding this comment

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

LGTM.

NIT: Do you think we want to clean the commits? If one commit was inaccurate then I think there is merit in cleaning the history to have every commit workable. But there is also merit in keeping history aligned.

@zuochengding zuochengding merged commit 39fa939 into opensearch-project:1.x Jan 4, 2022
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this pull request Feb 10, 2022
)

Adds the datum, when possible, to the TooltipValue object.
Currently available for cartesian, gauge/goal, heatmap.
Disabled for partition charts as we cannot represent a single datum for a partition chart
due to its aggregated and nested nature.

fix opensearch-project#1042
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this pull request Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants