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

docs: add landing pages and start content restructure #981

Merged
merged 11 commits into from
Dec 3, 2024

Conversation

edibotopic
Copy link
Collaborator

@edibotopic edibotopic commented Nov 26, 2024

This marks the start of a content restructure for the UP4W documentation.

The major changes include:

  • Landing pages are added for each Diataxis section with text guiding the user through the contents, with the embedded TOC divided into sub-sections. Landing pages will need to be revisited when/if new content is added.
  • Sub-sections are added where individual Ditaxis sections contain multiple doc pages spanning different topics
  • Developer documentation is incorporated directly into the main documentation (how-to guides>contributing to UP4W and reference>debugging and testing)
  • Generic, small pages relating to other software (WSL, Landscape, Ubuntu WSL) are removed and replaced with external links to the relevant documentation (see "supporting technologies" in reference>UP4W components)
  • Deletion of the guide outlining how to set up landscape server on WSL; this does not serve an obvious user need currently and does not have an suitable place in the documentation)

Some planned changes are out of scope for this PR:

  • A Diataxis Explanation section will be added in a future PR to accommodate content relating to -- at a minimum -- UP4W architecture. At that point, material in reference>UP4W components may be consolidated further.
  • Some content, including the guide back up and restore ubuntu WSL instances may be a better fit for the Ubuntu WSL docs and will be considered as part of separate work aimed at restructuring those docs.
  • The styling of the landing pages could be improved. The top-level bullet for each sub-section is not needed but removing this requires changing how the toc-trees are included on each page. When these are removed, headers will be added to more clearly distinguish the sections.

During the restructure there were some minor changes to wording and links.

UDENG-5304

Copy link

codecov bot commented Nov 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.16%. Comparing base (aeda615) to head (bccc9c4).
Report is 43 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #981   +/-   ##
=======================================
  Coverage   89.16%   89.16%           
=======================================
  Files         110      110           
  Lines        7493     7493           
=======================================
  Hits         6681     6681           
  Misses        633      633           
  Partials      179      179           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@edibotopic edibotopic marked this pull request as ready for review November 26, 2024 17:24
@edibotopic edibotopic requested a review from a team as a code owner November 26, 2024 17:24
these are just simple changes to improve presentation and interaction:

- remove dev section
- adjust grid arrangement for three cards
- make entire card clickable
content is incorporated into howto and ref sections
- divides guides into subsections for setup, deployment, contributing
- adds landing page text
- adds howto content for developers
- divides content into components, configuration and debugging/testing
- adds landing page text and structure
- removes generic content on Ubuntu Pro, Landscape and WSL
- adds reference content for developers (CLI and QA)
- adds landing page text and structure
- minor fixes to wording and links
Copy link
Contributor

@CarlosNihelton CarlosNihelton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Impressive work. I have some comments for your consideration. Let me know your thoughts.

docs/reference/09-qa-process-reference.md Show resolved Hide resolved
docs/reference/ubuntu_pro_client.md Show resolved Hide resolved
docs/reference/up4w-gui.md Show resolved Hide resolved
docs/reference/up4w-windows_agent.md Show resolved Hide resolved
@edibotopic
Copy link
Collaborator Author

edibotopic commented Nov 27, 2024

Thanks a lot for the review @CarlosNihelton -- good spots!!!

I might carry this PR into the next pulse so that we can discuss before finalising.

(edit: or we could split your suggestions into a separate PR, as this one is big enough already)

Copy link
Contributor

@CarlosNihelton CarlosNihelton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's address my comments in subsequent PRs as we've discussed.

@edibotopic
Copy link
Collaborator Author

Let's address my comments in subsequent PRs as we've discussed.

Got it. I will resolve the conversations and return to those points in that PR.

@edibotopic edibotopic merged commit 35ca57a into main Dec 3, 2024
39 checks passed
@edibotopic edibotopic deleted the better-landing-pages branch December 3, 2024 14:55
edibotopic added a commit that referenced this pull request Dec 13, 2024
In
d03d56e
a dedicated explanation section that includes a page describing the
architecture of UP4W and its components.
Previously, UP4W components and other topics (WSL and registry) where
small, self-contained pages in the reference section.
The explanation attempts to describe the individual components but also
make connections between those components, so that the reader can better
understand the software as a whole.

In 26c7c28 a glossary of system
components is included as a separate reference page. This can be quickly
scanned for information about the major components, providing basic
descriptions and any relevant commands.

**NOTE:** these sections could be better linked with the rest of the
documentation, but I want to wait until we merge the Ubuntu WSL
documentation with this repo because that will involve some
restructuring.

The following commits address comments raised by @CarlosNihelton in [PR
981](#981):

* 5d65a56 adds a note about potential
references to outdated Go versions
* 7ee851d references a command that can
be used to start the Windows agent from the terminal

Other minor changes include:

* In the glossary, an outdated reference to Ubuntu advantage tools
package mentioned by @CarlosNihelton in
#981 (comment)
is fixed
* Updates to wordlist and links

UDENG-5517
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants