pg_docs_bot icon indicating copy to clipboard operation
pg_docs_bot copied to clipboard

Ability to pick a (non-current) version to redirect to

Open mchristofides opened this issue 5 years ago • 7 comments

Thinking about a settings menu with this as an option.

Use cases that I believe exist:

  • currently doing a big migration to a (now) non-current release, and cannot consider an upgrade at this point
  • working with a legacy (or military, or regulated) application that doesn't support the latest versions
  • PostgreSQL contributor, and would like to see "devel" docs by default

Do comment on this if you'd like it, ideally with your version number and use case!

Update: There is a new extension, Unified Docs Switcher that may be a better fit for folks who want a different default version!

mchristofides avatar Apr 18 '20 20:04 mchristofides

There are similar extensions for python docs and django docs which store the user's preferred version. Perhaps useful for reference.

truthdoug avatar Dec 23 '20 19:12 truthdoug

@truthdoug thanks! Would you personally like it to default to a non-current version?

mchristofides avatar Jan 05 '21 22:01 mchristofides

I got inspired over my time off during the holidays and started on a new extension that would do this for multiple doc sites. It's not published yet, but it works if loaded in developer mode for postgres, python and django: https://github.com/dougharris/unified_docs_switcher

truthdoug avatar Jan 05 '21 22:01 truthdoug

Oh nice, I just watched your video and it looks great! I'll give it a go soon too, sounds like a much better solution 🎉

mchristofides avatar Jan 05 '21 22:01 mchristofides

Sounds useful, would be great to have this feature since I'm not using the latest version.

OrBin avatar Feb 23 '21 07:02 OrBin

@OrBin thanks, good to know! I'm afraid it's not looking likely I'll do this anytime soon. The extension @truthdoug mentioned above supports this though, if that's a good option for you? https://github.com/dougharris/unified_docs_switcher

mchristofides avatar Mar 13 '21 14:03 mchristofides

Looks good, yes. I will try it.

OrBin avatar Mar 18 '21 06:03 OrBin