Giter Club home page Giter Club logo

Comments (8)

AndreyChechel avatar AndreyChechel commented on August 25, 2024 1

Just to follow up, since v1.9 Retype builds and maintains a page dependency graph in retype watch mode. This data helps to identify what pages should be rebuilt once Retype has detected a change. This approach is what helps now to have the Previous | Next buttons and many other things always synced with the corresponding pages.

from retype.

slimooo avatar slimooo commented on August 25, 2024

It's really strange : https://www.loom.com/share/799de2a782fa458e80da695fb9e7b3d8

from retype.

geoffreymcgill avatar geoffreymcgill commented on August 25, 2024

Thank you for the bug report. We are investigating and I suspect I know what is going wrong. We'll try and figure out if there is a work-around, or maybe a patch release will be required. We're anticipating the release of v1.7.0 should be relatively quick, so maybe the fix can wait till then.

11.June.2021.-.Loom.Recording.mp4

from retype.

geoffreymcgill avatar geoffreymcgill commented on August 25, 2024

@slimooo Questions?

  1. Are you using Retype v1.6.0? You can check with the command retype --version
  2. Can you post the exact file and folder names you have configured for those pages?
  3. Is your project available in a public GitHub repo? Then we could test against the exact same project you are working with which would help ensure we fix the defect.

from retype.

slimooo avatar slimooo commented on August 25, 2024
  1. 1.6
  2. Sorry, I delete the project
  3. No sorry

from retype.

geoffreymcgill avatar geoffreymcgill commented on August 25, 2024

We believe this issue was caused by some lack of functionality in Retype where the Previous | Next buttons are only rebuilt on the newly revised page and navigation, but any associated pages remain untouched causing the Previous | Next buttons get out of sync.

This issue would likely only be a problem when running Retype locally with the built in server (retype watch).

The work-around is easy, and either of the following two options should work-around the problem:

  1. Stop the server with ctrl + c and restart with retype watch, or
  2. Run the command retype build

Either of those will rebuilt all the pages and sync up the Previous | Next buttons.

This issue will not occur on a live site if you are using the Retype GitHub Action as the Action will completely rebuild (retype build) the project before publishing to GitHub Pages.

If you are manually publishing your website, please run retype build before publishing.

We have a plan to automatically (re)build these associated pages with a new incremental page dependency graph process. The graph is a high priority feature for us and currently scheduled for Retype v1.9.0.

from retype.

geoffreymcgill avatar geoffreymcgill commented on August 25, 2024

Closing this issue, but we will post an update here once the dependency graph has been released.

from retype.

geoffreymcgill avatar geoffreymcgill commented on August 25, 2024

We have made a big update to how Retype handles accent characters, which might also help with the above issue. I still think running retype build or stop-start retype watch will fix the issue above, but the new accent char enhancements are related too.

The enhancements will be included in the upcoming release of Retype v1.7.0, which should happen early next week.

from retype.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.