Skip to content

Commit

Permalink
Merge pull request #40 from codePerfectPlus/patch-1
Browse files Browse the repository at this point in the history
fixing miner bugs
  • Loading branch information
DrakeEntity authored Oct 29, 2022
2 parents 26ead9e + 0b1f2c0 commit d10d121
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 19 deletions.
43 changes: 30 additions & 13 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,26 +1,43 @@
from datetime import datetime

project = 'audiobook'
copyright = '2022, Deeapk Raj'

project = 'Random Profile Generator'
description = 'A random profile generator for testing purposes.'
author = 'Deeapk Raj'
release = '2.0.4'
release = '0.2.3'
year = datetime.now().year
copyright = "{} Deepak Raj".format(year)
source_suffix = ".rst"
source_encoding = "utf-8-sig"

master_doc = "index"
templates_path = ['_templates']
html_static_path = ['_static']
releases_github_path = "Py-Contributors/RandomProfileGenerator"

extensions = [
'sphinx.ext.autosectionlabel'
]

releases_github_path = "Py-Contributors/RandomProfileGenerator"

autosectionlabel_prefix_document = True

templates_path = ['_templates']
source_suffix = ".rst"
master_doc = "index"
year = datetime.now().year
copyright = "{} Deepak Raj".format(year)

html_theme = 'sphinx_rtd_theme' # 'pydata_sphinx_theme' 'alabaster'

html_static_path = ['_static']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '.venv']
html_sidebars = { '**': ['globaltoc.html', 'relations.html', 'sourcelink.html', 'searchbox.html'] }
html_sidebars = {'**': ['globaltoc.html', 'relations.html', 'sourcelink.html', 'searchbox.html']}

rst_epilog = """
.. |project| replace:: Random Profile Generator
.. |copyright| replace:: Copyright © {} Deepak Raj
.. | community | replace:: `Py-Contributors <https://github.com/py-contributors/>`_
""".format(year)

# epub settings
epub_basename = project
epub_theme = 'epub'
epub_description = description
epub_author = author
epub_contributor = 'Py-Contributors'
epub_language = 'en'
epub_publisher = 'Py-Contributors'
epub_copyright = copyright
8 changes: 4 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ Welcome to RandomProfileGenerator's documentation!

|PyPI download month|

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

|PyPI version fury.io|

.. |PyPI version fury.io| image:: https://badge.fury.io/py/RandomProfileGenerator.svg
:target: https://pypi.python.org/pypi/RandomProfileGenerator/
.. |PyPI version fury.io| image:: https://badge.fury.io/py/random_profile.svg
:target: https://pypi.python.org/pypi/random_profile/

|Open Source Love svg3|

Expand Down
5 changes: 3 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
sphinx
livereload
sphinx-rtd-theme
pydata_sphinx_theme

#livereload
#pydata_sphinx_theme

0 comments on commit d10d121

Please sign in to comment.