Sphinx 7 & python 3.11 support
This commit is contained in:
parent
b2b2df8683
commit
c7510496f8
3 changed files with 13 additions and 10 deletions
|
@ -12,6 +12,6 @@ sphinxcontrib-bibtex
|
||||||
sphinx-galleria
|
sphinx-galleria
|
||||||
reportlab
|
reportlab
|
||||||
ablog
|
ablog
|
||||||
sphinx-storymaker
|
#sphinx-storymaker
|
||||||
sphinx-fasvg
|
sphinx-fasvg
|
||||||
sphinx-nervproject-theme
|
sphinx-nervproject-theme
|
||||||
|
|
|
@ -14,7 +14,7 @@ vcs_uri = "https://procrastinator.nerv-project.eu/"
|
||||||
repository_name = 'kujiu_writer/'
|
repository_name = 'kujiu_writer/'
|
||||||
repository_name += 'kujiulabs'
|
repository_name += 'kujiulabs'
|
||||||
use_ablog = True
|
use_ablog = True
|
||||||
use_bibtex = False
|
use_bibtex = True
|
||||||
use_git = True
|
use_git = True
|
||||||
language = 'fr'
|
language = 'fr'
|
||||||
html_favicon = '_static/favicon.ico'
|
html_favicon = '_static/favicon.ico'
|
||||||
|
@ -51,6 +51,10 @@ if use_ablog:
|
||||||
fontawesome_included = True
|
fontawesome_included = True
|
||||||
fontawesome_css_file = ''
|
fontawesome_css_file = ''
|
||||||
show_authors = True
|
show_authors = True
|
||||||
|
blog_languages = {
|
||||||
|
'fr': ('French', None),
|
||||||
|
'en': ('English', None),
|
||||||
|
}
|
||||||
|
|
||||||
if use_git:
|
if use_git:
|
||||||
from git import Repo
|
from git import Repo
|
||||||
|
@ -126,8 +130,7 @@ html_theme_options = {
|
||||||
('solid', 'books', 'KBR Éditeur 15066', 'https://www.kbr.be', False),
|
('solid', 'books', 'KBR Éditeur 15066', 'https://www.kbr.be', False),
|
||||||
('solid', 'comment', 'xmpp', 'xmpp:kujiu@kujiu.eu', True),
|
('solid', 'comment', 'xmpp', 'xmpp:kujiu@kujiu.eu', True),
|
||||||
('brands', 'mastodon', 'mastodon', 'https://tiphon.nerv-project.eu/@kujiu', True),
|
('brands', 'mastodon', 'mastodon', 'https://tiphon.nerv-project.eu/@kujiu', True),
|
||||||
('brands', 'twitter', 'twitter', 'https://twitter.com/@kujiu', True),
|
('solid', 'mug-hot', 'forgejo', 'https://procrastinator.nerv-project.eu/kujiu', True),
|
||||||
('solid', 'mug-hot', 'gitea', 'https://procrastinator.nerv-project.eu/kujiu', True),
|
|
||||||
('solid', 'film', 'peertube', 'https://clap.nerv-project.eu/video-channels/kujiu_channel/videos', 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),
|
('brands', 'youtube', 'youtube', 'https://www.youtube.com/channel/UC6LcFMVZUOs4WbKvV3p1xVw', True),
|
||||||
('solid', 'podcast', 'podcasts', 'https://kreskenn.nerv-project.eu/channels/kujiulabs/', 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', '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),
|
('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",
|
"mastodon_user": "@kujiu@tiphon.nerv-project.eu",
|
||||||
"fathom": {
|
"fathom": {
|
||||||
'url': '//casanabo.nerv-project.eu',
|
'url': '//casanabo.nerv-project.eu',
|
||||||
|
@ -168,12 +170,12 @@ html_sidebars = {
|
||||||
'**': [
|
'**': [
|
||||||
'about.html',
|
'about.html',
|
||||||
'social.html',
|
'social.html',
|
||||||
'postcard.html',
|
'ablog/postcard.html',
|
||||||
'util/sidetoc.html',
|
'util/sidetoc.html',
|
||||||
'recentposts.html',
|
'ablog/recentposts.html',
|
||||||
'categories.html',
|
'ablog/categories.html',
|
||||||
'tagcloud.html',
|
'ablog/tagcloud.html',
|
||||||
'archives.html',
|
'ablog/archives.html',
|
||||||
'util/searchbox.html',
|
'util/searchbox.html',
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
@ -330,6 +332,7 @@ seqdiag_debug = diag_debug
|
||||||
|
|
||||||
|
|
||||||
if use_bibtex:
|
if use_bibtex:
|
||||||
|
bibtex_bibfiles = ['refs.bib']
|
||||||
import pybtex.style.formatting
|
import pybtex.style.formatting
|
||||||
from pybtex.richtext import Text, Tag
|
from pybtex.richtext import Text, Tag
|
||||||
|
|
||||||
|
|
0
source/refs.bib
Normal file
0
source/refs.bib
Normal file
Loading…
Reference in a new issue