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

Manually mantained page history #2488

Closed
5 tasks done
cvvergara opened this issue Mar 16, 2023 · 0 comments · Fixed by #2489
Closed
5 tasks done

Manually mantained page history #2488

cvvergara opened this issue Mar 16, 2023 · 0 comments · Fixed by #2489

Comments

@cvvergara
Copy link
Member

cvvergara commented Mar 16, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant