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

Add v5.2.0 docs #36769

Merged
merged 1 commit into from
Jul 19, 2022
Merged

Add v5.2.0 docs #36769

merged 1 commit into from
Jul 19, 2022

Conversation

XhmikosR
Copy link
Member

@XhmikosR XhmikosR commented Jul 19, 2022

TODO:

@twbs twbs locked and limited conversation to collaborators Jul 19, 2022
const markup = `<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@5.2.0-beta1\/dist\/css\/bootstrap.min.css" rel="stylesheet">
<link href="https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@5.2.0\/dist\/css\/bootstrap.min.css" rel="stylesheet">
<link href="https://getbootstrap.com/docs/5.2/assets/css/docs.css" rel="stylesheet">
Copy link
Member Author

Choose a reason for hiding this comment

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

@julien-deramond why is this here? Doesn't look good practice to load our docs CSS elsewhere and it should not be needed.

Copy link
Member

@julien-deramond julien-deramond Jul 19, 2022

Choose a reason for hiding this comment

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

More info in #36637. Without it, lot of examples don't work in StackBlitz. We should try to improve those examples without having to use extra CSS, and so this docs.css, and so this line would disappear.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, the docs.css should definitely not be included in StackBlitz. It's dangerous and a bad practice. We should revert it before the v5.2.0 release.

Copy link
Member

Choose a reason for hiding this comment

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

Bad practice, temporarily yeah. Dangerous, not sure why. IMO it is better for the end user to have examples that work. But if you're strongly against it I understand, your call.

@XhmikosR XhmikosR marked this pull request as ready for review July 19, 2022 15:48
@XhmikosR XhmikosR merged commit 5672349 into gh-pages Jul 19, 2022
@XhmikosR XhmikosR deleted the gh-pages-520 branch July 19, 2022 15:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants