Skip to content
Snippets Groups Projects
Commit 8c26690f authored by Vincent Texier's avatar Vincent Texier
Browse files

0.57.0

parent 2e9d1787
Branches
Tags
1 merge request!101Release 0.57.0
Pipeline #8587 passed with warnings
......@@ -21,7 +21,7 @@ from unittest.mock import MagicMock
# 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.
# sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('..'))
sys.path.insert(0, os.path.abspath(".."))
# -- General configuration ------------------------------------------------
......@@ -32,49 +32,51 @@ sys.path.insert(0, os.path.abspath('..'))
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.doctest',
'sphinx.ext.todo',
'sphinx.ext.coverage',
"sphinx.ext.autodoc",
"sphinx.ext.doctest",
"sphinx.ext.todo",
"sphinx.ext.coverage",
]
class Mock(MagicMock):
@classmethod
def __getattr__(cls, name):
return Mock()
# BUG: trigger a recursion error when run with python 3...
# MOCK_MODULES = ['libnacl', 'libnacl.sign']
# sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
#
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
templates_path = ["_templates"]
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
# source_suffix = ['.rst', '.md']
source_suffix = '.rst'
source_suffix = ".rst"
# The encoding of source files.
# source_encoding = 'utf-8-sig'
# The master toctree document.
master_doc = 'index'
master_doc = "index"
# General information about the project.
project = 'duniterpy'
copyright = '2019, caner & inso & vit'
author = 'caner & inso & vit'
project = "duniterpy"
copyright = "2019, caner & inso & vit"
author = "caner & inso & vit"
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '0.56.0'
version = "0.57.0"
# The full version, including alpha/beta/rc tags.
release = '0.56.0'
release = "0.57.0"
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
......@@ -91,7 +93,7 @@ language = None
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build']
exclude_patterns = ["_build"]
# The reST default role (used for this markup: `text`) to use for all
# documents.
......@@ -109,7 +111,7 @@ exclude_patterns = ['_build']
# show_authors = False
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
pygments_style = "sphinx"
# A list of ignored prefixes for module index sorting.
# modindex_common_prefix = []
......@@ -126,7 +128,7 @@ todo_include_todos = True
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
# html_theme = 'alabaster'
html_theme = 'sphinx_rtd_theme'
html_theme = "sphinx_rtd_theme"
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
......@@ -218,20 +220,17 @@ html_theme = 'sphinx_rtd_theme'
# html_search_scorer = 'scorer.js'
# Output file base name for HTML help builder.
htmlhelp_basename = 'duniterpydoc'
htmlhelp_basename = "duniterpydoc"
# -- Options for LaTeX output ---------------------------------------------
latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#'papersize': 'letterpaper',
# The font size ('10pt', '11pt' or '12pt').
#'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
#'preamble': '',
# Latex figure (float) alignment
#'figure_align': 'htbp',
}
......@@ -240,8 +239,13 @@ latex_elements = {
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'duniterpy.tex', 'duniterpy Documentation',
'caner \\& inso', 'manual'),
(
master_doc,
"duniterpy.tex",
"duniterpy Documentation",
"caner \\& inso",
"manual",
),
]
# The name of an image file (relative to this directory) to place at the top of
......@@ -269,10 +273,7 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
(master_doc, 'duniterpy', 'duniterpy Documentation',
[author], 1)
]
man_pages = [(master_doc, "duniterpy", "duniterpy Documentation", [author], 1)]
# If true, show URL addresses after external links.
# man_show_urls = False
......@@ -284,9 +285,15 @@ man_pages = [
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 'duniterpy', 'duniterpy Documentation',
author, 'duniterpy', 'One line description of project.',
'Miscellaneous'),
(
master_doc,
"duniterpy",
"duniterpy Documentation",
author,
"duniterpy",
"One line description of project.",
"Miscellaneous",
),
]
# Documents to append as an appendix to all manuals.
......
......@@ -18,7 +18,7 @@
__author__ = "Caner Candan & inso & vit"
__version__ = "0.56.0"
__version__ = "0.57.0"
__nonsense__ = "duniter"
from . import api, documents, key
[tool]
[tool.poetry]
name = "duniterpy"
version = "0.56.0"
version = "0.57.0"
description = "Python library for developers of Duniter clients"
authors = ["inso <insomniak.fr@gmail.com>", "canercandan", "s_b"]
maintainers = ["vit <vit@free.fr>", "Moul <moul@moul.re>"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment