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

Use admonitions in several pages #1595

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from

Conversation

bjohansebas
Copy link
Member

There were several places where the use of admonitions is still not applied; this greatly improves the guidance in the documentation.

@bjohansebas bjohansebas requested a review from a team September 5, 2024 00:44
Copy link

netlify bot commented Sep 5, 2024

Deploy Preview for expressjscom-preview ready!

Name Link
🔨 Latest commit 9163c8c
🔍 Latest deploy log https://app.netlify.com/sites/expressjscom-preview/deploys/66d8fee7df293c0008f0efae
😎 Deploy Preview https://deploy-preview-1595--expressjscom-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 configuration.

@carlosstenzel
Copy link
Contributor

The action (check-translation) is failing due to your repository permission not allowing writing, as discussed in other PRs

@carlosstenzel
Copy link
Contributor

Add manually to test if the action works

'{"labels":["requires-translation-es","requires-translation-fr","requires-translation-it","requires-translation-ja","requires-translation-ko","requires-translation-pt-br","requires-translation-ru","requires-translation-sk","requires-translation-zh-cn","requires-translation-zh-tw"]}',

@bjohansebas bjohansebas changed the base branch from gh-pages to perf-updates September 7, 2024 16:00
@bjohansebas bjohansebas changed the base branch from perf-updates to gh-pages September 7, 2024 16:01
@bjohansebas
Copy link
Member Author

bjohansebas commented Sep 7, 2024

The action (check-translation) is failing due to your repository permission not allowing writing, as discussed in other PRs

The permissions of my repository don't affect anything in the PRs; the rules in this repository do. That's why in this PR (#1588) it works fine, because @crandmck was the one who opened it.

@@ -3,7 +3,7 @@
This is a built-in middleware function in Express.
It serves static files and is based on [serve-static](/resources/middleware/serve-static.html).

<div class="doc-box doc-info" markdown="1">NOTE: For best results, [use a reverse proxy](/{{page.lang}}/advanced/best-practice-performance.html#use-a-reverse-proxy) cache to improve performance of serving static assets.
<div class="doc-box doc-info" markdown="1">For best results, [use a reverse proxy](/{{page.lang}}/advanced/best-practice-performance.html#use-a-reverse-proxy) cache to improve performance of serving static assets.
Copy link
Member

Choose a reason for hiding this comment

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

Why aren't we using the admonition template here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Because at the time of Jekyll transforming the link it was giving me problems, I have the solution but I don't entirely like it.

@@ -48,7 +48,7 @@ app.use(express.static('files'))

Express looks up the files in the order in which you set the static directories with the `express.static` middleware function.

<div class="doc-box doc-info" markdown="1">NOTE: For best results, [use a reverse proxy](/{{page.lang}}/advanced/best-practice-performance.html#use-a-reverse-proxy) cache to improve performance of serving static assets.
<div class="doc-box doc-info" markdown="1">For best results, [use a reverse proxy](/{{page.lang}}/advanced/best-practice-performance.html#use-a-reverse-proxy) cache to improve performance of serving static assets.
Copy link
Member

Choose a reason for hiding this comment

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

Why aren't we using the admonition template here?

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.

3 participants