-
Notifications
You must be signed in to change notification settings - Fork 27
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
[WIP] enable Sentinel tutorials without requiring them #2569
Open
zchsh
wants to merge
17
commits into
main
Choose a base branch
from
zs.add-sentinel-tutorials
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
📦 Next.js Bundle AnalysisThis analysis was generated by the next.js bundle analysis action 🤖 This PR introduced no changes to the javascript bundle 🙌 |
zchsh
changed the title
work on sentinel tutorial setup
fix sentinel tutorials consumption issues
Sep 11, 2024
zchsh
changed the title
fix sentinel tutorials consumption issues
[WIP] enable Sentinel tutorials without requiring them
Sep 13, 2024
Rationale for reverting th basePaths change: we only ever use product data basePaths for redirects from the previous dot-io sites. This property should likely be renamed, or perhaps removed entirely, as redirects could probably be written in a more static way now that we've completed our migration to Dev Dot. Rationale for reverting the rootDocsPath change: up until the point we fully remove intro content, including the page files, we need to maintain this data, otherwise the build will fail. Recommendation is to remove intro content in a separate PR.
Holding until Sentinel tutorials are published
zchsh
force-pushed
the
zs.add-sentinel-tutorials
branch
from
September 13, 2024 17:14
ff3658f
to
e98c2cc
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Note
This PR is based on dev-portal#2508 - Create sentinel tutorials section from intro docs
🗒️ What
This PR fixes a few small issues discovered when trying to run the Tutorials content workflows locally.
🛠️ How
IconTile
, adds support forsentinel
andhcp
"brand colors"PRODUCT_ICON_MAP
for card badges to includesentinel
as an optionH
logofetchAllCollectionsByProduct
to split out setting oftheme
theme
andproduct.slug
can be the same value. For Sentinel, this errors.theme
to a separate argument, and makes it optional, so that Sentinel can render without error.collection-view
server to render Sentinel collectionstheme
andproduct.slug
.sentinel
theme, so this would result in zero collection pages. This PR updates to add a conditional similar to the one used for HCP content to render all Sentinel collections.🧪 Testing
To fully test these changes, run the full end-to-end content workflows for Tutorials locally. A more detailed guide: 2024-09-11 - tutorials local setup