From e7a164214113cef33bca96e9fbbab3feafe16823 Mon Sep 17 00:00:00 2001 From: madTeddy Date: Thu, 20 May 2021 19:51:41 +0300 Subject: [PATCH] Release 1.0.2 --- LICENSE | 2 +- README.md | 1 + README.rst | 4 ++++ setup.py | 15 ++++++++------- .../locales/ru/LC_MESSAGES/sphinxsharp.po | 6 +++--- sphinxsharp-pro/sphinxsharp.py | 8 ++++---- 6 files changed, 21 insertions(+), 15 deletions(-) diff --git a/LICENSE b/LICENSE index b38850d..8bd7e7c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019 MadTeddy +Copyright (c) 2021 MadTeddy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index d14b0fe..fdb773a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Sphinxsharp Pro +[![PyPI version](https://badge.fury.io/py/sphinxsharp-pro.svg)](https://badge.fury.io/py/sphinxsharp-pro) [![Documentation Status](https://readthedocs.org/projects/sphinxsharp-docs/badge/?version=latest)](https://sphinxsharp-docs.readthedocs.io/en/latest/?badge=latest) CSharp (C#) domain for Sphinx diff --git a/README.rst b/README.rst index 146f8d9..bd21f29 100644 --- a/README.rst +++ b/README.rst @@ -1,3 +1,7 @@ +.. image:: https://badge.fury.io/py/sphinxsharp-pro.svg + :target: https://badge.fury.io/py/sphinxsharp-pro + :alt: PyPI Version + .. image:: https://readthedocs.org/projects/sphinxsharp-docs/badge/?version=latest :target: https://sphinxsharp-docs.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status diff --git a/setup.py b/setup.py index 22339bd..4555218 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,5 @@ from setuptools import setup from os import path -from glob import glob this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.rst'), encoding='utf-8') as f: @@ -10,15 +9,15 @@ name = 'sphinxsharp-pro', packages = ['sphinxsharp-pro'], include_package_data=True, - version = '1.0.1', + version = '1.0.2', license='MIT', description = 'CSharp (C#) domain for sphinx.', long_description=long_description, author = 'Andrey Mignevich', author_email = 'andrey.mignevich@gmail.com', url = 'https://github.com/madTeddy/sphinxsharp-pro', - download_url = 'https://github.com/madTeddy/sphinxsharp-pro/archive/v1.0.1.tar.gz', - keywords = ['Sphinx','Domain','CSharp','C#','Sphinxsharp','Sphinxsharp Pro'], + download_url = 'https://github.com/madTeddy/sphinxsharp-pro/archive/refs/tags/v1.0.2.tar.gz', + keywords = ['Documentation','Sphinx','Domain','CSharp','C#','Sphinxsharp','Sphinxsharp Pro'], install_requires=[ 'docutils', 'sphinx', @@ -26,12 +25,14 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', - 'Topic :: Software Development :: Build Tools', + 'Topic :: Documentation :: Sphinx', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7' - ], + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9' + ] ) \ No newline at end of file diff --git a/sphinxsharp-pro/locales/ru/LC_MESSAGES/sphinxsharp.po b/sphinxsharp-pro/locales/ru/LC_MESSAGES/sphinxsharp.po index bf4c716..62f0c62 100644 --- a/sphinxsharp-pro/locales/ru/LC_MESSAGES/sphinxsharp.po +++ b/sphinxsharp-pro/locales/ru/LC_MESSAGES/sphinxsharp.po @@ -1,10 +1,10 @@ # TRANSLATE FILE FOR SPHINXSHARP EXTENSION. -# Copyright (C) 2019 MADTEDDY -# ANDREY MIGNEVICH , 2019. +# Copyright (C) 2021 MADTEDDY +# ANDREY MIGNEVICH , 2021. # msgid "" msgstr "" -"Project-Id-Version: 1.0.1\n" +"Project-Id-Version: 1.0.2\n" "POT-Creation-Date: 2019-04-06 22:07+0300\n" "Last-Translator: ANDREY MIGNEVICH \n" "MIME-Version: 1.0\n" diff --git a/sphinxsharp-pro/sphinxsharp.py b/sphinxsharp-pro/sphinxsharp.py index dc742f7..81feb43 100644 --- a/sphinxsharp-pro/sphinxsharp.py +++ b/sphinxsharp-pro/sphinxsharp.py @@ -4,7 +4,7 @@ Sphinxsharp Pro (with custom styling) - :copyright: Copyright 2019 by MadTeddy + :copyright: Copyright 2021 by MadTeddy """ import re @@ -897,16 +897,16 @@ def setup(app): package_dir = path.abspath(path.dirname(__file__)) app.add_domain(CSharpDomain) - app.add_stylesheet('sphinxsharp.css') + app.add_css_file('sphinxsharp.css') override_file = path.join(app.confdir, '_static/sphinxsharp-override.css') if path.exists(override_file): - app.add_stylesheet('sphinxsharp-override.css') + app.add_css_file('sphinxsharp-override.css') CSNodes.add_nodes(app) locale_dir = path.join(package_dir, 'locales') app.add_message_catalog('sphinxsharp', locale_dir) return { - 'version': '1.0.1', + 'version': '1.0.2', 'parallel_read_safe': True, 'parallel_write_safe': True, }