mastodon.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
The original server operated by the Mastodon gGmbH non-profit

Administered by:

Server stats:

355K
active users

#sphinxdoc

1 post1 participant0 posts today
Olivia A-C<p>Discussion post for <a href="https://blog.oliviaappleton.com/posts/0005-sphinx-fediverse.html" rel="nofollow noopener" target="_blank">Developing sphinx-fediverse</a><span><br><br>--------------------------<br><br>A few months ago, I had an idea. What if I could use the Fediverse to embed comments in my sphinx-generated pages?<br><br>It turned out I wasn’t the first to think of this. Many others have used this kind of thing to power the comments of their blogs. Enough so that it was easy to find references on how to implement it.<br><br>The main difficulty was the way I wanted to go about it. I wanted it to be a sphinx plugin, and I wanted it to be both flexible and configurable. This post covers the challenges I encountered.<br><br></span><a href="https://transfem.social/tags/Python" rel="nofollow noopener" target="_blank">#Python</a> <a href="https://transfem.social/tags/SphinxDoc" rel="nofollow noopener" target="_blank">#SphinxDoc</a> <a href="https://transfem.social/tags/FOSS" rel="nofollow noopener" target="_blank">#FOSS</a> <a href="https://transfem.social/tags/FLOSS" rel="nofollow noopener" target="_blank">#FLOSS</a> <a href="https://transfem.social/tags/OSS" rel="nofollow noopener" target="_blank">#OSS</a> <a href="https://transfem.social/tags/FediBridge" rel="nofollow noopener" target="_blank">#FediBridge</a> <a href="https://transfem.social/tags/Mastodon" rel="nofollow noopener" target="_blank">#Mastodon</a> <a href="https://transfem.social/tags/Misskey" rel="nofollow noopener" target="_blank">#Misskey</a> <a href="https://transfem.social/tags/Sharkey" rel="nofollow noopener" target="_blank">#Sharkey</a> <a href="https://transfem.social/tags/Fediverse" rel="nofollow noopener" target="_blank">#Fediverse</a> <a href="https://transfem.social/tags/Fedi" rel="nofollow noopener" target="_blank">#Fedi</a> <a href="https://transfem.social/tags/JavaScript" rel="nofollow noopener" target="_blank">#JavaScript</a></p>
Zło To<p>Ja się nie dziwię że programiści nie chcą dokumentować swoich programów. Weź ustaw sfinksa że wszystkimi plaginami 🤦</p><p><a href="https://101010.pl/tags/programowanie" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programowanie</span></a> <a href="https://101010.pl/tags/sphinxdoc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sphinxdoc</span></a></p>
Olivia A-C<p><span>sphinx-fediverse 0.8.0 is now released. Since the previous version...<br><br>New features:<br>- Support for custom emoji in non-reaction content on Misskey<br>- Support for individual media to be marked as sensitive (mostly in Misskey)<br>- Support for account-wide content warnings in Misskey<br>- Comment parsing now done with async methods<br><br>Bug fixes:<br>- Corrected a typo in article reaction rendering<br>- More CSS changes related to word wrap<br>- Fixed a bug in </span><code>replaceEmoji()</code><span> that caused only the first paragraph of posts to be rendered<br><br>Likely next steps:<br>- Custom emoji in reactions<br>- Find a better way to sanitize Misskey posts<br>- Verify that Mastodon actually returns sanitized HTML (and remove the worst parts if not)<br>- Adapt </span><code>replaceEmoji()</code><span> to directly produce DOM elements instead of relying on the parser<br><br>Special thanks to </span><a href="https://enby.life/@hazelnoot" class="u-url mention" rel="nofollow noopener" target="_blank">@hazelnoot@enby.life</a><span> for pushing me to rewrite the render code<br><br></span><a href="https://transfem.social/tags/Python" rel="nofollow noopener" target="_blank">#Python</a> <a href="https://transfem.social/tags/SphinxDoc" rel="nofollow noopener" target="_blank">#SphinxDoc</a> <a href="https://transfem.social/tags/FOSS" rel="nofollow noopener" target="_blank">#FOSS</a> <a href="https://transfem.social/tags/FLOSS" rel="nofollow noopener" target="_blank">#FLOSS</a> <a href="https://transfem.social/tags/OSS" rel="nofollow noopener" target="_blank">#OSS</a> <a href="https://transfem.social/tags/FediBridge" rel="nofollow noopener" target="_blank">#FediBridge</a> <a href="https://transfem.social/tags/Mastodon" rel="nofollow noopener" target="_blank">#Mastodon</a> <a href="https://transfem.social/tags/Misskey" rel="nofollow noopener" target="_blank">#Misskey</a> <a href="https://transfem.social/tags/Sharkey" rel="nofollow noopener" target="_blank">#Sharkey</a> <a href="https://transfem.social/tags/Fediverse" rel="nofollow noopener" target="_blank">#Fediverse</a> <a href="https://transfem.social/tags/Fedi" rel="nofollow noopener" target="_blank">#Fedi</a></p>
Olivia A-C<p><span>sphinx-fediverse 0.7.0 is now released. Since the previous version...<br><br>New features:<br>- Improved rendering security! It no longer relies on a massive HTML template. Still some progress to make<br>- Support for unicode emoji reactions on Misskey instances<br>- If a comment is too wide for the page, it will now split the username, so: </span><code>@LivInTheLookingGlass@transfem.social</code> will become <code>@LivInTheLookingGlass\n@transfem.social</code><span><br>- Increased use of the comment parser to avoid ambiguities<br>- Comment posts will now include the title of the article and, if on Misskey, put the link on that text<br>- Misskey now supports the following parts of MFM:<br> - anything in standard Markdown<br> - mentions<br> - hashtags<br> - </span><code>&lt;small&gt;</code><span><br> - </span><code>&lt;center&gt;</code><span><br> - </span><code>&lt;i&gt;</code><span><br> - </span><code>&lt;plain&gt;</code><span><br><br>Bug fixes:<br>- Bumped the version of an insecure dependency<br><br>Extra shout-out to the people who "bullied" me into fixing the render code. It's not perfect, but it's a lot better now. Figuring out a better way to <br><br>1. sanitize MFM input<br>2. adapt </span><code>replaceEmoji()</code><span> to work with DOM elements<br>3. get custom emoji working for Misskey instances<br><br>are probably the last real blockers before a 1.0 release. There's a few more Misskey-related things that would be nice, but it's mostly about increasing parity at that point<br><br></span><a href="https://transfem.social/tags/Python" rel="nofollow noopener" target="_blank">#Python</a> <a href="https://transfem.social/tags/SphinxDoc" rel="nofollow noopener" target="_blank">#SphinxDoc</a> <a href="https://transfem.social/tags/FOSS" rel="nofollow noopener" target="_blank">#FOSS</a> <a href="https://transfem.social/tags/FLOSS" rel="nofollow noopener" target="_blank">#FLOSS</a> <a href="https://transfem.social/tags/OSS" rel="nofollow noopener" target="_blank">#OSS</a> <a href="https://transfem.social/tags/FediBridge" rel="nofollow noopener" target="_blank">#FediBridge</a> <a href="https://transfem.social/tags/Mastodon" rel="nofollow noopener" target="_blank">#Mastodon</a> <a href="https://transfem.social/tags/Misskey" rel="nofollow noopener" target="_blank">#Misskey</a> <a href="https://transfem.social/tags/Sharkey" rel="nofollow noopener" target="_blank">#Sharkey</a> <a href="https://transfem.social/tags/Fediverse" rel="nofollow noopener" target="_blank">#Fediverse</a> <a href="https://transfem.social/tags/Fedi" rel="nofollow noopener" target="_blank">#Fedi</a></p>
Olivia A-C<p><span>Which of these issues should I tackle next? I leaning towards render support for emoji reactions (but not custom ones, because I still need to figure that out for Misskey)<br><br></span><a href="https://github.com/LivInTheLookingGlass/sphinx-fediverse/issues/" rel="nofollow noopener" target="_blank">https://github.com/LivInTheLookingGlass/sphinx-fediverse/issues/</a><span><br><br></span><a href="https://transfem.social/tags/Python" rel="nofollow noopener" target="_blank">#Python</a> <a href="https://transfem.social/tags/SphinxDoc" rel="nofollow noopener" target="_blank">#SphinxDoc</a> <a href="https://transfem.social/tags/FOSS" rel="nofollow noopener" target="_blank">#FOSS</a> <a href="https://transfem.social/tags/FLOSS" rel="nofollow noopener" target="_blank">#FLOSS</a> <a href="https://transfem.social/tags/OSS" rel="nofollow noopener" target="_blank">#OSS</a> <a href="https://transfem.social/tags/FediBridge" rel="nofollow noopener" target="_blank">#FediBridge</a> <a href="https://transfem.social/tags/Mastodon" rel="nofollow noopener" target="_blank">#Mastodon</a> <a href="https://transfem.social/tags/Misskey" rel="nofollow noopener" target="_blank">#Misskey</a> <a href="https://transfem.social/tags/Sharkey" rel="nofollow noopener" target="_blank">#Sharkey</a> <a href="https://transfem.social/tags/Fediverse" rel="nofollow noopener" target="_blank">#Fediverse</a> <a href="https://transfem.social/tags/Fedi" rel="nofollow noopener" target="_blank">#Fedi</a></p>
Olivia A-C<p><code>sphinx-fediverse</code><span> 0.6.0 is now released. Since the previous version...<br><br>New features:<br>- (Standard) Markdown rendering for Misskey instances (more MFM support to come later)<br>- Support (in parser only) for emoji-based reactions<br>- Support (in parser only) for sensitive images among non-sensitive images<br>- Dump the post-to-page mapping to _static/ for ease of debug<br>- Support for reply handling on Misskey instances<br><br>Bug fixes:<br>- Icons previously wouldn't show for posts outside the root directory<br>- A typo led to a duplicate icon<br>- Shibuya dark now produces legible icons (and this should be portable to other themes)<br>- the hover effect no longer renders text unreadable on Shibuya dark (again, should be portable)<br><br></span><a href="https://transfem.social/tags/Python" rel="nofollow noopener" target="_blank">#Python</a> <a href="https://transfem.social/tags/SphinxDoc" rel="nofollow noopener" target="_blank">#SphinxDoc</a> <a href="https://transfem.social/tags/FOSS" rel="nofollow noopener" target="_blank">#FOSS</a> <a href="https://transfem.social/tags/FLOSS" rel="nofollow noopener" target="_blank">#FLOSS</a> <a href="https://transfem.social/tags/OSS" rel="nofollow noopener" target="_blank">#OSS</a> <a href="https://transfem.social/tags/FediBridge" rel="nofollow noopener" target="_blank">#FediBridge</a> <a href="https://transfem.social/tags/Mastodon" rel="nofollow noopener" target="_blank">#Mastodon</a> <a href="https://transfem.social/tags/Misskey" rel="nofollow noopener" target="_blank">#Misskey</a> <a href="https://transfem.social/tags/Sharkey" rel="nofollow noopener" target="_blank">#Sharkey</a> <a href="https://transfem.social/tags/Fediverse" rel="nofollow noopener" target="_blank">#Fediverse</a> <a href="https://transfem.social/tags/Fedi" rel="nofollow noopener" target="_blank">#Fedi</a></p>
Olivia A-C<p>And now <code>sphinx-fediverse</code><span> 0.5.3 is released. The big thing here is I've separated the rendering logic from comment parsing, so it's easier to support both flavors. Rendering is still pretty janky, but it's a good start towards the final setup.<br><br>Next on the list: <br>- *key media attachments<br>- better rendering code<br><br></span><a href="https://transfem.social/tags/Python" rel="nofollow noopener" target="_blank">#Python</a> <a href="https://transfem.social/tags/SphinxDoc" rel="nofollow noopener" target="_blank">#SphinxDoc</a> <a href="https://transfem.social/tags/FOSS" rel="nofollow noopener" target="_blank">#FOSS</a> <a href="https://transfem.social/tags/FLOSS" rel="nofollow noopener" target="_blank">#FLOSS</a> <a href="https://transfem.social/tags/OSS" rel="nofollow noopener" target="_blank">#OSS</a> <a href="https://transfem.social/tags/FediBridge" rel="nofollow noopener" target="_blank">#FediBridge</a> <a href="https://transfem.social/tags/Mastodon" rel="nofollow noopener" target="_blank">#Mastodon</a> <a href="https://transfem.social/tags/Misskey" rel="nofollow noopener" target="_blank">#Misskey</a> <a href="https://transfem.social/tags/Sharkey" rel="nofollow noopener" target="_blank">#Sharkey</a></p>
Olivia A-C<p>And with that, <code>sphinx-fediverse</code><span> 0.5.2 is released with initial support for running on Misskey/*key instances.<br><br>Known bugs:<br>- Misskey instances cannot yet load custom emoji or media attachments<br>- CSS for Shibuya theme on Chrome seems to have some minor problems, specifically with the hover effect<br><br>Breaking changes:<br>- the comment directive is now </span><code>fedi-comments</code> rather than <code>mastodon-comments</code><span><br>- some config values have had their name changed<br>- you are now required to specify what flavor of fediverse instance you're hosting on<br><br></span><a href="https://transfem.social/tags/Python" rel="nofollow noopener" target="_blank">#Python</a> <a href="https://transfem.social/tags/SphinxDoc" rel="nofollow noopener" target="_blank">#SphinxDoc</a> <a href="https://transfem.social/tags/FOSS" rel="nofollow noopener" target="_blank">#FOSS</a> <a href="https://transfem.social/tags/FLOSS" rel="nofollow noopener" target="_blank">#FLOSS</a> <a href="https://transfem.social/tags/OSS" rel="nofollow noopener" target="_blank">#OSS</a> <a href="https://transfem.social/tags/FediBridge" rel="nofollow noopener" target="_blank">#FediBridge</a> <a href="https://transfem.social/tags/Mastodon" rel="nofollow noopener" target="_blank">#Mastodon</a> <a href="https://transfem.social/tags/Misskey" rel="nofollow noopener" target="_blank">#Misskey</a> <a href="https://transfem.social/tags/Sharkey" rel="nofollow noopener" target="_blank">#Sharkey</a></p>
Olivia A-C<p>Good news! <code>sphinx-fediverse</code><span> is now on pypi!<br><br></span><a href="https://pypi.org/project/sphinx-fediverse/" rel="nofollow noopener" target="_blank">https://pypi.org/project/sphinx-fediverse/</a><span><br><br>The project is not feature-complete yet, but it should be worth of the "beta" label </span>💖<span><br><br></span><a href="https://transfem.social/tags/SphinxDoc" rel="nofollow noopener" target="_blank">#SphinxDoc</a> <a href="https://transfem.social/tags/FediBridge" rel="nofollow noopener" target="_blank">#FediBridge</a> <a href="https://transfem.social/tags/Fediverse" rel="nofollow noopener" target="_blank">#Fediverse</a> <a href="https://transfem.social/tags/Python" rel="nofollow noopener" target="_blank">#Python</a> <a href="https://transfem.social/tags/FOSS" rel="nofollow noopener" target="_blank">#FOSS</a> <a href="https://transfem.social/tags/FLOSS" rel="nofollow noopener" target="_blank">#FLOSS</a></p>
Olivia A-C<p>And now the last barrier to me publishing <code>sphinx-fediverse</code><span> is literally adding the "twine" line to my Makefile. I'll probably get this tomorrow, and maybe make an auto-publish script on GitHub as well<br><br></span><a href="https://transfem.social/tags/SphinxDoc" rel="nofollow noopener" target="_blank">#SphinxDoc</a> <a href="https://transfem.social/tags/FediBridge" rel="nofollow noopener" target="_blank">#FediBridge</a> <a href="https://transfem.social/tags/Fediverse" rel="nofollow noopener" target="_blank">#Fediverse</a> <a href="https://transfem.social/tags/Python" rel="nofollow noopener" target="_blank">#Python</a> <a href="https://transfem.social/tags/FOSS" rel="nofollow noopener" target="_blank">#FOSS</a> <a href="https://transfem.social/tags/FLOSS" rel="nofollow noopener" target="_blank">#FLOSS</a></p>
Olivia A-C<p><span>I've now updated sphinx-fediverse to include boost and like counts, both per-comment and for the originating post. This means there are now only 2 barriers between me and throwing it on PyPi: cleaning up the remaining CSS errors, and writing the publish script<br><br></span><a href="https://transfem.social/tags/SphinxDoc" rel="nofollow noopener" target="_blank">#SphinxDoc</a> <a href="https://transfem.social/tags/FediBridge" rel="nofollow noopener" target="_blank">#FediBridge</a> <a href="https://transfem.social/tags/Fediverse" rel="nofollow noopener" target="_blank">#Fediverse</a> <a href="https://transfem.social/tags/Python" rel="nofollow noopener" target="_blank">#Python</a> <a href="https://transfem.social/tags/FOSS" rel="nofollow noopener" target="_blank">#FOSS</a> <a href="https://transfem.social/tags/FLOSS" rel="nofollow noopener" target="_blank">#FLOSS</a></p>
Olivia A-C<p>New account, so new <a href="https://transfem.social/tags/introduction" rel="nofollow noopener" target="_blank">#introduction</a><span>. Let's do it again!<br><br>I have a </span><a href="https://transfem.social/tags/MastersDegree" rel="nofollow noopener" target="_blank">#MastersDegree</a> in <a href="https://transfem.social/tags/ComputerScience" rel="nofollow noopener" target="_blank">#ComputerScience</a> and <a href="https://transfem.social/tags/ComputerEngineering" rel="nofollow noopener" target="_blank">#ComputerEngineering</a>. I went to <a href="https://transfem.social/tags/NMU" rel="nofollow noopener" target="_blank">#NMU</a> for undergrad and <a href="https://transfem.social/tags/MSU" rel="nofollow noopener" target="_blank">#MSU</a> for my graduate degree. I currently work at <a href="https://transfem.social/tags/UChicago" rel="nofollow noopener" target="_blank">#UChicago</a> for the <a href="https://transfem.social/tags/TMWCenter" rel="nofollow noopener" target="_blank">#TMWCenter</a><span>, which focuses on helping young children acquire language (and therefore other learning skills) faster.<br><br>In my spare time, I develop </span><a href="https://transfem.social/tags/OpenSourceSoftware" rel="nofollow noopener" target="_blank">#OpenSourceSoftware</a><span> such as<br>- a </span><a href="https://transfem.social/tags/SphinxDoc" rel="nofollow noopener" target="_blank">#SphinxDoc</a> extension that embed <a href="https://transfem.social/tags/Fediverse" rel="nofollow noopener" target="_blank">#Fediverse</a><span> comments on your page<br>- a library to talk to </span><a href="https://transfem.social/tags/ManifoldMarkets" rel="nofollow noopener" target="_blank">#ManifoldMarkets</a> from native <a href="https://transfem.social/tags/Python" rel="nofollow noopener" target="_blank">#Python</a><span><br>- a </span><a href="https://transfem.social/tags/PredictionMarket" rel="nofollow noopener" target="_blank">#PredictionMarket</a><span> manager using the above<br>- a </span><a href="https://transfem.social/tags/transpiler" rel="nofollow noopener" target="_blank">#transpiler</a> from a subset of Python to <a href="https://transfem.social/tags/OpenStreetMaps" rel="nofollow noopener" target="_blank">#OpenStreetMaps</a>'s <a href="https://transfem.social/tags/OverpassQL" rel="nofollow noopener" target="_blank">#OverpassQL</a><span><br>- bug fixes to many other projects, including </span><a href="https://transfem.social/tags/mypy" rel="nofollow noopener" target="_blank">#mypy</a>, <a href="https://transfem.social/tags/base58" rel="nofollow noopener" target="_blank">#base58</a>, <a href="https://transfem.social/tags/attrs" rel="nofollow noopener" target="_blank">#attrs</a>, <a href="https://transfem.social/tags/CPython" rel="nofollow noopener" target="_blank">#CPython</a><span>, &amp; more<br><br>I spend a fair bit of my time these days on </span><a href="https://transfem.social/tags/MathResearch" rel="nofollow noopener" target="_blank">#MathResearch</a>, specifically into the <a href="https://transfem.social/tags/ThueMorse" rel="nofollow noopener" target="_blank">#ThueMorse</a><span> Sequence and its extensions.<br><br>I'm also a hobbyist editor on OpenStreetMap.<br><br></span><a href="https://transfem.social/tags/Demisexual" rel="nofollow noopener" target="_blank">#Demisexual</a>, <a href="https://transfem.social/tags/transfem" rel="nofollow noopener" target="_blank">#transfem</a>, and happily engaged to my <a href="https://transfem.social/tags/enby" rel="nofollow noopener" target="_blank">#enby</a><span> sweetheart.<br><br>We have two cats: </span><a href="https://transfem.social/tags/OpheTheLoaf" rel="nofollow noopener" target="_blank">#OpheTheLoaf</a> and <a href="https://transfem.social/tags/MayalaranTheCat" rel="nofollow noopener" target="_blank">#MayalaranTheCat</a> (yes, from <a href="https://transfem.social/tags/StormlightArchive" rel="nofollow noopener" target="_blank">#StormlightArchive</a>) See <a href="https://transfem.social/notes/a4im5yv5i02700my" rel="nofollow noopener" target="_blank">here</a><span> for more on them!<br><br>I speak English fluently, Spanish haltingly, and am trying to learn Chinese<br><br></span><a href="https://transfem.social/tags/queer" rel="nofollow noopener" target="_blank">#queer</a> <a href="https://transfem.social/tags/Chicago" rel="nofollow noopener" target="_blank">#Chicago</a></p>
Olivia A-C<p>This is the test post for the initial alpha of <code>sphinx-fediverse</code>!</p><p><a href="https://oliviaappleton.com/sphinx-fediverse/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">oliviaappleton.com/sphinx-fedi</span><span class="invisible">verse/</span></a></p><p>We're now on version 0.2.3, which adds support for automatic posting of comments sections + media attachment handling + unit tests</p><p><a href="https://tech.lgbt/tags/SphinxDoc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SphinxDoc</span></a> <a href="https://tech.lgbt/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://tech.lgbt/tags/FediBridge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FediBridge</span></a> <a href="https://tech.lgbt/tags/Fediverse" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Fediverse</span></a> <a href="https://tech.lgbt/tags/FOSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FOSS</span></a></p>
Olivia A-C<p>Have any of my followers ever needed to test a <a href="https://tech.lgbt/tags/sphinxDoc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sphinxDoc</span></a> extension? I am having a remarkably hard time making it work</p><p><a href="https://tech.lgbt/tags/sphinx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sphinx</span></a> <a href="https://tech.lgbt/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://tech.lgbt/tags/askPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>askPython</span></a> <a href="https://tech.lgbt/tags/AskFedi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AskFedi</span></a></p>
Olivia A-C<p><a href="https://github.com/LivInTheLookingGlass/sphinx-fediverse" rel="nofollow noopener" target="_blank">This</a> is my very-WIP <a href="https://tech.lgbt/tags/SphinxDoc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SphinxDoc</span></a> extension to add comment sections hosted on the <a href="https://tech.lgbt/tags/Fediverse" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Fediverse</span></a>!</p><p>Right now it is a solid PoC, &amp; I want to improve it a fair bit before publishing. Feel free to play with it!</p><p>Update: see here for more <a href="https://tech.lgbt/@LivInTheLookingGlass/114032235423688612" translate="no" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">tech.lgbt/@LivInTheLookingGlas</span><span class="invisible">s/114032235423688612</span></a></p><p><a href="https://tech.lgbt/tags/FediBridge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FediBridge</span></a> <a href="https://tech.lgbt/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://tech.lgbt/tags/FOSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FOSS</span></a></p>
Olivia A-C<p><span class="h-card" translate="no"><a href="https://hachyderm.io/@Unlogic" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Unlogic</span></a></span><br>Now in a sphinx-generated doc!</p><p>Next problem is going to be making it play well with themes. That is definitely a for-later problem. I'm going to be focusing on making it work with <code>shibuya</code> and Dark Reader first, if possible.</p><p>If this works, all of my websites are going to instantly have comment sections! I build pretty much everything in Sphinx, since it's so easy</p><p><a href="https://tech.lgbt/tags/SphinxDoc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SphinxDoc</span></a> <a href="https://tech.lgbt/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://tech.lgbt/tags/FediBridge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FediBridge</span></a> <a href="https://tech.lgbt/tags/Fediverse" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Fediverse</span></a></p>
Olivia A-C<p><span class="h-card" translate="no"><a href="https://hachyderm.io/@Unlogic" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Unlogic</span></a></span><br>Behold! The prototype!</p><p><a href="https://tech.lgbt/tags/SphinxDoc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SphinxDoc</span></a> <a href="https://tech.lgbt/tags/FediBridge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FediBridge</span></a></p>
Olivia A-C<p>Suppose I want to put comments on my static sphinx site, and I want it to be sourced from the fediverse.</p><p>How difficult would this be? I would ideally like to support comment threading. I also might want to make this into a sphinx extension, such that it checks every page has a corresponding post before publishing. This would mean the URL needs to strictly define the post</p><p><a href="https://tech.lgbt/tags/AskMastodon" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AskMastodon</span></a> <a href="https://tech.lgbt/tags/AskFedi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AskFedi</span></a> <a href="https://tech.lgbt/tags/SphinxDoc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SphinxDoc</span></a> <a href="https://tech.lgbt/tags/AskSysadmin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AskSysadmin</span></a></p>
Olivia A-C<p>Does anyone know of a <a href="https://tech.lgbt/tags/Sphinx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Sphinx</span></a> toolkit that would be good for writing a programmer's <a href="https://tech.lgbt/tags/portfolio" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>portfolio</span></a> / <a href="https://tech.lgbt/tags/resume" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>resume</span></a>? I would love it if my resume could be (in part) a living website generated by <a href="https://tech.lgbt/tags/SphinxDoc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SphinxDoc</span></a></p>
🍒🌳 Hartmut Goebel<p>I'm seeking experiences in multi-language <a href="https://nerdculture.de/tags/documentation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>documentation</span></a>, e.g in <a href="https://nerdculture.de/tags/Sphinx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Sphinx</span></a> <a href="https://nerdculture.de/tags/SphinxDoc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SphinxDoc</span></a>, <a href="https://nerdculture.de/tags/MkDocs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MkDocs</span></a>, …</p><p>What system/tool can you recommend? How do you handle contributions in case a person not speaking English (which is the 'main' language) wants to add some section?</p><p>The aim is to create docs for <a href="https://nerdculture.de/tags/tryton" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tryton</span></a>. Thus as a bonus we need/want multi-country docs, too. E.g. for describing country-specific taxing — where we don't need information for France in the English master neither in the German translation, but the German translation needs different parts for Germany, Austria and Switzerland. (And things get worse counting in all the countries speaking English or French.) If you have experiences with this, please share.</p><p><a href="https://nerdculture.de/tags/followerpower" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>followerpower</span></a> <a href="https://nerdculture.de/tags/PleaseBoost" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PleaseBoost</span></a> <a href="https://nerdculture.de/tags/ReadTheDocs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ReadTheDocs</span></a> <a href="https://nerdculture.de/tags/RTD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RTD</span></a></p>