Skip to content

Commit d10d121

Browse files
authored
Merge pull request #40 from codePerfectPlus/patch-1
fixing miner bugs
2 parents 26ead9e + 0b1f2c0 commit d10d121

3 files changed

Lines changed: 37 additions & 19 deletions

File tree

docs/conf.py

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,43 @@
11
from datetime import datetime
22

3-
project = 'audiobook'
4-
copyright = '2022, Deeapk Raj'
3+
4+
project = 'Random Profile Generator'
5+
description = 'A random profile generator for testing purposes.'
56
author = 'Deeapk Raj'
6-
release = '2.0.4'
7+
release = '0.2.3'
8+
year = datetime.now().year
9+
copyright = "{} Deepak Raj".format(year)
10+
source_suffix = ".rst"
11+
source_encoding = "utf-8-sig"
12+
13+
master_doc = "index"
14+
templates_path = ['_templates']
15+
html_static_path = ['_static']
16+
releases_github_path = "Py-Contributors/RandomProfileGenerator"
717

818
extensions = [
919
'sphinx.ext.autosectionlabel'
1020
]
1121

12-
releases_github_path = "Py-Contributors/RandomProfileGenerator"
13-
1422
autosectionlabel_prefix_document = True
1523

16-
templates_path = ['_templates']
17-
source_suffix = ".rst"
18-
master_doc = "index"
19-
year = datetime.now().year
20-
copyright = "{} Deepak Raj".format(year)
21-
2224
html_theme = 'sphinx_rtd_theme' # 'pydata_sphinx_theme' 'alabaster'
2325

24-
html_static_path = ['_static']
2526
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '.venv']
26-
html_sidebars = { '**': ['globaltoc.html', 'relations.html', 'sourcelink.html', 'searchbox.html'] }
27+
html_sidebars = {'**': ['globaltoc.html', 'relations.html', 'sourcelink.html', 'searchbox.html']}
28+
29+
rst_epilog = """
30+
.. |project| replace:: Random Profile Generator
31+
.. |copyright| replace:: Copyright © {} Deepak Raj
32+
.. | community | replace:: `Py-Contributors <https://github.com/py-contributors/>`_
33+
""".format(year)
34+
35+
# epub settings
36+
epub_basename = project
37+
epub_theme = 'epub'
38+
epub_description = description
39+
epub_author = author
40+
epub_contributor = 'Py-Contributors'
41+
epub_language = 'en'
42+
epub_publisher = 'Py-Contributors'
43+
epub_copyright = copyright

docs/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ Welcome to RandomProfileGenerator's documentation!
1010

1111
|PyPI download month|
1212

13-
.. |PyPI download month| image:: https://img.shields.io/pypi/dm/RandomProfileGenerator.svg
14-
:target: https://pypi.python.org/pypi/RandomProfileGenerator/
13+
.. |PyPI download month| image:: https://img.shields.io/pypi/dm/random_profile.svg
14+
:target: https://pypi.python.org/pypi/random_profile/
1515

1616
|PyPI version fury.io|
1717

18-
.. |PyPI version fury.io| image:: https://badge.fury.io/py/RandomProfileGenerator.svg
19-
:target: https://pypi.python.org/pypi/RandomProfileGenerator/
18+
.. |PyPI version fury.io| image:: https://badge.fury.io/py/random_profile.svg
19+
:target: https://pypi.python.org/pypi/random_profile/
2020

2121
|Open Source Love svg3|
2222

docs/requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
sphinx
2-
livereload
32
sphinx-rtd-theme
4-
pydata_sphinx_theme
3+
4+
#livereload
5+
#pydata_sphinx_theme

0 commit comments

Comments
 (0)