Skip to content

Build a dynamic customizable documentation wizard #3741

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Mar 22, 2025

This is based on a discussion with @apinnick and meant to showcase what could be done.

The past we've created many long documents with many options that the reader then has to choose. This creates a form where the user can choose ahead of time which options they want. These options get translated into attributes that writers can then use in the existing modules.

For simplicity it creates some very small guides now.

When experimenting I realized we really need a 2 step wizard:

  • Select the guide
  • Select the options for the guide

This is because the options will differ per guide. The disconnected installation doesn't have HTTP proxy or IPv6 content so presenting the option in the form is misleading.

Another thought is to include the OS selector so you only get the correct content. This also allows you to drop/reduce the supported operating system section.

The past we've created many long documents with many options that the
reader then has to choose. This creates a form where the user can choose
ahead of time which options they want. These options get translated into
attributes that writers can then use in the existing modules.

For simplicity it creates some very small guides now.
@github-actions github-actions bot added Needs tech review Requires a review from the technical perspective Needs style review Requires a review from docs style/grammar perspective Needs testing Requires functional testing labels Mar 22, 2025
Copy link

@ekohl ekohl mentioned this pull request Apr 1, 2025
10 tasks
@aneta-petrova
Copy link
Member

I finally had a chance to check this out and it looks really cool. It would be nice to have this upstream although I realize it would take a lot of effort.

@ekohl
Copy link
Member Author

ekohl commented Apr 3, 2025

If writers think the approach is good then I can try to spend a bit more time on it. Hosting it shouldn't be too hard but then I'd first like an agreement

@aneta-petrova
Copy link
Member

It does sound like a good topic for next week's documentation team meeting if you're still planning to join: https://community.theforeman.org/t/documentation-team-meeting-2025-04-10/42622

@ekohl
Copy link
Member Author

ekohl commented Apr 3, 2025

That was my thought exactly

@maximiliankolb
Copy link
Contributor

This is awesome! Thank you so much Ewoud!

Does that mean that we would move from a static site generator to Puma?

@apinnick
Copy link
Contributor

apinnick commented Apr 6, 2025

This is because the options will differ per guide. The disconnected installation doesn't have HTTP proxy or IPv6 content so presenting the option in the form is misleading.

We had a similar issue with the Sat Install Helper app. The connected/disconnected option was placed earlier in the checklist so that "disconnected" option hides proxy and IPv6. Are you proposing this wizard for upstream only?

One reservation I have is that we still don't know the effects of the d/s tooling changes. AFAIK, the migration process requires converting the files to DITA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs style review Requires a review from docs style/grammar perspective Needs tech review Requires a review from the technical perspective Needs testing Requires functional testing Not yet reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants