Skip to content

Commit

Permalink
Исправлено ReadMe доков
Browse files Browse the repository at this point in the history
  • Loading branch information
K1llMan committed May 9, 2023
1 parent 16b41da commit c39f1c4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
18 changes: 9 additions & 9 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
sys.path.insert(0, os.path.abspath('../..'))

# Copy resources
def copy_resources(app, docname):
if app.builder.name == 'html':
output_dir = os.path.join(app.outdir, 'src', 'Resources')
source_dir = os.path.join(app.srcdir, '..', '..', 'src', 'Resources')
if not os.path.exists(output_dir):
shutil.copytree(source_dir, output_dir)

def setup(app):
app.connect('build-finished', copy_resources)
# def copy_resources(app, docname):
# if app.builder.name == 'html':
# output_dir = os.path.join(app.outdir, 'src', 'Resources')
# source_dir = os.path.join(app.srcdir, '..', '..', 'src', 'Resources')
# if not os.path.exists(output_dir):
# shutil.copytree(source_dir, output_dir)
#
# def setup(app):
# app.connect('build-finished', copy_resources)

master_doc = 'index'

Expand Down
2 changes: 2 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@
:parser: myst_parser.sphinx_

.. toctree::
:hidden:

api/api
client/client
4 changes: 2 additions & 2 deletions docs/source/readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img width="48" height="48" src="src/Resources/icon.png"> Yandex.Music API (Unofficial) for .Net
# Yandex.Music API (Unofficial) for .Net

[![Nuget](https://img.shields.io/nuget/v/KM.Yandex.Music.Api?label=KM.Yandex.Music.Api)](https://www.nuget.org/packages/KM.Yandex.Music.Api/)
[![Nuget](https://img.shields.io/nuget/v/KM.Yandex.Music.Client?label=KM.Yandex.Music.Client)](https://www.nuget.org/packages/KM.Yandex.Music.Client/)
Expand All @@ -14,5 +14,5 @@ API переделано под работу с API официального п
```{include} ../../CHANGELOG.md
```

## LICENCE
# LICENCE
[GNU General Public License v3.0](https://github.com/K1llMan/Yandex.Music.Api/blob/master/LICENSE)

0 comments on commit c39f1c4

Please sign in to comment.