* Re: Simple analytics for docs.kernel.org and patchwork, please? [not found] ` <20240226-gainful-dark-snake-c15cf8@meerkat> @ 2024-02-26 19:43 ` Jakub Kicinski 2024-02-26 19:58 ` Jonathan Corbet 0 siblings, 1 reply; 3+ messages in thread From: Jakub Kicinski @ 2024-02-26 19:43 UTC (permalink / raw) To: Konstantin Ryabitsev; +Cc: workflows, corbet, ast, linux-doc On Mon, 26 Feb 2024 14:24:39 -0500 Konstantin Ryabitsev wrote: > In general, my previous experience enabling libravatar on git.kernel.org has > taught me that many very vocal people *really* don't like to have any kind of > statistics gathered about them. However, if it's just for docs.kernel.org, > then I don't think I have specific objections. > > That said, I would need help turning this on -- if someone can pass me along a > Sphinx configuration option that I can enable during build time, then I'll be > happy to add it to our build jobs. Excellent :) Let me CC linux-doc in case someone can tell us how to hook things in. Could you give me a ballpark number of page hits for docs.kernel.org? 500k page views a month should be enough? Plausible has different pricing depending on number of views, I need to know how much money to ask for. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Simple analytics for docs.kernel.org and patchwork, please? 2024-02-26 19:43 ` Simple analytics for docs.kernel.org and patchwork, please? Jakub Kicinski @ 2024-02-26 19:58 ` Jonathan Corbet 2024-02-26 22:52 ` Jakub Kicinski 0 siblings, 1 reply; 3+ messages in thread From: Jonathan Corbet @ 2024-02-26 19:58 UTC (permalink / raw) To: Jakub Kicinski, Konstantin Ryabitsev; +Cc: workflows, ast, linux-doc Jakub Kicinski <kuba@kernel.org> writes: > On Mon, 26 Feb 2024 14:24:39 -0500 Konstantin Ryabitsev wrote: >> In general, my previous experience enabling libravatar on git.kernel.org has >> taught me that many very vocal people *really* don't like to have any kind of >> statistics gathered about them. However, if it's just for docs.kernel.org, >> then I don't think I have specific objections. >> >> That said, I would need help turning this on -- if someone can pass me along a >> Sphinx configuration option that I can enable during build time, then I'll be >> happy to add it to our build jobs. > > Excellent :) > > Let me CC linux-doc in case someone can tell us how to hook things in. It's probably not just a configuration option. I suspect that this will need to be done either by editing the templates or with a little extension. Either could require adding this support to the kernel repo, which might raise some eyebrows. jon ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Simple analytics for docs.kernel.org and patchwork, please? 2024-02-26 19:58 ` Jonathan Corbet @ 2024-02-26 22:52 ` Jakub Kicinski 0 siblings, 0 replies; 3+ messages in thread From: Jakub Kicinski @ 2024-02-26 22:52 UTC (permalink / raw) To: Jonathan Corbet; +Cc: Konstantin Ryabitsev, workflows, ast, linux-doc On Mon, 26 Feb 2024 12:58:43 -0700 Jonathan Corbet wrote: > Jakub Kicinski <kuba@kernel.org> writes: > > On Mon, 26 Feb 2024 14:24:39 -0500 Konstantin Ryabitsev wrote: > >> In general, my previous experience enabling libravatar on git.kernel.org has > >> taught me that many very vocal people *really* don't like to have any kind of > >> statistics gathered about them. However, if it's just for docs.kernel.org, > >> then I don't think I have specific objections. > >> > >> That said, I would need help turning this on -- if someone can pass me along a > >> Sphinx configuration option that I can enable during build time, then I'll be > >> happy to add it to our build jobs. > > > > Excellent :) > > > > Let me CC linux-doc in case someone can tell us how to hook things in. > > It's probably not just a configuration option. I suspect that this will > need to be done either by editing the templates or with a little > extension. Either could require adding this support to the kernel repo, > which might raise some eyebrows. FWIW I tried poking around to insert "script_files" into conf.py, because the RTD template does seem to have: {%- for scriptfile in script_files %} {{ js_tag(scriptfile) }} {%- endfor %} But I only managed to add a pure "include" with just the 'src' attribute on the <script> node, like: <script src="../../cabbage.js"></script> We also need to set 'defer' and "data-domain="docs.kernel.org"'. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-02-26 22:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20240223083154.4fbee63c@kernel.org>
[not found] ` <20240226-gainful-dark-snake-c15cf8@meerkat>
2024-02-26 19:43 ` Simple analytics for docs.kernel.org and patchwork, please? Jakub Kicinski
2024-02-26 19:58 ` Jonathan Corbet
2024-02-26 22:52 ` Jakub Kicinski
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).