|
| 1 | +# Documentation Community Team Meeting (February 2024) |
| 2 | + |
| 3 | +- **Date:** 2024-02-06 |
| 4 | +- **Time:** [20:00 UTC](https://arewemeetingyet.com/UTC/2024-02-06/20:00/Docs%20Meeting) |
| 5 | +- **This HackMD:** https://hackmd.io/@encukou/pydocswg1 |
| 6 | +- [**Discourse thread**](https://discuss.python.org/t/44663) (for February) |
| 7 | +- [**Meeting reports**](https://docs-community.readthedocs.io/en/latest/monthly-meeting/) (the latest one might be an [**unmerged PR**](https://github.com/python/docs-community/pulls)) |
| 8 | +- **Calendar event:** (send your e-mail to Mariatta for an invitation) |
| 9 | +- **How to participate:** |
| 10 | + - Go to [Google Meet](https://meet.google.com/dii-qrzf-wkw) and ask to be let in. |
| 11 | + - To edit notes, click the “pencil” or “split view” button on the [HackMD document](https://hackmd.io/@encukou/pydocswg1). You need to log in (e.g. with a GitHub account). |
| 12 | + |
| 13 | +By participating in this meeting, you are agreeing to abide by and uphold the [PSF Code of Conduct](https://www.python.org/psf/codeofconduct/). |
| 14 | +Please take a second to read through it! |
| 15 | + |
| 16 | + |
| 17 | +## Roll call |
| 18 | + |
| 19 | +(Name / `@GitHubUsername` *[/ Discord, if different]*) |
| 20 | +- Hugo van Kemenade / `@hugovk` |
| 21 | +- Carol Willing / `@willingc` |
| 22 | +- Ezio Melotti / `@ezio-melotti` |
| 23 | +- Daniele Procida / `@danieleprocida` |
| 24 | +- Ned Batchelder / `@nedbat` |
| 25 | +- Marcus Sherman / `@betteridiot` |
| 26 | +- Petr Viktorin / `@encukou` |
| 27 | +- CAM Gerlach / `@CAM-Gerlach` |
| 28 | +- Usman Akinyemi / `@Unique-Usman` |
| 29 | + |
| 30 | +## Reports and celebrations |
| 31 | + |
| 32 | +- [Hugo] 🎉 Since we started fixing the 8,212 Sphinx reference warnings, with 136 PRs + 220 backports we've fixed 56% of them in total (now at 3,574) and 61% of them in `Doc/`. The `.nitignore` initially listed 299 files with warnings; 67% have been fixed, with 100 remaining. 🧹📚 https://discuss.python.org/t/broken-references-in-sphinx-docs/19463/7 |
| 33 | + |
| 34 | +- [Hugo] Accessibility improvement. Underlining links in recent docs. |
| 35 | + |
| 36 | +## Discussion |
| 37 | + |
| 38 | +- [Ezio] Adding examples to the docs, and in particular: |
| 39 | + 1. **Should we add more examples in general?** Are they preferable to prose? |
| 40 | + 2. Quoting from [this comment](https://github.com/python/cpython/pull/111743#issuecomment-1908471823), especially the last part: |
| 41 | + > [...] **Should we have some convention on where to put examples?** |
| 42 | + > |
| 43 | + > We don't want to end up in a situation where a page uses collapsible sections, another has [examples at the top](https://docs.python.org/3/library/json.html), another [at the bottom](https://docs.python.org/3/library/re.html#regular-expression-examples), another [in the middle](https://docs.python.org/3/library/string.html#format-examples), another [in a separate page](https://docs.python.org/3/howto/logging-cookbook.html), etc. If we agree on some conventions, it will also be easier for users to set their expectations and know where to look. |
| 44 | +
|
| 45 | + See also [the Discord thread](https://discord.com/channels/935215565872693329/1199481017464008734) and a [related issue](https://github.com/python/cpython/issues/106318#issuecomment-1906642662) |
| 46 | + |
| 47 | + [Daniele] Examples work best as relief from dense abstract docs. They should be boring, and simple. You don't need to be exhaustive; the example is only a handhold. |
| 48 | + [Ezio] Maybe we should have simple examples inline, and a section with longer examples at the bottom, with links pointing to it. |
| 49 | + [Daniele] An example section sounds like the beginnings of how-to page. |
| 50 | + [Ned] I like examples for clarifying the text in the reference sections. Interspersing examples into the reference would help, at least in some places. |
| 51 | + [CAM] Tutorials vs. how-tos - that depends on the purpose of the examples |
| 52 | + [Ned] How do we turn this thinking into actionable items people can help with? |
| 53 | + [Ezio] We should start adding examples. |
| 54 | + |
| 55 | + [Ezio] We should also figure out what to do about collapsible sections. |
| 56 | + [Ned] What problem are collapsible sections solving? Do we have too many examples that users will want to ignore? (In my docs I use tabs, but not collapsible sections) |
| 57 | + [Ezio] They allow us to to add more examples inline without making the page too long and more difficult to navigate, but they don't work with non-HTML builders. |
| 58 | + |
| 59 | + [Ned] re. pages being too long, we might switch to having a page for each function |
| 60 | + [Carol] we could run a cron job to count lines |
| 61 | + [Ezio] if we count code lines we can determine pages with not enough and too many examples |
| 62 | + |
| 63 | + [Ezio] Would it make sense to do different things based on the builder, e.g. collapsible sections for HTML and something else for PDF? |
| 64 | + [CAM] Yes. Some current directives for collapsible sections do that. |
| 65 | + |
| 66 | + [Ezio] If we agree to add basic examples inline, but bigger examples on the bottom, we won't need collapsible sections. |
| 67 | + |
| 68 | + [Carol] So: yes examples, yes inline. We can pause discussions about collapsible sections; if the examples get too long we should think about spinning them out into their own howto pages. **Consensus Recap** |
| 69 | + [Ezio] We could also create a custom Sphinx directive that creates a link to the "Examples" section. It should be unobtrusive and recognizable (it could have an icon, and a short text like "See more examples."). |
| 70 | + |
| 71 | +- [Hugo] Hosting docs on Read the Docs [python/docs-community#5 (comment)](https://github.com/python/docs-community/issues/5#issuecomment-1900698294) (Manuel Kaufmann, Ee, Julien were supportive) |
| 72 | + |
| 73 | + [Hugo] To begin with we could only put HTML there. The only thing we'd need is to redo the version switcher. On RTD they have the fly-out switcher menu, maybe that could be re-styled; Manuel seemed keen to work on that. |
| 74 | + |
| 75 | +- [Carol] Improving clarity around HOWTO docs: https://github.com/python/cpython/issues/114976 |
| 76 | + |
| 77 | + [CAM] Could you explain what the older-style howtos were? |
| 78 | + [Carol] It goes back to Linux in the early days, when docs were scarce. Howtos were architecture discussions of how sonething was implemented, more like background on a topic -- explanations in Diátaxis terms |
| 79 | + [Ned] Maybe the section could be called "longer writings" |
| 80 | + [Daniele] I always call them *howto guides*: `HOWTO` sounds like an old-school passcode |
| 81 | + [Carol] Could we use local ToC trees to split up the section? |
| 82 | + [Hugo] We could fix that quickly if someone wants to make a PR |
| 83 | + [Ezio] I was looking at the Unicode guide, which starts out as explanation but then turns into a howto guide, and sometimes it feels like a tutorial. There's an [issue about rewriting it](https://github.com/python/cpython/issues/107583), but I'm not sure what would be the best way to rewrite/reorganize it. |
| 84 | + [Carol] The Linux project created both alphabetical and chronological lists of “HOWTO”s. Eventually, we can orphan the current format of the landing page. |
| 85 | + [Carol] One of the urgent tasks is to set the reader's expectations. We don't want them to expect a modern howto and then not get it. |
| 86 | + |
| 87 | +- [Hugo] The detailed changelog is very long -- longer than Moby Dick. ([python/docs-community#98](https://github.com/python/docs-community/issues/98)) |
| 88 | + [Ezio] Long ago I added an inputbox to filter entries, but [it appears to be broken now](https://github.com/python/cpython/issues/115317). This doesn't make the source page any shorter though. |
| 89 | + |
| 90 | + |
| 91 | +## Next meeting |
| 92 | + |
| 93 | +The docs team generally meets on the first Tuesday of every month around 20:00-ish UTC. |
| 94 | + |
| 95 | +We have a recurring Google Calendar event for the meeting. |
| 96 | +Let Mariatta know your email address and she can invite you. |
0 commit comments