Skip to content

Commit

Permalink
style: black
Browse files Browse the repository at this point in the history
  • Loading branch information
pbelmans committed Jun 7, 2024
1 parent 606d6dc commit 20bdb28
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 27 deletions.
41 changes: 22 additions & 19 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.

#from sage.env import SAGE_DOC_SRC, SAGE_DOC, SAGE_SRC
# from sage.env import SAGE_DOC_SRC, SAGE_DOC, SAGE_SRC
#
#try:
# try:
# import sage.all
#except ImportError:
# except ImportError:
# raise RuntimeError("to build the documentation you need to be inside a Sage shell (run first the command 'sage -sh' in a shell")

import os
Expand All @@ -26,49 +26,52 @@

# -- Project information -----------------------------------------------------

project = 'Hodge diamond cutter'
copyright = '2021, Pieter Belmans'
author = 'Pieter Belmans'
project = "Hodge diamond cutter"
copyright = "2021, Pieter Belmans"
author = "Pieter Belmans"
# The full version, including alpha/beta/rc tags
release = 'v1.2'
release = "v1.2"

# -- General configuration ---------------------------------------------------

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.mathjax',
'sphinx.ext.todo',
'sphinx.ext.viewcode',
"sphinx.ext.autodoc",
"sphinx.ext.mathjax",
"sphinx.ext.todo",
"sphinx.ext.viewcode",
]

mathjax3_config = {
"tex": {
"inlineMath": [['$', '$']],
"displayMath": [['$$', '$$'], ["\\[", "\\]"]],
"inlineMath": [["$", "$"]],
"displayMath": [["$$", "$$"], ["\\[", "\\]"]],
},
}

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
templates_path = ["_templates"]

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]


# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'furo'
html_logo = 'logo.png'
html_favicon = 'favicon.ico'
html_theme = "furo"
html_logo = "logo.png"
html_favicon = "favicon.ico"

html_js_files = [
('https://plausible.io/js/script.js', {"data-domain": "cutter.ncag.info", "defer": "defer"}),
(
"https://plausible.io/js/script.js",
{"data-domain": "cutter.ncag.info", "defer": "defer"},
),
]
16 changes: 8 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import setuptools

setuptools.setup(
name="diamond",
version="1.2",
author="Pieter Belmans",
author_email="pieter.belmans@uni.lu",
description="Compute and manipulate Hodge diamonds for many classes of smooth projective varieties",
url="https://github.com/pbelmans/hodge-diamond-cutter",
packages=setuptools.find_packages(),
zip_safe=False,
name="diamond",
version="1.2",
author="Pieter Belmans",
author_email="pieter.belmans@uni.lu",
description="Compute and manipulate Hodge diamonds for many classes of smooth projective varieties",
url="https://github.com/pbelmans/hodge-diamond-cutter",
packages=setuptools.find_packages(),
zip_safe=False,
)

0 comments on commit 20bdb28

Please sign in to comment.