-
Notifications
You must be signed in to change notification settings - Fork 558
Refactor URLs in includes #9867
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,82 +1,58 @@ | ||
items: | ||
- label: OpenSearchCon | ||
children: | ||
- label: 2024 Europe | ||
url: /events/opensearchcon/2024/europe/index.html | ||
- label: 2024 North America | ||
url: /events/opensearchcon/2024/north-america/index.html | ||
# children: | ||
# - label: Speakers | ||
# url: /events/opensearchcon/2024/north-america/speakers/index.html | ||
# - label: Sessions | ||
# url: /events/opensearchcon/2024/north-america/sessions/index.html | ||
# - label: Exhibitors | ||
# url: /events/opensearchcon/2024/north-america/exhibitors/index.html | ||
# - label: Workshops | ||
# url: /events/opensearchcon/2024/north-america/workshops/index.html | ||
# - label: Unconference | ||
# url: /events/opensearchcon/2024/north-america/unconference/index.html | ||
- label: 2024 India | ||
url: /events/opensearchcon/2024/india/index.html | ||
- label: Archive | ||
children: | ||
- label: 2023 North America | ||
url: /events/opensearchcon/2023/north-america/index.html | ||
- label: 2022 North America | ||
url: /events/opensearchcon/2022/north-america/index.html | ||
- label: Download | ||
url: /downloads.html | ||
- label: About | ||
url: /about.html | ||
url: https://opensearch.org/about.html | ||
children: | ||
- label: Releases | ||
url: /releases.html | ||
url: https://opensearch.org/releases.html | ||
- label: Roadmap | ||
url: https://github.com/orgs/opensearch-project/projects/1 | ||
- label: FAQ | ||
url: /faq/ | ||
url: https://opensearch.org/faq/ | ||
- label: Platform | ||
url: https://opensearch.org/platform/index.html | ||
children: | ||
- label: Search | ||
url: https://opensearch.org/platform/search/index.html | ||
- label: Observability | ||
url: https://opensearch.org/platform/observability/index.html | ||
- label: Security Analytics | ||
url: https://opensearch.org/platform/security-analytics/index.html | ||
- label: Vector Database | ||
url: https://opensearch.org/platform/search/vector-database.html | ||
- label: Playground Demo | ||
url: https://playground.opensearch.org/ | ||
- label: Performance Benchmarks | ||
url: https://opensearch.org/benchmarks/ | ||
- label: Community | ||
url: https://opensearch.org/community/ | ||
children: | ||
- label: Blog | ||
url: /blog/ | ||
- label: Forum | ||
url: https://forum.opensearch.org/ | ||
- label: Slack | ||
url: /slack.html | ||
url: https://opensearch.org/slack.html | ||
- label: Events | ||
url: /events | ||
url: https://opensearch.org/events/ | ||
class_name: events-page-menu-link__device-based | ||
- label: Partners | ||
url: /partners/ | ||
- label: Solutions Providers | ||
url: https://opensearch.org/solutions-providers/ | ||
- label: Projects | ||
url: /community_projects/ | ||
url: https://opensearch.org/community_projects/ | ||
- label: Members | ||
url: /community/members/index.html | ||
url: https://opensearch.org/authors-list/ | ||
- label: Documentation | ||
url: /docs/latest/ | ||
url: https://docs.opensearch.org/docs/latest/ | ||
children: | ||
- label: OpenSearch and Dashboards | ||
url: /docs/latest/about/ | ||
url: https://docs.opensearch.org/docs/latest/about/ | ||
- label: Data Prepper | ||
url: /docs/latest/data-prepper/ | ||
url: https://docs.opensearch.org/docs/latest/data-prepper/ | ||
- label: Clients | ||
url: /docs/latest/clients/ | ||
url: https://docs.opensearch.org/docs/latest/clients/ | ||
- label: Benchmark | ||
url: /docs/latest/benchmark/ | ||
url: https://docs.opensearch.org/docs/latest/benchmark/ | ||
- label: Migration Assistant | ||
url: /docs/latest/migration-assistant/ | ||
- label: Platform | ||
url: /platform/index.html | ||
children: | ||
- label: Search | ||
url: /platform/search/index.html | ||
- label: Observability | ||
url: /platform/observability/index.html | ||
- label: Security Analytics | ||
url: /platform/security-analytics/index.html | ||
- label: Vector Database | ||
url: /platform/search/vector-database.html | ||
- label: Playground Demo | ||
url: https://playground.opensearch.org/ | ||
- label: Performance Benchmarks | ||
url: /benchmarks/ | ||
url: https://docs.opensearch.org/docs/latest/migration-assistant/ | ||
- label: Blog | ||
url: https://opensearch.org/blog/ | ||
- label: Download | ||
url: https://opensearch.org/downloads.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like we are replacing hardcode
/docs/latest
in version selector with{{site.baseurl}}
. But this doesn't change the path or routing from before.Are we plan to update the
baseurl
in the future so eventually the URL pattern would bedocs.opensearch.org/latest/...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we're just extracting the path into a variable so when we change the url, we can change only the variable in the _config.yml file (and whatever links are hardcoded in the yaml files).