Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve docs building #19

Merged
merged 1 commit into from
Nov 9, 2023
Merged

Improve docs building #19

merged 1 commit into from
Nov 9, 2023

Conversation

slowaner
Copy link
Contributor

@slowaner slowaner commented Nov 7, 2023

Добавлено полное перечисление пакетов для сборки документации.

https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html

Зависимости для документации выделены в отдельную опциональную группу. Эти зависимости экспортируются в docs/requirements.in затем при помощи pip-compile разворачивается в полный список пакетов requirements.txt.

Группа docs - для сборки документации, docs-dev- для разработки документации (сейчас только для обновления зависимостей в requirements.txt).

Для поддержки групп пакетов пришлось обновить poetry - обновил сразу до 1.7.0

Добавил конфигурирование версии poetry в Dockerfile и убрал из него ненужный аргумент PIP_INDEX_URL.

@slowaner slowaner requested review from neexee and perastov November 7, 2023 12:23
pyproject.toml Show resolved Hide resolved
@slowaner slowaner force-pushed the improve-docs-building branch from 363b616 to d5322df Compare November 8, 2023 12:21
Makefile Outdated Show resolved Hide resolved
@slowaner slowaner force-pushed the improve-docs-building branch from d5322df to e922001 Compare November 9, 2023 07:41
@slowaner slowaner merged commit f6fd261 into main Nov 9, 2023
4 checks passed
@slowaner slowaner deleted the improve-docs-building branch November 9, 2023 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants