Skip to content

Commit a21e2aa

Browse files
Merge pull request #5 from matheusfelipeog/feat/integration-of-readthedocs-config
Integration of readthedocs config file
2 parents c0033f7 + 7ef287a commit a21e2aa

File tree

3 files changed

+27
-5
lines changed

3 files changed

+27
-5
lines changed

.readthedocs.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# .readthedocs.yml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Select the Docker image used for building the docs.
9+
build:
10+
image: latest
11+
12+
# Build documentation in the docs/ directory with Sphinx
13+
sphinx:
14+
builder: html
15+
configuration: docs/source/conf.py
16+
fail_on_warning: true
17+
18+
# Build all formats (htmlzip, pdf and epub)
19+
formats: all
20+
21+
# Configure python for install requirements
22+
python:
23+
version: 3.8
24+
install:
25+
- requirements: docs/docs_requirements.txt

docs/docs_requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
requests-html==0.10.0

worldometer/core.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,7 @@
136136

137137

138138
class Worldometer(object):
139-
"""
140-
Worldometer Class
141-
-----------------
142-
143-
This is the core class of the worldometer module.
139+
"""This is the core class of the worldometer module.
144140
145141
All functions/methods of the worldometer module use
146142
this class to build a Worldometer Object to access the collected data.

0 commit comments

Comments
 (0)