Skip to content

Commit

Permalink
Add UV to manage the project env
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbenque committed Jan 13, 2025
1 parent 7dd26d3 commit 1f4b541
Show file tree
Hide file tree
Showing 5 changed files with 496 additions and 21 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ _build/
.*.swp
deploy.sh
venv/
.venv/
.DS_Store
5 changes: 3 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,14 @@
'_build',
'Thumbs.db',
'.DS_Store',
'Readme.md',
'README.md',
'www',
'www2',
'_themes/theme/static/fonts/cptools/README.md',
'requirements.txt',
'robots.txt',
'SECURITY.md'
'SECURITY.md',
'.venv'
]

# -- Substitutions
Expand Down
23 changes: 23 additions & 0 deletions pyproject-poetry.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[tool.poetry]
name = "documentation"
version = "2024.9.0"
description = "CryptPad official documentation"
authors = ["The CryptPad Team <contact@cryptpad.org>"]
license = "CC-BY"
readme = "README.md"
packages = [{include = "cryptpad_documentation"}]

[tool.poetry.dependencies]
python = "^3.10"
Sphinx = "^5.3.0"
recommonmark = "^0.7.1"
sphinx-intl = "^2.0.1"
sphinx-markdown-tables = "^0.0.17"
sphinx_fontawesome = "^0.0.6"
sphinx-sitemap = "^2.2.1"
Jinja2 = "^3.1.4"


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
34 changes: 15 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
[tool.poetry]
[project]
authors = [
{name = "The CryptPad Team", email = "contact@cryptpad.org"},
]
license = {text = "CC-BY"}
requires-python = "<4.0,>=3.10"
dependencies = [
"Sphinx<6.0.0,>=5.3.0",
"recommonmark<1.0.0,>=0.7.1",
"sphinx-intl<3.0.0,>=2.0.1",
"sphinx-markdown-tables<1.0.0,>=0.0.17",
"sphinx-fontawesome<1.0.0,>=0.0.6",
"sphinx-sitemap<3.0.0,>=2.2.1",
"Jinja2<4.0.0,>=3.1.4",
]
name = "documentation"
version = "2024.9.0"
description = "CryptPad official documentation"
authors = ["The CryptPad Team <contact@cryptpad.org>"]
license = "CC-BY"
readme = "README.md"
packages = [{include = "cryptpad_documentation"}]

[tool.poetry.dependencies]
python = "^3.10"
Sphinx = "^5.3.0"
recommonmark = "^0.7.1"
sphinx-intl = "^2.0.1"
sphinx-markdown-tables = "^0.0.17"
sphinx_fontawesome = "^0.0.6"
sphinx-sitemap = "^2.2.1"
Jinja2 = "^3.1.4"


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
Loading

0 comments on commit 1f4b541

Please sign in to comment.