|
1 | | -# Copyright (c) 2012-2024, Cenobit Technologies, Inc. http://cenobit.es/ |
| 1 | +# Copyright (c) 2012-2025, Cenobit Technologies, Inc. http://cenobit.es/ |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
|
27 | 27 | from pallets_sphinx_themes import ProjectLink, get_version |
28 | 28 |
|
29 | 29 | project = 'Flask-JSONRPC' |
30 | | -copyright = '2021-2024, Nycholas de Oliveira e Oliveira' |
| 30 | +copyright = '2021-2025, Cenobit Technologies, Inc. http://cenobit.es/' |
31 | 31 | author = 'Nycholas de Oliveira e Oliveira' |
32 | 32 | release, version = get_version('Flask-JSONRPC') |
33 | 33 |
|
34 | | -master_doc = 'index' |
35 | 34 | default_role = 'code' |
36 | 35 | extensions = [ |
37 | 36 | 'sphinx.ext.autodoc', |
38 | 37 | 'sphinx.ext.extlinks', |
39 | 38 | 'sphinx.ext.intersphinx', |
| 39 | + 'sphinx.ext.autosummary', |
| 40 | + 'sphinx.ext.viewcode', |
| 41 | + 'sphinx.ext.napoleon', |
40 | 42 | 'sphinxcontrib.log_cabinet', |
41 | 43 | 'sphinx_tabs.tabs', |
| 44 | + # 'sphinx_autodoc_typehints', |
42 | 45 | 'pallets_sphinx_themes', |
43 | 46 | ] |
44 | 47 | autodoc_member_order = 'bysource' |
|
50 | 53 | extlinks = { |
51 | 54 | 'issue': ('https://github.com/cenobites/flask-jsonrpc/issues/%s', '#%s'), |
52 | 55 | 'pr': ('https://github.com/cenobites/flask-jsonrpc/pull/%s', '#%s'), |
| 56 | + 'ghsa': ('https://github.com/cenobites/flask-jsonrpc/security/advisories/GHSA-%s', 'GHSA-%s'), |
53 | 57 | } |
54 | 58 | intersphinx_mapping = { |
55 | 59 | 'python': ('https://docs.python.org/3/', None), |
|
73 | 77 | } |
74 | 78 | singlehtml_sidebars = {'index': ['project.html', 'localtoc.html', 'ethicalads.html']} |
75 | 79 | html_static_path = ['_static'] |
76 | | -# html_favicon = '_static/flask-jsonrpc-icon.png' |
77 | | -# html_logo = '_static/flask-jsonrpc-icon.png' |
| 80 | +html_favicon = '_static/flask-jsonrpc-icon.svg' |
| 81 | +html_logo = '_static/flask-jsonrpc-icon.svg' |
78 | 82 | html_title = f'Flask-JSONRPC Documentation ({version})' |
79 | 83 | html_show_sourcelink = False |
80 | 84 |
|
81 | | -latex_documents = [(master_doc, f'Flask-JSONRPC-{version}.tex', html_title, author, 'manual')] |
| 85 | +gettext_uuid = True |
| 86 | +gettext_compact = False |
| 87 | +autosummary_generate = True |
| 88 | +napoleon_google_docstring = True |
| 89 | +add_module_names = False |
0 commit comments