Skip to content

Massive docs rewrite and reorg and TABS - #3944

Merged
rfay merged 50 commits into
ddev:masterfrom
rfay:20220626_docs_experiments
Jul 7, 2022
Merged

rfay merged 50 commits into
ddev:masterfrom
rfay:20220626_docs_experiments

Conversation

@rfay

@rfay rfay commented Jun 27, 2022 •

Copy link
Copy Markdown
Member

The Problem/Issue/Bug:

The DDEV doc have grown organically over a really long time, and haven't had a reorg in forever. And lots of places

How this PR Solves The Problem:

Massive rework of docs. Introduce tabs and warning and notes where the going was rough. New theme details from material-mkdocs.

TODO

  • We're using the insider version of mkdocs-material - make sure the build uses that.
  • Fix links and other things in main README.
  • Experiment with moving things below tabs into separate files
  • Improve the developer docs so people know better how to install
  • Include developer docs
  • Edit code that refers to ddev.readthedocs.io
  • After pulling this, refresh the Gitpod Docker image.
  • Fix the background of annotations (same as rest)
  • Make sure there's not lost content underneath the header

Manual Testing Instructions:

Read the docs at https://test-ddev.readthedocs.io/en/latest/

Automated Testing Overview:

Related Issue Link(s):

Release/Deployment notes:

  • After merge, push up the Gitpod.io Docker image. Can't be done before that.

@github-actions

github-actions Bot commented Jun 27, 2022 •

Copy link
Copy Markdown

@rfay
rfay requested review from CollierCZ, mikebarkas and shaal June 27, 2022 21:58
@mikebarkas

Copy link
Copy Markdown
Contributor

Reviewed the docs at https://test-ddev.readthedocs.io/en/latest/

I feel the tab navigation across the top makes navigating easier and the user experience is better.
Search works well
Light/dark mode works well
The tabs for the different os:arch is a nice addition

The font size in the admonition notes is a little small (maybe because of my age 🤪 )
.md-typeset :is(.admonition,details) { font-size: .64rem;}
.64rem brings it down to about 12px for me


admonition-font-size

@rfay

rfay commented Jun 28, 2022

Copy link
Copy Markdown
Member Author

Thanks @mikebarkas - One of the things that I note is a lack of separation between the tabbed sections and the content that follows (under all tabs). Ideas on how to sort that?

@CollierCZ

Copy link
Copy Markdown
Contributor

a lack of separation between the tabbed sections and the content that follows (under all tabs)

I'm not sure I understand this. Could you explain it or use a screenshot?

@rfay

rfay commented Jun 28, 2022

Copy link
Copy Markdown
Member Author

Thanks @CollierCZ - This one shows it... there's no separation between the end of the tabbed topic and the next thing.

image

@CollierCZ

CollierCZ commented Jun 28, 2022 •

Copy link
Copy Markdown
Contributor

Ah, yes. Was looking at the top navigation for some reason.

We have the same issue in the Platform.sh docs (example). For now, we are learning to live with it. But we plan to get a designer to think about the problem before too very long.

One possibility is adding padding/margins on the side to distinguish it. Not sure if that's worth it or not, though

@rfay

rfay commented Jun 28, 2022

Copy link
Copy Markdown
Member Author

If anybody wants to experiment with this a bit, https://ddev.readthedocs.io/en/latest/developers/testing-docs/ has how to run mkdocs locally. It's easy.

  • content/assets/* can be enabled in mkdocs.yml, I have currently turned off the old ones.
  • You can fiddle with the palette in the theme in mkdocs.yml
  • See mkdocs-material and mkdocs-material docs

@rfay
rfay force-pushed the 20220626_docs_experiments branch from f742325 to 7ccd391 Compare June 28, 2022 19:50
@tyler36

tyler36 commented Jun 29, 2022

Copy link
Copy Markdown
Collaborator

It looks really nice.

My only feedback would be to increase paragraph spacing and line height. The documentation is comprehensive but the blocks are quite dense.

@rfay

rfay commented Jun 30, 2022

Copy link
Copy Markdown
Member Author

@mikebarkas per #3944 (comment) I increased the admonition font size a bit, please take a look. We can do anything we want in the extra.css. An example is the admonition in https://test-ddev.readthedocs.io/en/latest/users/install/performance/#enabling-mutagen

@rfay
rfay force-pushed the 20220626_docs_experiments branch 3 times, most recently from fe8bee4 to 4c71e53 Compare July 6, 2022 23:12
@rfay
rfay force-pushed the 20220626_docs_experiments branch from 4c71e53 to ed6a593 Compare July 7, 2022 00:30
@rfay
rfay merged commit 81ec233 into ddev:master Jul 7, 2022
@rfay
rfay deleted the 20220626_docs_experiments branch July 7, 2022 04:36
@tyler36

tyler36 commented Jul 7, 2022

Copy link
Copy Markdown
Collaborator

Great work!

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.

5 participants