question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

‘formatUpdated’ didn't work when deployed

See original GitHub issue

Bug Report

When deploying docs via netlify, it is found that when using formatUpdated, {docsify-updated} is not rendered as expected. Local testing does not have this problem.

Steps to reproduce

add formatUpdated to the windows.$docsify

window.$docsify = {
  coverpage: false,
  loadSidebar: false,
  loadNavbar: false,
  formatUpdated: "{MM}/{DD} {HH}:{mm}"
};

add {docsify-updated} to README.md file

# Home

This is Home Page.

> Last Modified {docsify-updated}

What is current behaviour

{docsify-updated} is rendered as expected

What is the expected behaviour

{docsify-updated} is not rendered as expected

Other relevant information

  • Bug does still occur when all/other plugins are disabled?

  • Your OS: Windows10

  • Node.js version: v12.16.1

  • npm/yarn version: 6.13.4

  • Browser version: Chrome(102.0.5005.63)

  • Docsify version: 4.4.4

  • Docsify plugins: None

Please create a reproducible sandbox

Edit 307qqv236

Mention the docsify version in which this bug was not present (if any)

Local test or manual deployment on vps.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
sy-recordscommented, Jun 5, 2022

Your md file does not have a last-modified header

0reactions
sy-recordscommented, Jun 19, 2022

I’m not sure about netlify and CodeSandbox, but if you’re using GItHub Pages, take a look at https://github.com/docsifyjs/docsify/issues/1157#issuecomment-890467244

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows 10 deployments fail with Microsoft Deployment ...
Open the Deployment Workbench, select the Deployment Share and choose the Update Deployment Share option, choosing to completely regenerate ...
Read more >
Helm doesn't updated resource though Chart's template ...
Client version "v2.1.3". I'm using customized nginx-lego chart from a folder. First I installed it as it is, then adde arguments here:
Read more >
Jekyll Deployment on Github Pages doesn't format correctly ...
Judging from the source code of your site, I have noticed some issues: Many of your references to HTML, CSS, and JavaScript files...
Read more >
Check your Helm deployments! - Polar Squad
The output shows that the chart was “deployed”, but the updated Pod wasn't launched successfully. We can verify that the deployment didn't ......
Read more >
Environments and deployments - GitLab Docs
If you want to use the environment URL in GitLab, you would have to update it manually. To address this problem, you can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found