Skip to content

Commit 8b1d03f

Browse files
authored
docs: Meta og descriptions (#33)
1 parent 856f7f9 commit 8b1d03f

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

Diff for: docs/source/conf.py

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"sphinx.ext.napoleon",
4040
"sphinxcontrib_trio",
4141
"enum_tools.autoenum",
42+
"sphinxext.opengraph",
4243
]
4344

4445
# Add any paths that contain templates here, relative to this directory.

Diff for: docs/source/index.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:og:description: Python library for converting lists to fancy ASCII tables for displaying in the terminal and on Discord. Install with \`pip install -U table2ascii\`.
2+
13
table2ascii
24
===========
35

Diff for: setup.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,12 @@ def requirements():
6868

6969
extras_require = {
7070
"docs": [
71-
"sphinx==4.2.0",
72-
"enum-tools==0.6.4",
73-
"sphinx-toolbox==2.15.0",
74-
"sphinxcontrib_trio==1.1.2",
75-
"sphinx-rtd-theme==1.0.0",
71+
"sphinx>=4.4.0,<5",
72+
"enum-tools>=0.9.0.post1,<1",
73+
"sphinx-toolbox>=2.18.0,<3",
74+
"sphinxcontrib_trio>=1.1.2,<2",
75+
"sphinx-rtd-theme>=1.0.0,<2",
76+
"sphinxext-opengraph>=0.6.2,<1",
7677
],
7778
}
7879

0 commit comments

Comments
 (0)