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 code highlighting and linting errors #4657

Merged
merged 4 commits into from
Jun 19, 2023
Merged

Fix code highlighting and linting errors #4657

merged 4 commits into from
Jun 19, 2023

Conversation

muuki88
Copy link
Contributor

@muuki88 muuki88 commented Jun 19, 2023

@netlify
Copy link

netlify bot commented Jun 19, 2023

Deploy Preview for prebid-docs-preview ready!

Name Link
🔨 Latest commit 6a317c3
🔍 Latest deploy log https://app.netlify.com/sites/prebid-docs-preview/deploys/6490ae5859c3a300074bf4ee
😎 Deploy Preview https://deploy-preview-4657--prebid-docs-preview.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.

<script src="{{site.baseurl}}/assets/js/jquery.min.js"></script>
<script src="{{site.baseurl}}/assets/js/docs.min.js"></script>
<script src="{{site.baseurl}}/assets/js/easing.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
<script src="{{site.baseurl}}/assets/js/main.js"></script>
<script type="text/javascript" src="{{site.baseurl}}/assets/js/pbjs_home.js"></script>
<script type="text/javascript" src="/assets/js/video/pb-code-highlight.js"></script>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

A second code highlighting for no reason

@@ -34,13 +34,12 @@
<link href="{{site.baseurl}}/assets/images/apple-touch-icon.png" rel="apple-touch-icon">


<script src="{{site.baseurl}}/assets/js/prism.js"></script>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

should only be loaded once in the footer. This also speeds up rendering the page

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3" />
<link href="{{site.baseurl}}/assets/css/prism.css" rel="stylesheet" />
Copy link
Contributor Author

Choose a reason for hiding this comment

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

CSS was missing

@muuki88 muuki88 merged commit 2927a75 into master Jun 19, 2023
@muuki88 muuki88 deleted the markdownlint branch June 19, 2023 19:38
@muuki88
Copy link
Contributor Author

muuki88 commented Jun 20, 2023

Apparently this only fixed code highlighting in the preview deployment and locally.

The github pages html served is still missing the CSS and delivers the outdated JS.

ecdrsvc pushed a commit to ecdrsvc/prebid.github.io that referenced this pull request Sep 6, 2023
* fix examples markdown lint errors

* Fix partners.md

* Fix code hightlighting

* Fix some linting errors in prebid-mobile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant