Giter Club home page Giter Club logo

Comments (10)

micka-fdz avatar micka-fdz commented on August 27, 2024

Warning: You are browsing the documentation for PrestaShop 1.7, which is outdated.
You might want to read an [updated version of this page] for the current version, PrestaShop 8.

Maybe we can do like on "updated version of this page" link.

from docs.

kpodemski avatar kpodemski commented on August 27, 2024

cc @thomasnares

it would be an interesting improvement 👍🏻

from docs.

thomasnares avatar thomasnares commented on August 27, 2024

👍 yes, will think about it, it should be possible

from docs.

micka-fdz avatar micka-fdz commented on August 27, 2024

Thanks @thomasnares, keep in touch 👍

from docs.

thomasnares avatar thomasnares commented on August 27, 2024

Fixed by PrestaShop/ps-docs-theme#28, thanks @micka-fdz

from docs.

thomasnares avatar thomasnares commented on August 27, 2024

A small but interesting improvement we could do :

In the case of non existant page on other version,
loop through parents of current url, until we find a matching path:

Targeting 8.x doc, if we are on 1.7.x doc, and on page:

/1.7/modules/core-updates/1.7.8/

-> page /8/modules/core-updates/1.7.8/ does not exist
-> page /8/modules/core-updates/ does exist -> link to this page instead of /8/

What do you think about it?

from docs.

kpodemski avatar kpodemski commented on August 27, 2024

@thomasnares sounds good

from docs.

micka-fdz avatar micka-fdz commented on August 27, 2024

@thomasnares sounds good to me too 👍

from docs.

kpodemski avatar kpodemski commented on August 27, 2024

we will stay with the current solution for the moment :)

from docs.

thomasnares avatar thomasnares commented on August 27, 2024

Found a solution during my sleep :)

from docs.

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.