15:00:57 #startmeeting Documentation Working Group aka DaWGs 15:00:58 Meeting started Tue Sep 27 15:00:57 2022 UTC. 15:00:58 This meeting is logged and archived in a public location. 15:00:58 The chair is samccann. Information about MeetBot at https://fedoraproject.org/wiki/Zodbot#Meeting_Functions. 15:00:58 Useful Commands: #action #agreed #halp #info #idea #link #topic. 15:00:58 The meeting name has been set to 'documentation_working_group_aka_dawgs' 15:01:13 @room Meeting time! Who is here to talk the docs? 15:01:13 o/ 15:01:20 #chair Don Naro 15:01:20 Current chairs: Don Naro samccann 15:01:32 Raise your ascii hand (o/) to say hi or any other way you want to let us know you are here. And Welcome to any new folks! 15:01:44 double booked as usual though but it's my last week! 15:01:44 o/ 15:01:54 briantist: felixfontein around to talk docs today? 15:02:02 #chair acozine 15:02:02 Current chairs: Don Naro acozine samccann 15:02:05 and welcome 15:02:07 o/ 15:02:12 (distracted) 15:02:28 * tremble is triple booked (as usual) 15:02:32 #chair briantist tremble 15:02:32 Current chairs: Don Naro acozine briantist samccann tremble 15:02:40 we take all the books! 15:02:41 :-) 15:03:15 official agenda at https://github.com/ansible/community/issues/643#issuecomment-1252599726 15:03:26 #topic Action Item updates: 15:03:31 #info resolved - Create tracking issue https://github.com/ansible-community/community-team/issues/60 to track all the collections that SHOULD consider using true/false boolean in examples and also opened https://github.com/ansible-community/community-team/issues/61 to suggest adding changelogs to the collection rst fun. 15:03:57 #info open - Consider an 'open docs hr' later in the week to regularly interact with docs contributors in a friendlier way than the expert details that happen in DaWGs meetings 15:04:05 #info open add a link to a separate intro to the agenda for welcome/here's what you need to know/ etc so newcomers can prepare. 15:04:42 Those last two are a result of us brainstorming last week on how to make space for newcomers etc. This meeting does tend to go VERY deep and may not be as new person friendly as we'd like. 15:05:33 note re: #60/#61 I suspect most folks couldn't do the 'check' stage... 15:05:50 Hello everyone, I am a newcomer in here :) 15:05:58 huzzah!! 15:05:58 (check-off from the list stage) 15:06:05 anwesha: welcome! 15:06:12 acozine, thank you :) 15:06:23 #chair anwesha 15:06:23 Current chairs: Don Naro acozine anwesha briantist samccann tremble 15:06:32 hello anwesha welcome! 15:06:49 So we chair everyone here. That gives you the ability to add to the meeting minutes with #info for example 15:07:17 anwesha: what motivated you to join this channel or this meeting? Are you a writer? An Ansible user? 15:07:19 samccann, ahh understood, like in Fedora meetings. 15:07:31 yes exactly anwesha 15:08:27 tremble: so basically only I can check off the check boxes on those issues? (or someone else with rights to that repo)? 15:09:12 samccann: Yup 15:09:20 I suppose that makes sense but... 15:09:26 * samccann shakes fist at github 15:09:31 I did try for community.aws :) 15:09:43 lol thanks! 15:10:03 acozine, I am a lawyer turned to technologist. I am using Ansible for maintaining community and work infrastructure. So that is how I ended up in #ansible.I submitted a small docs PR ( https://github.com/ansible/ansible/pull/78884 ) yesterday, that is why thought of attending the docs meeting. 15:10:24 I guess the rest of us can add comments to the issue saying "I added this issue to Repo X" with a link 15:10:26 DonNaro[m], thank you. 15:10:33 So to give a bit of background - we have a lot of smaller issues we want to highlight to collection maintainers. So I opened those two issues above to 'track' them. 15:10:56 Awesome anwesha - thanks for the PR, and for joining the DaWGs! 15:11:55 True 15:12:04 and thanks for the PR anwesha ! just merged it 15:12:26 #topic Hacktoberfest 15:12:31 samccann, yeah, thank you. 15:12:41 #info it's coming up in 1 week. What issues should we try to tackle with hactoberfest volunteers? Some ideas - https://hackmd.io/gNQ2TQW8T4ilcZc8JAM5fQ 15:13:29 We have a batch of ideas there and we need to start opening issues and tagging them. I think ariordan1 had a good strategy last year so I'll ask her help and advice. 15:13:43 welcome anwesha ! 15:14:01 briantist, hello :) 15:15:05 for collection maintainers here - consider if you have some easyfix items in your repos you can tag as `hacktoberfest` as well. It's a great way to get the little things fixed for sure. Though it does come with a little PR spam on the first few days of the month 15:15:58 #topic Documentation updates 15:16:05 #info Ansible 7 alpha coming soon. When do we want to start staging docs on test? 15:16:44 Last time, while I staged Ansible 6 on test, I didn't do it regularly, and didn't remind folks here to go look. Ended up we had problems :-) 15:16:58 yeah, I'd say sooner is better than later 15:17:29 especially with the changes we've made lately in the build pipeline 15:17:30 yeah. It's an easy step for me - just start a jenkins job. So maybe I'll do that weekly from now til GA for Ansible 7 15:18:05 again with a bit of background - our docs are static RST files for the guides, and autogenerated RST files pulled from collection module python files. 15:18:46 We've definitely had a lot of work on `antsibull-doc`, the tool that does that autogeneration. As well as sidecar docs code that allows additional docs for filter and test plugins etc. 15:19:10 #action samccann start weekly staging of core and Ansible docs to test and ping here for folks to review etc. 15:19:26 #info archiving 2.3 docs archive hit a snag with redirects. No simple way to redirect all the modules to collections. 15:19:48 This one is tricky. The goal was to archive al lthe older docs to an archive site so we can stop google from linking to them as top results 15:20:08 we were going to redirect the older docs to /latest/, but I hit a block on this yesterday 15:20:32 o/ 15:20:37 basically, all the modules would end up as 404s. The only solution I can think of is running a script like Toshio did for the 2.9 to collections change ay back 15:20:46 #chair felixfontein 15:20:46 Current chairs: Don Naro acozine anwesha briantist felixfontein samccann tremble 15:20:57 welcome and just in time for redirect fun :-) 15:21:11 sounds like fun indeed ;) 15:21:23 So we have three options off the top of my head: 15:22:30 1 - give up on this as not worth the effort :-) 15:22:30 2 - live with 404s for anyone who bookmarked docs 2.8 and earlier for modules 15:22:30 3 - Rattle toshio's cage and find out how he did it the last time, if he remembers, and do it again, for 6 MORE releases. 15:23:02 for #3 - that means adding 6K or more redirects, probably over 10K really (one for each module, for 6 releases) 15:23:15 anyone have opinions? 15:23:56 I'm tending a bit to 1... as the number of redirects is quickly getting out of hand... 15:24:44 yeah it is a lot of redirects. But having 2.3 docs come up as 1, 2 or 3rd search result is also painful. 15:25:02 I'll be honest, I'm tending to #2. 15:25:50 I should add - we had ..erm.. I think I said yesterday 42K hits on the 2.3 docs for the month of September, out of a total of 3M overall? 15:26:37 so like 2% of our traffic is what we're discussing here. If we go for option 2, we would redirect 20K of those hits 15:27:23 but of course, being honest, for a time -that would mean ADDING 404s to 20K hits a month (just for 2.3). 15:27:26 can't we take the 2.9 → 2.10 redirects and adjust them a little so they work for 2.3 etc. as well? 15:27:44 lemme dig them up 15:27:48 * samccann still hates that the docsite repo isn't publich 15:29:11 RedirectMatch "^(/ansible/[^/]+)/plugins/become/doas.html" "$1/collections/community/general/doas_become.html" 15:29:11 RedirectMatch "^(/ansible/[^/]+)/plugins/become/dzdo.html" "$1/collections/community/general/dzdo_become.html" 15:29:11 RedirectMatch "^(/ansible/[^/]+)/plugins/become/enable.html" "$1/collections/ansible/netcommon/enable_become.html" 15:29:22 well that didn't display nicely... 15:29:59 but yeah, maybe if I just remove the /plugins/ part it would work. (2.3, 2.4 don't have that plugins subdir). 15:30:32 Still brings up adding a lot more redirects, but maybe that's okay. Our search expert said it was 'no big deal' for modern servers 15:31:23 erm.. it's 4k redirects, per release. 15:31:35 tho older releases likely have less modules 15:32:16 anyway, let me see if I can get them working, then we can debate whether it's a horrible idea :-) 15:33:14 #action samccann to remove subdirs from toshio's batch of 2.9 <---> latest redirects to fix 2.3 redirect problems for EOL docs 15:34:19 #info Reminder on new project tracking board for Ansible docs- https://github.com/orgs/ansible/projects/94 15:34:19 #info Help on issues always welcome :-) 15:34:36 #topic doctools 15:34:57 Anything we want to highlight here for hacktoberfest? any smaller issues (don't have to be docs, can be code etc) felixfontein ? 15:35:42 I'll look at the redirects later, right now I'm only halfway here :) 15:36:16 heh ok cool. also consider if you have any hacktoberfest issues you can tag in your repo(s). Same for everyone else! 15:36:19 for hacktoberfest I'm not aware of anything that would be easy to implement, at least for antsibull-docs and related tools. maybe the GHA workflows/actions have something to do 15:36:21 🎵...livin' on a prayer 15:36:37 heheh 15:36:45 a little DaWGs background music! 15:37:04 #info antsibull-docs fixes to consider - https://github.com/ansible-community/antsibull-docs/issues/38 and https://github.com/ansible-community/antsibull-docs/pull/43 15:37:27 felixfontein: https://github.com/ansible-community/antsibull-docs/issues/35 might be nice, don't know how doable it is 15:39:14 interesting. so I only update the intersphinx links at release time. It's not a particularly hard step to do so we could do it more frequently I suppose, but there's always going to be a lag between me remembering to do it, and when a collection actually moved modules around. 15:39:34 tremble: there the hardest part (by a lot) is figuring out how to pass that information in. implementing it should be pretty easy once that hard part is done. 15:39:48 for those following along - this section of the meeting is dedicated to the tooling in and around the docs. 15:41:00 My specific use case is the community.aws and amazon.aws collections which have references between the two. Only really an issue for the GitHub pages documentation. 15:41:25 samccann, thank you for the hints for the newcomer :) 15:42:08 anwesha: np. It's something I should do for all meetings. We do have people who follow along but not say anything, so it likely helps many people 15:42:43 felixfontein: My thought was possibly just a config file stored in the repo which could be appended to (or replace) the default template 15:43:31 one option for the github-pages docs for the AWS collections is to publish a single docsite that includes the docs for both collections. So a single build. 15:43:57 The tricky part is triggering it on changes to either collection, and pulling the right refs and stuff. 15:44:14 briantist: Yeah, I did consider that and that's exactly what makes it tricky :) 15:45:20 tremble: that would be a very simple way to do code injection into CI 15:46:41 ergh, because of course it's executed 15:47:17 which part would be code injection? 15:47:50  15:47:54 sorry 15:48:10 briantist: if you can specify parts that are inserted into conf.py verbatim 15:48:13 briantist: Allowing an arbitrary file from a collection PR to be injected into the sphinx configs 15:48:57 though you can probably also find other ways to do that, depending on how ansible-core loads plugins 15:49:11 (to extract docs) 15:50:59 wouldn't the use of `pull_request_target` prevent that? or am I not following completely (I have been pulled away a lot this meeting) 15:52:47 briantist: no, since the code comes from the repo checkout (which would be the PR's HEAD) 15:54:52 which runs with limited permission though; same reason why code injection in a regular PR is not really impactful 15:55:33 that's true 15:56:17 though I still don't like the idea of blanketly including stuff into conf.py, same as I don't like blanket stuff like `extra_args` in CLI-tool-based modules ;) 15:56:43 We're about 5 minutes to the end of the meeting. let's do a quick open floor in case others have topics to bring up 15:56:43 #topic Open Floor 15:56:51 Here's the chance to bring up anything docs releated 15:56:54 samccann: btw, we have a PR for the remaining filters in ansible-core: https://github.com/ansible/ansible/pull/78876#pullrequestreview-1122256197 15:57:05 (and y'all can keep going on your CI code injection fun) 15:57:21 Questions, ideas, suggestions are all encouraged during the open floor. 15:57:46 felixfontein: cool I'll look in a bit 15:58:26 felixfontein: I haven't heard back from Matt on merging an update to antsibull-docs, but bcoca did mention he has a couple more smaller PRs in the works so I think we wait til he's done, if matt's okay with that 16:00:28 ok we are at the top of the hr... and things seem to have gotten quiet. Anything else before we end the meeting? 16:00:32 thanks for the update! 16:00:36 not from my side 16:00:59 thanks everybody! 16:01:13 thanks samccann for running the meeting 16:01:20 #endmeeting