Adopt sphinx-scrapy, with docs dependencies in a dependency group
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Documentación
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- documentation
Línea de trabajo
The docs build is configured in docs/conf.py, tox.ini under [testenv:docs], and .readthedocs.yml; the dependencies live in docs/requirements.txt. A pull request #1614 is already open against this issue, so the work is claimed. Check that PR's state before starting; if you pick it up, done means the docs build passes with -W and installs from a pyproject.toml docs dependency group.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
Adopt sphinx-scrapy 0.15.0 for the documentation build, and move the Sphinx docs dependencies out of docs/requirements.txt into a docs dependency group in pyproject.toml.
This project currently fails two checks in the zyte-oss-maintenance report:
sphinx-scrapy:sphinx_scrapynot indocs/conf.py.no-docs-requirements: founddocs/requirements.txt.
Current state
docs/conf.pyusessphinx_rtd_themeas both an extension and the HTML theme.docs/requirements.txtpinssphinx==7.2.6andsphinx-rtd-theme==1.3.0, installed via-rdocs/requirements.txtintox.ini's[testenv:docs]and viarequirements: docs/requirements.txtin.readthedocs.yml.
Proposed changes
- Switch
docs/conf.pyfromsphinx_rtd_themeto sphinx-scrapy 0.15.0, and add its pre-commit hook (pinned to the same version as the toxrequires, per thesphinx-scrapy-pinscheck). - Move the docs dependencies into a
docsdependency group inpyproject.toml(PEP 735[dependency-groups]), instead ofdocs/requirements.in/docs/requirements.txt— theno-docs-requirementscheck requires the dependency-group form, not a requirements file (even a compiled one). - Update the
docsenv intox.iniand the Python install section of.readthedocs.ymlto install from that dependency group instead ofdocs/requirements.txt. - Keep
tox -e docsbuilding with-W(fail-on-warning).
Reference
- zytedata/url-matcher#29 adopted sphinx-scrapy similarly, but kept a compiled
docs/requirements.in/.txt— that part shouldn't be copied here since it still failsno-docs-requirements. - Maintenance report sections:
sphinx-scrapy,no-docs-requirements.
- Lenguaje dominante
- Python
- Estrellas
- 2.9k
- Forks
- 545
- Merge medio
- 2 d 4 h
- PR fusionados (30 d)
- 17
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de scrapinghub/dateparser
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
scrapinghub/dateparser#1617 ·
Los mantenedores suelen responder en 1 día
-
StaticTzInfo has localize() but not normalize(), so pytz-detecting code crashes on itQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 70/100
scrapinghub/dateparser#1591 ·
Los mantenedores suelen responder en 1 día
-
Validate on Python 3.15Posiblemente ocupada @kishan3 la tomó hace 25 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
scrapinghub/dateparser#1548 ·
Los mantenedores suelen responder en 1 día
-
search_dates() raises IndexError for the zh-Hans, zh-Hant and yue localesPosiblemente ocupada @abhi-0203 la tomó hace 88 días. Abiertosearch_dates Status: Bug confirmed Type: Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
scrapinghub/dateparser#1372 ·
Los mantenedores suelen responder en 1 día
-
Enable branch coverage, upload test results and use Codecov OIDCPosiblemente ocupada @yamilmaud la tomó hace 3 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 20/100
scrapinghub/dateparser#1611 ·
Los mantenedores suelen responder en 1 día
Todos los issues de scrapinghub/dateparser
Issues similares
-
[19.0] pos_sale: settling an order with a 0 down payment line crashes (reading 'reward_id') and leaves a wrong amount duePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 79/100
developmentseed/titiler-covjson#164 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
awslabs/visual-asset-management-system#2164 ·
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
MakazhanAlpamys/Soup#3589 ·
Los mantenedores suelen responder en 1 día
-
channels status reports the wrong Enabled value for Feishu instances and default-enabled WebSocketAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día