Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DuniterPy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
DuniterPy
Commits
8c26690f
Commit
8c26690f
authored
5 years ago
by
Vincent Texier
Browse files
Options
Downloads
Patches
Plain Diff
0.57.0
parent
2e9d1787
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!101
Release 0.57.0
Pipeline
#8587
passed with warnings
5 years ago
Stage: format
Stage: test
Stage: build
Stage: release
Stage: publish_doc
Changes
3
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/conf.py
+91
-84
91 additions, 84 deletions
docs/conf.py
duniterpy/__init__.py
+1
-1
1 addition, 1 deletion
duniterpy/__init__.py
pyproject.toml
+1
-1
1 addition, 1 deletion
pyproject.toml
with
93 additions
and
86 deletions
docs/conf.py
+
91
−
84
View file @
8c26690f
...
...
@@ -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.5
6
.0
'
version
=
"
0.5
7
.0
"
# The full version, including alpha/beta/rc tags.
release
=
'
0.5
6
.0
'
release
=
"
0.5
7
.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.
...
...
This diff is collapsed.
Click to expand it.
duniterpy/__init__.py
+
1
−
1
View file @
8c26690f
...
...
@@ -18,7 +18,7 @@
__author__
=
"
Caner Candan & inso & vit
"
__version__
=
"
0.5
6
.0
"
__version__
=
"
0.5
7
.0
"
__nonsense__
=
"
duniter
"
from
.
import
api
,
documents
,
key
This diff is collapsed.
Click to expand it.
pyproject.toml
+
1
−
1
View file @
8c26690f
[tool]
[tool.poetry]
name
=
"duniterpy"
version
=
"0.5
6
.0"
version
=
"0.5
7
.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>"
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment