-
Notifications
You must be signed in to change notification settings - Fork 142
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] Edit docs for readability part 1 #337
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @stichbury ,
I took a quick look - it looks good to me in general, thanks for cleaning up!
I have some general questions:
- These nested admonitions look a bit funky to me - are these intended?
- I've noticed that you've used "How to..." in several sections now. I actually don't have any issues with that, but I remember that we used to follow a guideline to not use How to that often, but only in the first title. I think it came from this docs guideline that @maxschulz-COL sent you as a link? Happy to follow with whatever you think is best though
- I left some suggestion where I wasn't sure why we kept it capitalized
The rest looks great though! 🚀
Thanks @huong-li-nguyen ! You've been very diligent and applied some of the edits I made to pages I haven't reached yet. Thanks for doing that, but don't worry too much on those pages...I'll get there eventually.
I did intend them, yes. Let's see what people think. I wanted to put side-information in the aside, but then found there was side-information about the side-information (like how to install pipenv if you don't want to use conda). I thought they looked OK but let's see what the general view is. I can always remove them!
|
Co-authored-by: Li Nguyen <[email protected]> Signed-off-by: Jo Stichbury <[email protected]>
Co-authored-by: Li Nguyen <[email protected]> Signed-off-by: Jo Stichbury <[email protected]>
Co-authored-by: Li Nguyen <[email protected]> Signed-off-by: Jo Stichbury <[email protected]>
Co-authored-by: Li Nguyen <[email protected]> Signed-off-by: Jo Stichbury <[email protected]>
For the "How to..." sections, I think the decision process around them before was related to how they affect the sub-navigation menus. In cases where people might want to quickly run their eyes down a list of topics in a menu, to decide what to click on for finding out more information, then it seems easier to run eyes over the list and take in information when the "How to" part is not included However when acting as a section header in the main body of the documentation, then having the "How to" prefix can be more informative to readers So I suppose our decision making criteria would be on a case-by-case basis, depending on which navigation menu the title is being used in, and how important it is to be able to run eyes down that quickly |
That makes sense. The docs have great structure per the diataxis model (they're all "How to" guides) but they're called 'User guides' in the navigation and I think we need to clarify that they are practical content rather than reference/theoretical explanations. I'll pay some attention to where the "How to" is showing up to keep the scan overhead for the user to a minimum. I wonder if we should rename the section from User guides to How to guides on the card and the top horizontal nav. WDYT? @maxschulz-COL |
Co-authored-by: Li Nguyen <[email protected]> Signed-off-by: Jo Stichbury <[email protected]>
…mckinsey/vizro into docs/light-edit-for-readability
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for incorporating the changes! 🚀
Signed-off-by: Jo Stichbury <[email protected]>
Signed-off-by: Jo Stichbury <[email protected]>
GitHub tells me that I've been mentioned in this PR but I don't see where 😅 |
@astrojuanlu Thanks for dropping by! 👋 Lol, it was here: https://github.com/mckinsey/vizro/pull/337/files/ddce1007f8007f45cc21afe65b75d183fe418ff9#r1505838867 We were wondering if the instructions in the Kedro docs for using pipenv or venv instead of conda were valid, since I added them to Vizro in overhauling the installation docs. I've since removed them again because I figure, in the case of Vizro at least, that novice users don't need to know about them, and more experienced users will likely already have their preferred virtual environment tool. I've just linked them instead. |
For more context on my thoughts on Kedro installation instructions, see kedro-org/kedro#3281 Long story short, I think "native" methods (pip) should be shown on top, then conda as an alternative. And please don't mention Pipenv, unless you're also mentioning Poetry, PDM, Hatch, and Rye. |
Cool, my spidey sense that this guidance would not be sanctioned by @astrojuanlu were right 😀 I have exactly the same feelings as him on the topic so fully agree with kedro-org/kedro#3281. |
In the context of this PR however, the question for me is -- who needs what guidance? I'm assuming that experienced Python users already know and understand the need for a virtual environment and have their preferred way of using one. So we don't need to address them (but we can point to somewhere that describes the options if it helps -- hit me with a preferred link).
|
I've pushed a commit 8e222fe to update this:
Here's the relevant page: https://vizro--337.org.readthedocs.build/en/337/pages/user-guides/install/, which is easier to read than the commit diff. lmk what you think @astrojuanlu and feel free to put this in the kedro docs too if you like it. |
Nice, thanks! I think that's a satisfactory outcome for all reader types. I'll had considered that we could adjust the bit about Anaconda navigator to bring that up the page for those that want to avoid the whole scenario of virtual envs, but that takes them into the Anaconda docs and introduces unnecessary complexity. This is a nice compromise -- thank you! |
When you've a moment, please could I get an approval @antonymilne or @maxschulz-COL and I'll get this merged so I can get on with the next set of edits. |
Description
This is the first of several PRs to work through the docs for readability and improve consistency.
In this one, I've done this:
Please take a look through at the built docs since the edits are going to be horrid to read .
I'd particularly like feedback on section 3 as I rewrote that and added some new material about parameters/selectors. I also fixed a "bug" in the code where it was applying the second opacity parameter to both charts (when the docs said only the first chart).
Notice
I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":