this post was submitted on 12 May 2026
4 points (100.0% liked)
Python
7985 readers
1 users here now
Welcome to the Python community on the programming.dev Lemmy instance!
📅 Events
Past
November 2023
- PyCon Ireland 2023, 11-12th
- PyData Tel Aviv 2023 14th
October 2023
- PyConES Canarias 2023, 6-8th
- DjangoCon US 2023, 16-20th (!django 💬)
July 2023
- PyDelhi Meetup, 2nd
- PyCon Israel, 4-5th
- DFW Pythoneers, 6th
- Django Girls Abraka, 6-7th
- SciPy 2023 10-16th, Austin
- IndyPy, 11th
- Leipzig Python User Group, 11th
- Austin Python, 12th
- EuroPython 2023, 17-23rd
- Austin Python: Evening of Coding, 18th
- PyHEP.dev 2023 - "Python in HEP" Developer's Workshop, 25th
August 2023
- PyLadies Dublin, 15th
- EuroSciPy 2023, 14-18th
September 2023
- PyData Amsterdam, 14-16th
- PyCon UK, 22nd - 25th
🐍 Python project:
- Python
- Documentation
- News & Blog
- Python Planet blog aggregator
💓 Python Community:
- #python IRC for general questions
- #python-dev IRC for CPython developers
- PySlackers Slack channel
- Python Discord server
- Python Weekly newsletters
- Mailing lists
- Forum
✨ Python Ecosystem:
🌌 Fediverse
Communities
- #python on Mastodon
- c/django on programming.dev
- c/pythorhead on lemmy.dbzer0.com
Projects
- Pythörhead: a Python library for interacting with Lemmy
- Plemmy: a Python package for accessing the Lemmy API
- pylemmy pylemmy enables simple access to Lemmy's API with Python
- mastodon.py, a Python wrapper for the Mastodon API
Feeds
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
i wrote sphinx-external-toc-strict, which is a safer sphinx-external-toc. So i'm competent in Sphinx docs.
docs/folderFollow /u/GrumpyBike1020 advise and move the
docs/out ofsrc/and into the project base folder.Create two venv
.doc/.venvand.venv. Assuming you're usingpyenv, create.doc/.python-versionand.venv/.python-versionand.tox/.python-version. Add these to your.gitignore.Your requirements management is overly simplistic. Do yourself a favor and use wreck to manage multiple venv requirements.
pyproject.toml configuration
Copy tox-req.ini into your project base folder.
docs/reference docs/conf.py
add this docs/Makefile modify as needed.
Here is an example docs/_toc.yml modify for your needs.
add this rtd config and be aware of the Python version must match Python version in
tox.ini. You will forget this, it'll bite you in the ass, then you'll learn this lesson good and hard. Just come to terms that you will make this mistake.You are gonna have to get really good at using intersphinx inventories. The
docs/Makefilewill lessen the learning curve.The front page of your site is
docs/index.rst, Create folder:docs/code. This is the root folder of your in-code documentation.No you don't. No table of contents in the history of time had a root named,
Source files. In the TOC, you'll have a bunch of articles and acode/folder.When you have questions, i'm always paying attention to this community. Just post a question will be sure to see it. Don't forget to provide your projects github repo url. Explain your issue and ask me to fix it. I'll create an GH issue with the proposed change. You have to give me the go ahead before i'll do any coding leading to a PR. I need your assurances that the change meets your approval before starting.