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

fix(docs): remove extra break line in table shortcode #1758

Merged
merged 2 commits into from
Jan 6, 2023

Conversation

julien-deramond
Copy link
Member

@julien-deramond julien-deramond commented Jan 4, 2023

Note: Please transform - [ ] into - (NA) in the description when things are not applicable

Description

This PR fixes the rendering of the source code by removing an extra break line in the {{< table >}} shortcode.

Motivation & Context

This PR fixes what can be seen in https://boosted.orange.com/docs/5.2/content/tables/ where there's an extra break line at the beginning of the displayed source code in some cases:

Screenshot 2023-01-04 at 07 56 17

Types of change

  • Bug fix (non-breaking which fixes an issues)

Live previews

Please double-check that there's no regression by using {{< table >}} in all cases:

Checklist

Contribution

Accessibility

  • (NA) My change follows accessibility good practices; I have at least run axe

Design

  • (NA) My change respects the design guidelines defined in Orange Design System
  • (NA) My change is compatible with responsive display

Development

  • My change follows the developer guide
  • (NA) I have added JavaScript unit tests to cover my changes

Documentation

  • My change introduces changes to the documentation and/or I have updated the documentation accordingly

Checklist (for Core Team only)

  • (NA) My change introduces changes to the migration guide
  • (NA) My new component is added in Storybook
  • (NA) My new component is compatible with RTL
  • (NA) Manually run BrowserStack tests
  • (NA) Manually test browser compatibility with BrowserStack (Chrome >= 60, Firefox >= 60 (+ ESR), Edge, Safari >= 12, iOS Safari, Chrome & Firefox on Android)
  • (NA) Code review
  • (NA) Design review
  • (NA) A11y review

After the merge

@julien-deramond julien-deramond added v5 docs Improvements or additions to documentation fix labels Jan 4, 2023
@netlify
Copy link

netlify bot commented Jan 4, 2023

Deploy Preview for boosted ready!

Name Link
🔨 Latest commit b1dd460
🔍 Latest deploy log https://app.netlify.com/sites/boosted/deploys/63b80d4174a24000096826ff
😎 Deploy Preview https://deploy-preview-1758--boosted.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Member

@louismaximepiton louismaximepiton left a comment

Choose a reason for hiding this comment

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

Good catch ! LGTM 🚀

@sonarcloud
Copy link

sonarcloud bot commented Jan 6, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@julien-deramond julien-deramond merged commit e7848dd into main Jan 6, 2023
@julien-deramond julien-deramond deleted the main-jd-fix-table-shortcode branch January 6, 2023 12:02
@julien-deramond julien-deramond mentioned this pull request Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation fix v5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants