Skip to content

Commit

Permalink
Release 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
madTeddy committed May 20, 2021
1 parent eb4d5a7 commit e7a1642
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 15 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -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
Expand Down
15 changes: 8 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -10,28 +9,30 @@
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 = '[email protected]',
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',
],
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'
]
)
6 changes: 3 additions & 3 deletions sphinxsharp-pro/locales/ru/LC_MESSAGES/sphinxsharp.po
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# TRANSLATE FILE FOR SPHINXSHARP EXTENSION.
# Copyright (C) 2019 MADTEDDY
# ANDREY MIGNEVICH <[email protected]>, 2019.
# Copyright (C) 2021 MADTEDDY
# ANDREY MIGNEVICH <[email protected]>, 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 <[email protected]>\n"
"MIME-Version: 1.0\n"
Expand Down
8 changes: 4 additions & 4 deletions sphinxsharp-pro/sphinxsharp.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Sphinxsharp Pro (with custom styling)
:copyright: Copyright 2019 by MadTeddy
:copyright: Copyright 2021 by MadTeddy
"""

import re
Expand Down Expand Up @@ -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,
}

0 comments on commit e7a1642

Please sign in to comment.