diff options
| author | Simeon Simeonov | 2023-01-05 23:36:20 +0100 |
|---|---|---|
| committer | Simeon Simeonov | 2023-01-05 23:36:20 +0100 |
| commit | b8fa40b48feb8709d27b1c50f1ea6be2ce081692 (patch) | |
| tree | 8c4fc6578e363659c57bd8c9841edb73e95e6035 | |
| parent | c2f78419b242df9a4872905d41332e5ea9fcfdb6 (diff) | |
Update setup.cfg and releasev1.2.0
| -rw-r--r-- | setup.cfg | 4 | ||||
| -rw-r--r-- | sphinx_conf.py | 62 |
2 files changed, 9 insertions, 57 deletions
| @@ -13,12 +13,12 @@ classifiers = | |||
| 13 | Intended Audience :: Developers | 13 | Intended Audience :: Developers |
| 14 | License :: OSI Approved :: BSD License | 14 | License :: OSI Approved :: BSD License |
| 15 | Programming Language :: Python :: 3 | 15 | Programming Language :: Python :: 3 |
| 16 | Programming Language :: Python :: 3.6 | ||
| 17 | Programming Language :: Python :: 3.7 | 16 | Programming Language :: Python :: 3.7 |
| 18 | Programming Language :: Python :: 3.8 | 17 | Programming Language :: Python :: 3.8 |
| 19 | Programming Language :: Python :: 3.9 | 18 | Programming Language :: Python :: 3.9 |
| 20 | Programming Language :: Python :: 3.10 | 19 | Programming Language :: Python :: 3.10 |
| 21 | Programming Language :: Python :: 3.11 | 20 | Programming Language :: Python :: 3.11 |
| 21 | Programming Language :: Python :: 3.12 | ||
| 22 | Programming Language :: Python :: Implementation | 22 | Programming Language :: Python :: Implementation |
| 23 | Operating System :: OS Independent | 23 | Operating System :: OS Independent |
| 24 | Topic :: Security :: Cryptography | 24 | Topic :: Security :: Cryptography |
| @@ -32,7 +32,7 @@ project_urls = | |||
| 32 | package_dir = | 32 | package_dir = |
| 33 | = src | 33 | = src |
| 34 | packages = find: | 34 | packages = find: |
| 35 | python_requires = >=3.6 | 35 | python_requires = >=3.7 |
| 36 | 36 | ||
| 37 | [options.packages.find] | 37 | [options.packages.find] |
| 38 | where = src | 38 | where = src |
diff --git a/sphinx_conf.py b/sphinx_conf.py index f9f0eca..7d02133 100644 --- a/sphinx_conf.py +++ b/sphinx_conf.py | |||
| @@ -1,87 +1,39 @@ | |||
| 1 | # Configuration file for the Sphinx documentation builder. | 1 | # Configuration file for the Sphinx documentation builder. |
| 2 | # | 2 | # |
| 3 | # This file only contains a selection of the most common options. For a full | 3 | # For the full list of built-in configuration values, see the documentation: |
| 4 | # list see the documentation: | 4 | # https://www.sphinx-doc.org/en/master/usage/configuration.html |
| 5 | # http://www.sphinx-doc.org/en/master/config | ||
| 6 | |||
| 7 | # -- Path setup -------------------------------------------------------------- | ||
| 8 | |||
| 9 | # If extensions (or modules to document with autodoc) are in another directory, | ||
| 10 | # add these directories to sys.path here. If the directory is relative to the | ||
| 11 | # documentation root, use os.path.abspath to make it absolute, like shown here. | ||
| 12 | # | ||
| 13 | # import os | ||
| 14 | # import sys | ||
| 15 | # sys.path.insert( | ||
| 16 | # 0, | ||
| 17 | # '/home/sgs/development/gitprogs/python/pyotp2289/src/otp2289', | ||
| 18 | # ) | ||
| 19 | |||
| 20 | 5 | ||
| 21 | # -- Project information ----------------------------------------------------- | 6 | # -- Project information ----------------------------------------------------- |
| 7 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information | ||
| 22 | 8 | ||
| 23 | project = 'pyotp2289' | 9 | project = 'pyotp2289' |
| 24 | copyright = '2020-2023, Simeon Simeonov' | 10 | copyright = '2020-2023, Simeon Simeonov' |
| 25 | author = 'Simeon Simeonov' | 11 | author = 'Simeon Simeonov' |
| 26 | 12 | ||
| 27 | # The short X.Y version | ||
| 28 | version = '1.2.0' | 13 | version = '1.2.0' |
| 29 | |||
| 30 | # The full version, including alpha/beta/rc tags | ||
| 31 | release = '1.2.0' | 14 | release = '1.2.0' |
| 32 | 15 | ||
| 33 | |||
| 34 | # -- General configuration --------------------------------------------------- | 16 | # -- General configuration --------------------------------------------------- |
| 17 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration | ||
| 35 | 18 | ||
| 36 | # Add any Sphinx extension module names here, as strings. They can be | ||
| 37 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom | ||
| 38 | # ones. | ||
| 39 | extensions = [ | 19 | extensions = [ |
| 40 | 'sphinx.ext.autodoc', | 20 | 'sphinx.ext.autodoc', |
| 41 | 'sphinx.ext.viewcode', | 21 | 'sphinx.ext.viewcode', |
| 42 | 'sphinx.ext.todo', | 22 | 'sphinx.ext.todo', |
| 43 | ] | 23 | ] |
| 44 | 24 | ||
| 45 | # Add any paths that contain templates here, relative to this directory. | ||
| 46 | templates_path = ['_templates'] | 25 | templates_path = ['_templates'] |
| 47 | |||
| 48 | # The suffix(es) of source filenames. | ||
| 49 | # You can specify multiple suffix as a list of string: | ||
| 50 | # | ||
| 51 | source_suffix = ['.rst', '.md'] | ||
| 52 | |||
| 53 | # The language for content autogenerated by Sphinx. Refer to documentation | ||
| 54 | # for a list of supported languages. | ||
| 55 | # | ||
| 56 | # This is also used if you do content translation via gettext catalogs. | ||
| 57 | # Usually you set "language" from the command line for these cases. | ||
| 58 | language = 'en' | ||
| 59 | |||
| 60 | # List of patterns, relative to source directory, that match files and | ||
| 61 | # directories to ignore when looking for source files. | ||
| 62 | # This pattern also affects html_static_path and html_extra_path. | ||
| 63 | exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] | 26 | exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 64 | 27 | ||
| 28 | language = 'en' | ||
| 65 | 29 | ||
| 66 | # -- Options for HTML output ------------------------------------------------- | 30 | # -- Options for HTML output ------------------------------------------------- |
| 31 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output | ||
| 67 | 32 | ||
| 68 | # The theme to use for HTML and HTML Help pages. See the documentation for | ||
| 69 | # a list of builtin themes. | ||
| 70 | # | ||
| 71 | html_theme = 'nature' | 33 | html_theme = 'nature' |
| 72 | |||
| 73 | # Add any paths that contain custom static files (such as style sheets) here, | ||
| 74 | # relative to this directory. They are copied after the builtin static files, | ||
| 75 | # so a file named "default.css" will overwrite the builtin "default.css". | ||
| 76 | html_static_path = ['_static'] | 34 | html_static_path = ['_static'] |
| 77 | 35 | ||
| 78 | |||
| 79 | # -- Extension configuration ------------------------------------------------- | ||
| 80 | |||
| 81 | # -- Options for todo extension ---------------------------------------------- | 36 | # -- Options for todo extension ---------------------------------------------- |
| 37 | # https://www.sphinx-doc.org/en/master/usage/extensions/todo.html#configuration | ||
| 82 | 38 | ||
| 83 | # If true, `todo` and `todoList` produce output, else they produce nothing. | ||
| 84 | todo_include_todos = True | 39 | todo_include_todos = True |
| 85 | |||
| 86 | # Generated by running: sphinx-apidoc with: | ||
| 87 | # -P -F -o html -H pyotp2289 -A "Simeon Simeonov" -V "1.1.0" otp2289 | ||
