Skip to content

Manually mantained page history #2488

@cvvergara

Description

@cvvergara

Currently each .rst file has:

* **Supported versions:**
  `Latest <https://docs.pgrouting.org/latest/en/aStar-family.html>`__
  (`3.5 <https://docs.pgrouting.org/3.5/en/aStar-family.html>`__)
  `3.4 <https://docs.pgrouting.org/3.4/en/aStar-family.html>`__
  `3.3 <https://docs.pgrouting.org/3.3/en/aStar-family.html>`__
  `3.2 <https://docs.pgrouting.org/3.2/en/aStar-family.html>`__
  `3.1 <https://docs.pgrouting.org/3.1/en/aStar-family.html>`__
  `3.0 <https://docs.pgrouting.org/3.0/en/aStar-family.html>`__
* **Unsupported versions:**
  `2.6 <https://docs.pgrouting.org/2.6/en/aStar-family.html>`__
  `2.5 <https://docs.pgrouting.org/2.5/en/aStar-family.html>`__
  `2.4 <https://docs.pgrouting.org/2.4/en/aStar-family.html>`__

Which gets complicated to maintain when pumping up versions.

  • Improve by creating a function that generates the necessary code for the history of the pages
  • main branch does not have the latest, so the website.yml should push on "main" directory

After this is merged:

  • port changes to develop branch

note: Not changing documentation of older versions: aka 3.4 & under
For the future....
For the website to look consistent,

  • manually remove the existing menu
  • manually add the function call to older versions

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions