Sphinx 7 & python 3.11 support

This commit is contained in:
Kujiu 2023-08-17 02:03:10 +02:00
parent b2b2df8683
commit c7510496f8
Signed by: kujiu
GPG key ID: ABBB2CAC6855599F
3 changed files with 13 additions and 10 deletions

View file

@ -12,6 +12,6 @@ sphinxcontrib-bibtex
sphinx-galleria
reportlab
ablog
sphinx-storymaker
#sphinx-storymaker
sphinx-fasvg
sphinx-nervproject-theme

View file

@ -14,7 +14,7 @@ vcs_uri = "https://procrastinator.nerv-project.eu/"
repository_name = 'kujiu_writer/'
repository_name += 'kujiulabs'
use_ablog = True
use_bibtex = False
use_bibtex = True
use_git = True
language = 'fr'
html_favicon = '_static/favicon.ico'
@ -51,6 +51,10 @@ if use_ablog:
fontawesome_included = True
fontawesome_css_file = ''
show_authors = True
blog_languages = {
'fr': ('French', None),
'en': ('English', None),
}
if use_git:
from git import Repo
@ -126,8 +130,7 @@ html_theme_options = {
('solid', 'books', 'KBR Éditeur 15066', 'https://www.kbr.be', False),
('solid', 'comment', 'xmpp', 'xmpp:kujiu@kujiu.eu', True),
('brands', 'mastodon', 'mastodon', 'https://tiphon.nerv-project.eu/@kujiu', True),
('brands', 'twitter', 'twitter', 'https://twitter.com/@kujiu', True),
('solid', 'mug-hot', 'gitea', 'https://procrastinator.nerv-project.eu/kujiu', True),
('solid', 'mug-hot', 'forgejo', 'https://procrastinator.nerv-project.eu/kujiu', True),
('solid', 'film', 'peertube', 'https://clap.nerv-project.eu/video-channels/kujiu_channel/videos', True),
('brands', 'youtube', 'youtube', 'https://www.youtube.com/channel/UC6LcFMVZUOs4WbKvV3p1xVw', True),
('solid', 'podcast', 'podcasts', 'https://kreskenn.nerv-project.eu/channels/kujiulabs/', True),
@ -135,7 +138,6 @@ html_theme_options = {
('solid', 'rss', 'rss', 'https://kujiu.eu/blog/atom.xml', False),
('solid', 'envelope', 'newsletter', 'https://e8eb781a.sibforms.com/serve/MUIEAJvJnY3tRS7Nh4RvCneup4b6zYrTqGw3TUsq3igy7_QACEbhSd8G26qTXES6uJS-fGtcGBaji0Os0eWK2CY2it80LrbbXL7WRdNibWlpKtLD2sv43rRROQxdBktxF0qci_7hXvkRuAKLRk_X3NtNCkRUV2prn0BHb4g4tr8vck_yic-nw_ZQlmAPWSrFd1FwGBGTqf1M_Frm', False),
],
"twitter_user": "kujiu",
"mastodon_user": "@kujiu@tiphon.nerv-project.eu",
"fathom": {
'url': '//casanabo.nerv-project.eu',
@ -168,12 +170,12 @@ html_sidebars = {
'**': [
'about.html',
'social.html',
'postcard.html',
'ablog/postcard.html',
'util/sidetoc.html',
'recentposts.html',
'categories.html',
'tagcloud.html',
'archives.html',
'ablog/recentposts.html',
'ablog/categories.html',
'ablog/tagcloud.html',
'ablog/archives.html',
'util/searchbox.html',
],
}
@ -330,6 +332,7 @@ seqdiag_debug = diag_debug
if use_bibtex:
bibtex_bibfiles = ['refs.bib']
import pybtex.style.formatting
from pybtex.richtext import Text, Tag

0
source/refs.bib Normal file
View file