Skip to content

Commit

Permalink
Cleanup docs generation a litte bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Delgan committed Jun 18, 2022
1 parent 5c8b925 commit 17f6b82
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 12 deletions.
4 changes: 3 additions & 1 deletion docs/_static/css/loguru.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.wy-nav-content {
padding: 2.05em;
/* By default it's hardcoded to 800px.
We increase it a bit so code source fits without horizontal scrolling. */
max-width: 850px;
}
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,4 @@

def setup(app):
app.add_css_file("css/loguru.css")
app.add_js_file("js/coppybutton.js")
app.add_js_file("js/copybutton.js")
25 changes: 15 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,25 @@
],
extras_require={
"dev": [
"black>=19.10b0 ; python_version>='3.6'",
"colorama>=0.3.4",
"docutils==0.16",
"flake8>=3.7.7",
"freezegun==1.1.0",
"isort>=5.1.1 ; python_version>='3.6'",
"mypy>=v0.910",
# Setup.
"tox>=3.9.0",
# Testing framework.
"pytest>=4.6.2",
"pytest-cov>=2.7.1",
"pytest-mypy-plugins>=1.2.0 ; python_version>='3.6'",
"Sphinx>=4.1.1 ; python_version>='3.6'",
"sphinx-autobuild>=0.7.1 ; python_version>='3.6'",
"sphinx-rtd-theme>=0.4.3 ; python_version>='3.6'",
# Testing utils.
"colorama>=0.3.4",
"freezegun==1.1.0",
"mypy>=v0.910",
# Linting.
"black>=19.10b0 ; python_version>='3.6'",
"isort>=5.1.1 ; python_version>='3.6'",
"flake8>=3.7.7",
# Docs.
"Sphinx==5.0.1 ; python_version>='3.6'",
"sphinx-autobuild==2021.3.14 ; python_version>='3.6'",
"sphinx-rtd-theme==1.0.0 ; python_version>='3.6'",
"docutils==0.16",
]
},
python_requires=">=3.5",
Expand Down

0 comments on commit 17f6b82

Please sign in to comment.